提交视频生成任务
概览
- 方法: POST
- 地址: https://api.winfull.cloud-ip.cc/runwayml/v1/image_to_video
- 简介: 官方文档:https://docs.dev.runwayml.com/api/#tag/Start-generating/paths/~1v1~1image_to_video/post
认证
- Header: Authorization: Bearer
<token>
请求参数
- Header: Authorization: Bearer
<token> - Body 类型: application/json
{
"promptImage": "https://www.bt.cn/bbs/template/qiao/style/image/btlogo.png",
"model": "gen4_turbo",
"promptText": "cat dance",
"watermark": false,
"duration": 5,
"ratio": "1280:768"
}请求示例
curl --location --request POST 'https://api.winfull.cloud-ip.cc/runwayml/v1/image_to_video' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"promptImage": "https://www.bt.cn/bbs/template/qiao/style/image/btlogo.png",
"model": "gen4_turbo",
"promptText": "cat dance",
"watermark": false,
"duration": 5,
"ratio": "1280:768"
}'返回示例
🟢200成功 示例
{
"id": "4665a07c-7641-4809-a133-10786201bb56",
"prompt": "",
"state": "pending",
"queue_state": null,
"created_at": "2024-12-22T13:38:40.139409Z",
"batch_id": "",
"video": null,
"video_raw": null,
"liked": null,
"estimate_wait_seconds": null,
"thumbnail": null,
"last_frame": null
}最后更新:2025-08-01 02:34:18
