IP consistency animation

Updated at:
Copy as MD

Request syntax

POST /scc/comfy_prompt

Request headers

Parameter

Type

Description

X-SP-RESOURCE-CONFIG-ID

string

The resource pool configuration ID. This parameter is optional.

Request parameters

Parameter

Type

Description

workflow_id

string

The workflow ID. Must be ip_consistency.

version_id

string

The workflow version. Must be v1.

inputs

object

An object that contains the generation parameters.

image

string

The URL or Base64-encoded string of the input image.

ckpt_name

string

The model name.

width

int

The width of the output image in pixels. Default: 512.

height

int

The height of the output image in pixels. Default: 512.

cfg

double

The Classifier-Free Guidance (CFG) scale, which controls how closely the output image follows the prompt. Default: 5.

seed

int

The random seed used for generation. Specifying a seed ensures reproducible results.

safe_confidence_level

int

The image content safety confidence level. 0 indicates complete trust, and 100 indicates no trust. The default value is 0. Valid values: 0 to 100.

photo_safe_check

bool

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

steps

int

The number of inference steps.

positive

string

The positive prompt, which describes the desired image content.

negative

string

The negative prompt, which describes content to exclude from the image.

denoise

double

The denoising strength. Default: 1.0. Maximum: 1.0.

Response body

Parameter

Type

Description

taskId

string

The image generation task ID.

status

string

The task status. Valid values: succeeded, failed, running, or waiting.