Submit Video Generation Task
Official Documentation: https://docs.dev.runwayml.com/api/#tag/Start-generating/paths/~1v1~1image_to_video/post
Endpoint
POST http://v98store.com/runwayml/v1/image_to_video cURL Command
curl -X POST 'http://v98store.com/runwayml/v1/image_to_video' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "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" }' Parameters
| Name | In | Description | Required |
|---|---|---|---|
| Content-Type | header | Yes | |
| Accept | header | Yes | |
| Authorization | header | Yes |
Request Body
Example
{
"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"
} Responses
200 -
Example
{
"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
}