curl --request POST \
--url https://api.omniall.ai/v1/task/submit \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "gen4_turbo",
"input": {
"promptText": "一只猫在雨中行走",
"ratio": "1280:720",
"duration": 5
}
}
'
{
"id": "task_xxxxxxxxxxxxxxx",
"status": "pending",
"created_at": 1743724770
}[推荐]统一任务格式
创建任务
提交 Runway 任务(文生 / 图生 / 视频生视频)。
路径: POST https://api.omniall.ai/v1/task/submit
也可用 POST /runway/v1/task/submit。请求体:model + input。
同一接口、不同用例: 文生视频 · 图生视频 · 视频生视频 — 在下方示例中切换。
鉴权:Authorization: Bearer sk-...
POST
/
v1
/
task
/
submit
curl --request POST \
--url https://api.omniall.ai/v1/task/submit \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "gen4_turbo",
"input": {
"promptText": "一只猫在雨中行走",
"ratio": "1280:720",
"duration": 5
}
}
'
{
"id": "task_xxxxxxxxxxxxxxx",
"status": "pending",
"created_at": 1743724770
}请求头
Bearer API Key。
示例:
"Bearer sk-..."
请求体
application/json