CreateComfyWorkflow
Uploads a Comfy workflow.
Operation description
You must enable the on-demand screenshot feature in the associated screenshot template in advance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vs:CreateComfyWorkflow |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the workflow. |
Sample image-to-video workflow |
| Description |
string |
No |
The description of the workflow. |
This is an image-to-video workflow |
| Workflow |
string |
Yes |
The workflow JSON. |
{} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
BEA5625F-8FCF-48F4-851B-CA63946DA664 |
| Code |
integer |
The internal error code. |
200 |
| Message |
string |
The description. If Status is Failed, it includes the cause of the failure. |
conn failed! |
| WorkflowId |
string |
The workflow ID. |
wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5c |
| Status |
string |
The workflow status. |
on |
| MissingNodes |
array |
The list of missing nodes. |
|
|
string |
The node name. |
{} |
Examples
Success response
JSON format
{
"RequestId": "BEA5625F-8FCF-48F4-851B-CA63946DA664",
"Code": 200,
"Message": "conn failed!",
"WorkflowId": "wf_adb32aed-ccdc-42ae-b4d4-a21181ac8a5c",
"Status": "on",
"MissingNodes": [
"{}"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.