Create Luma Video
POST
/api/v1/create_luma
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
user_prompt
string
required
expand_prompt
boolean
required
image_url
string
optional
image_end_url
string
optional
Example
{
"user_prompt": "A long exposure shot of a desert landscape under a clear, starry sky, with the Milky Way arching across the horizon, and distant dunes bathed in moonlight.",
"expand_prompt": true,
"image_url": "",
"image_end_url": ""
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://makevid.ai/api/v1/create_luma' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_prompt":"A long exposure shot of a desert landscape under a clear, starry sky, with the Milky Way arching across the horizon, and distant dunes bathed in moonlight.",
"expand_prompt":true,
"image_url":"",
"image_end_url":""
}'
Responses
🟢200Success
application/json
Body
id
string
required
liked
null
required
state
string
required
video
null
required
prompt
string
required
thumbnail
null
required
video_raw
null
required
created_at
string
required
last_frame
null
required
queue_state
null
required
estimate_wait_seconds
null
required
user_id
string
required
batch_id
string
required
pipeline_id
string
required
Example
{
"id": "08eba02a-91c1-48e1-9cbc-9eb91c21c7ce",
"liked": null,
"state": "processing",
"video": null,
"prompt": "camera pull out",
"user_id": "d16aa3f0-b570-4727-8288-27131a3d3f33",
"batch_id": "46fccdf2-04ae-46d6-a042-29aea74de280",
"thumbnail": null,
"video_raw": null,
"created_at": "2024-09-18T18:47:39.965000Z",
"last_frame": null,
"pipeline_id": "V1",
"queue_state": null,
"estimate_wait_seconds": null
}
Modified at 2024-09-24 08:49:00