Comics and illustrations

更新时间:
复制 MD 格式

Request syntax

POST /scc/comfy_prompt

Request headers

Name

Type

Description

X-SP-RESOURCE-CONFIG-ID

string

The resource pool configuration ID. This parameter is optional.

Request parameters

Name

Type

Description

workflow_id

string

The workflow ID. Static field: cartoon_comic.

version_id

string

The workflow version number. Static field: v1.

inputs

object

The prompt information.

seed

integer

The random seed.

steps

integer

The number of steps.

cfg

double

Default: 1.5.

denoise

double

Default: 1. Maximum: 1.

negative

string

The negative prompt.

prompt

string

The positive prompt.

width

integer

The width.

height

integer

The height.

safe_confidence_level

integer

The confidence level for image Content Moderation. A value of 0 indicates complete trust, and a value of 100 indicates complete distrust. The default is 0.

photo_safe_check

bool

Enables or disables the image safety check. Default: true.

text_safe_check

bool

Enables or disables the text safety check. Default: true.

  • Recommended image dimensions include 768 × 960, 768 × 1024, 1024 × 1024, 1024 × 1280, and 768 × 1280.

data parameter

Name

Type

Description

taskId

string

The image generation task ID.

status

string

The status of the task. Valid values: `succeeded`, `failed`, `running`, and `waiting`.