ExtendVideo
Official Documentation: https://docs.lumalabs.ai/docs/video-generation
Endpoint
POST http://v98store.com/luma/generations/{task_id}/extend cURL Command
curl -X POST 'http://v98store.com/luma/generations/{task_id}/extend' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "user_prompt": "add cat", "expand_prompt": true }' Parameters
| Name | In | Description | Required |
|---|---|---|---|
| task_id | path | task id forneed要延长 视频任务id | Yes |
| Content-Type | header | Yes | |
| Accept | header | Yes | |
| Authorization | header | Yes |
Request Body
Example
{
"user_prompt": "add cat",
"expand_prompt": true
} Responses
200 -
Example
{
"id": "749d328e-4fd0-43a8-8c89-32394d60da69",
"prompt": "",
"state": "pending",
"queue_state": null,
"created_at": "2024-12-22T14:48:39.947851Z",
"batch_id": "",
"video": null,
"video_raw": null,
"liked": null,
"estimate_wait_seconds": null,
"thumbnail": null,
"last_frame": null
}