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

NameInDescriptionRequired
task_idpathtask id forneed要延长 视频任务idYes
Content-TypeheaderYes
AcceptheaderYes
AuthorizationheaderYes

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
}