This method of running a workflow is equivalent to pressing the "Run" button without altering any of the original parameters. It is suitable for tasks like drawing random selections.
{
"apiKey": "{{apiKey}}",
"workflowId": "1904136902449209346",
"addMetadata": true
}curl --location --request POST 'https://www.runninghub.ai/task/openapi/create' \
--header 'Host: www.runninghub.ai' \
--header 'Authorization: Bearer [Your API KEY]' \
--header 'Content-Type: application/json' \
--data-raw '{
"apiKey": "Please enter your own apiKey and keep it safe.",
"workflowId": "1904136902449209346",
"addMetadata": true
}'{
"code": 0,
"msg": "success",
"data": {
"netWssUrl": "wss://www.runninghub.cn:443/ws/c_instance?c_host=10.129.240.44&c_port=80&clientId=e825290b08ca2015b8f62f0bbdb5f5f6&workflowId=1904136902449209346&Rh-Comfy-Auth=eyJ1c2VySWQiOiJkZTBkYjZmMjU2NGM4Njk3YjA3ZGY1NWE3N2YwN2JlOSIsInNpZ25FeHBpcmUiOjE3NDM1NjQ2NTQ1NTIsInRzIjoxNzQyOTU5ODU0NTUyLCJzaWduIjoiNjVkMTVhYjA3Njg2MjJlOGM1YzJkNTc2MzQwOWFmYzkifQ%3D%3D&target=https://hbxy.runninghub.cn:11143",
"taskId": "1904737800233889793",
"clientId": "e825290b08ca2015b8f62f0bbdb5f5f6",
"taskStatus": "RUNNING",
"promptTips": "{\"result\": true, \"error\": null, \"outputs_to_execute\": [\"9\"], \"node_errors\": {}}"
}
}