Artistic text integration
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. Set this to the static value `artistic_characters`. | |
version_id | string | The workflow version number. Set this to the static value `v4`. | |
inputs | object | Prompt information. | |
prompt | string | The positive prompt. | |
negative | string | The negative prompt. | |
seed | int | The random seed. | |
steps | int | The number of steps. | |
cfg | double | The default value is 1.5. | |
denoise | double | The default value is 1. The maximum value is 1. | |
control_image | string | The URL or Base64 encoding of the image. | |
canny_strength | float | The ControlNet strength. | |
width | int | The width. | |
height | int | The height. | |
safe_confidence_level | int | The confidence level for image Content Moderation. A value of 0 indicates complete trust. A value of 100 indicates no trust. The default value is 0. | |
Data parameters
Name | Type | Description |
taskId | string | The image generation task ID. |
status | string | The task status. Valid values: `succeeded`, `failed`, `running`, and `waiting`. |
To query the results of the image generation task, see Query image generation results - sd_get_result.