{
"user_prompt": "string",
"expand_prompt": true,
"loop": true,
"image_url": "string",
"image_end_url": "string",
"notify_hook": "string",
"resolution": "string",
"duration": "string",
"model_name": "string"
}
curl --location --request POST 'https://xuedingmao.online/luma/generations' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_prompt": "string",
"expand_prompt": true,
"loop": true,
"image_url": "string",
"image_end_url": "string",
"notify_hook": "string",
"resolution": "string",
"duration": "string",
"model_name": "string"
}'
{
"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
}