header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
user_prompt
string
required
description of the generate video.
expand_prompt
boolean
required
whether to enhance prompt.
image_url
string
optional
the first frame image url of the video.
image_end_url
string
optional
the lat frame image url of the video.
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":""
}'