IP consistency animation
Request syntax
POST /scc/comfy_promptRequest 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 | |
version_id | string | The workflow version. Must be | |
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. | |
photo_safe_check | bool | Enables or disables the image safety check. Default: | |
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: |
To query the image generation result, see query image generation result - sd_get_result.