Generate cartoon profile pictures

更新时间:
复制 MD 格式

Request syntax

POST /scc/comfy_prompt

Request headers

Name

Type

Description

X-SP-RESOURCE-CONFIG-ID

string

The resource pool configuration ID. Optional.

Request parameters

Name

Type

Description

workflow_id

string

The workflow ID. Static field: cartoon_head_img

version_id

string

The workflow version number. Static field: v1

inputs

object

Prompt information.

source_image

string

The URL or Base64 encoding of the image.

safe_confidence_level

integer

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

photo_safe_check

bool

The switch for the image security check. The default value is true.

steps

integer

The number of generation steps.

denoise

double

Denoising strength. The maximum value is 1.

seed

integer

The random seed.

cfg

double

The default value is 1.5.

denoise

double

The default value is 1. The maximum value is 1.

positive

String

The positive prompt.

negative

String

The negative prompt.

data parameters

Name

Type

Description

taskId

string

The ID of the image generation task.

status

string

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