š New Models Available: grok-4 now live!
ā Explore New Features
{
"callback_url": "http://baidu.com",
"ratio": "16:9",
"prompt": "a cat",
"style": "cinematic",
"model": "gen4",
"options": {
"seconds": 10,
"motion_vector": {
"x": 0,
"y": 0.3999999999999999,
"z": 0,
"r": -6,
"bg_x_pan": 0,
"bg_y_pan": 0
}
}
}
curl --location --request POST 'https://api.cometapi.com/runway/pro/generate' \
--header 'Authorization: Bearer {{api-key}}' \
--header 'X-Runway-Version: 2024-11-06' \
--header 'Content-Type: application/json' \
--data-raw '{
"callback_url": "http://baidu.com",
"ratio": "16:9",
"prompt": "a cat",
"style": "cinematic",
"model": "gen4",
"options": {
"seconds": 10,
"motion_vector": {
"x": 0,
"y": 0.3999999999999999,
"z": 0,
"r": -6,
"bg_x_pan": 0,
"bg_y_pan": 0
}
}
}'
{
"code": 200,
"msg": "succeed",
"data": {
"task_id": "9f6243e5-3ab8-49c3-9c3c-6309ef5c96bd",
"state": "",
"status": "",
"prompt": "",
"prompt_en": null,
"video_url": null,
"poster": null,
"last_frame": null,
"msg": null,
"point": "",
"refund": "",
"create_time": "",
"update_time": ""
},
"exec_time": 20.930577
}