Supports specifying a webhookUrl. You can view a sample nodeInfoList on the AI App details page. Note: The images, videos, and other results generated by calling this API do not contain workflow information.
Request
Authorization
Header Params
Body Params application/json
Example
{"webappId":"1877265245566922753","apiKey":"{{apiKey}}","nodeInfoList":[{"nodeId":"122",c
"fieldName":"prompt","fieldValue":"1 golden haire girl in classroom"}]}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://www.runninghub.ai/task/openapi/ai-app/run' \
--header'Host: www.runninghub.cn' \
--header'Authorization: Bearer [Your API KEY]' \
--header'Content-Type: application/json' \
--data-raw'{
"webappId": "1877265245566922753",
"apiKey": "Please enter your own apiKey and keep it safe.",
"nodeInfoList": [
{
"nodeId": "122",c
"fieldName": "prompt",
"fieldValue": "1 golden haire girl in classroom"
}
]
}'