- Quick Start
- OpenAI API
- Midjourney Open API
- About Midjourney and Prices
- Submit Imagine TaskPOST
- Submit Action Task(All associated button actions UPSCALE; VARIATION; REROLL; ZOOM, etc.)POST
- Submit Blend TaskPOST
- Submit Modal TaskPOST
- Submit Describe TaskPOST
- Submit Shorten TaskPOST
- Submit FaceSwap TaskPOST
- Upload Files to DiscordPOST
- Specify ID Query TaskGET
- Specify ID Query Task (fetch)GET
- Specify the ID List Query TaskGET
- Obtain the seed of the Task ImageGET
- Luma video
- Suno Music
- Anthropic Claude
- Flux API
Luma Task Creation
Developing
Main URLs
Main URLs
POST
https://api.maxapi.ai
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
Example:
cat dance
aspect_ratio
string
optional
Example:
16:9
expand_prompt
string
optional
Example:
true
image_url
string
optional
image_end_url
string
optional
notify_hook
string
optional
Example
{
"user_prompt": "cat dance",
"aspect_ratio": "16:9",
"expand_prompt": "true",
"image_url": "http://dummyimage.com/400x400",
"image_end_url": "http://dummyimage.com/400x400",
"notify_hook": "enim"
}
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://api.maxapi.ai/luma/generations' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_prompt": "cat dance",
"aspect_ratio": "16:9",
"expand_prompt": "true",
"image_url": "http://dummyimage.com/400x400",
"image_end_url": "http://dummyimage.com/400x400",
"notify_hook": "enim"
}'
Responses
🟢201Created
application/json
Body
object {0}
Example
{
"id": "9d4b7516-77e5-481a-b015-48313946f33b",
"prompt": "cat dance",
"state": "pending",
"created_at": "2024-07-19T07:35:13.498660Z",
"video": null,
"liked": null,
"estimate_wait_seconds": null
}
Modified at 2024-07-19 16:11:24