High-definition image upscaling

更新时间:
复制 MD 格式

Request syntax

POST /scc/comfy_prompt

Request header

Name

Type

Description

X-SP-RESOURCE-CONFIG-ID

string

Resource pool configuration ID (Optional)

Request parameters

Name

Type

Description

workflow_id

string

Workflow ID. Static field: hd_repair

version_id

string

Workflow version number. Static field: v1

inputs

object

Prompt information

source_image

string

Image URL or Base64 encoding

safe_confidence_level

int

Image Content Moderation confidence level. 0 indicates complete trust. 100 indicates complete distrust. Default: 0

photo_safe_check

bool

Image safety check switch. Default: true

data parameters

Name

Type

Description

taskId

string

Image generation task ID

status

string

Task status. `succeeded`: The task is successful. `failed`: The task failed. `running`: The task is in progress. `waiting`: The task is waiting in a queue.