Submit Video Generation Task

Official Documentation: https://docs.lumalabs.ai/docs/video-generation

Endpoint

POST http://v98store.com/luma/generations

cURL Command

curl -X POST 'http://v98store.com/luma/generations' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "user_prompt": "一阵风吹过树林, enabling女人 面纱微微飘动. ", "model_name": "ray-v2", "duration": "5s", "resolution": "720p" }'

Parameters

NameInDescriptionRequired
Content-TypeheaderYes
AcceptheaderYes
AuthorizationheaderYes

Request Body

Example

{
  "user_prompt": "一阵风吹过树林, enabling女人 面纱微微飘动. ",
  "model_name": "ray-v2",
  "duration": "5s",
  "resolution": "720p"
}

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
}