Generations
Create a generation
Changed onSubmit an image or video generation job. Returns immediately with an opaque job ID to poll via GET /generations/{id}.
post/generations
Request
- Base URL: https://agents.lumalabs.ai/v1
- URL: https://agents.lumalabs.ai/v1/generations
- Auth: HTTP bearer
Request body
Example request
{
"prompt": "A glass of iced coffee on a marble countertop, morning light streaming through a window"
}Response
Generation submitted
Changes
- warning
added the new
layeringenum value to theresponse property for the response status - info
added the new optional request property
- info
added the new
layeringenum value to the request property - info
added the optional property
//to the response with the status
- warning
- info
the
request property's minLength was decreased from1to0
- info