Generate cartoon profile pictures
Request syntax
POST /scc/comfy_promptRequest 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. |
For more information, see Query the image generation task result.