{
"user_prompt": "cat dance",
"aspect_ratio": "16:9",
"expand_prompt": true
}
curl --location --request POST 'https://api.openai-core.com/luma/v1/generations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_prompt": "cat dance",
"aspect_ratio": "16:9",
"expand_prompt": true
}'
{
"batch_id": "3f86837d-69c4-43c4-8e7d-e0772346f420",
"created_at": "2024-10-20T06:41:46.293298Z",
"estimate_wait_seconds": null,
"id": "656f64c3-6903-4171-a2c6-34c6cd6119f7",
"last_frame": null,
"liked": null,
"pipeline_id": "V1.5",
"prompt": "cat dance",
"queue_state": null,
"server_id": "123",
"state": "pending",
"thumbnail": null,
"user_id": "1e75ee66-c774-4ec1-a93b-4bd376cec575",
"video": null,
"video_raw": null
}