Build a product sequence for a carousel
List the shots you need before submitting. Vary framing or camera position while keeping the product description consistent. Review all returned images side by side for changes in the mug proportions, handle and background.
This example supplies the optional images field so the sequence can refer to the existing product photograph.
Production settings
max_images sets the upper limit for the sequence. Lay out the carousel after checking how many images were returned. Describe the subject, setting and framing of each intended shot in the same storyboard brief.
Submit the task
Set LUMINA_API_KEY on the server to an API key that can call this model. Replace each example media URL with an HTTPS link that serves the actual file.
curl -sS -X POST 'https://luminaai.cloud/lumina/v1/images/edits' \
-H "Authorization: Bearer $LUMINA_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"model": "seedream-v5.0-lite/edit-sequential",
"prompt": "Create a product carousel featuring the same navy mug. Keep its handle orientation and the background colour consistent. Show the whole mug, a rim detail and a close-up of the handle.",
"images": [
"https://example.org/product.png"
]
}
JSONFields for this request
| Field | Type, limits or values |
|---|---|
| prompt | string |
| images | min items 1 · max items 14 |
| size | 2048*2048 / 2304*1728 / 1728*2304 / 2848*1600 / 1600*2848 / 2496*1664 / 1664*2496 / 3136*1344 / 3072*3072 / 3456*2592 / 2592*3456 / 4096*2304 / 2304*4096 / 2496*3744 / 3744*2496 / 4704*2016 · default "2048*2048" |
| output_format | jpeg / png · default "jpeg" |
| max_images | min 1 · max 15 · default 1 |
Retrieve the result
Save the id from the submission response. Replace TASK_ID below with that value and use the same key. If the status is IN_PROGRESS, poll this task again.
curl -sS 'https://luminaai.cloud/lumina/v1/tasks/TASK_ID' \
-H "Authorization: Bearer $LUMINA_API_KEY"Read the generated files when the task reaches SUCCESS. If it returns FAILURE, retain the task ID and error so you can trace the exact inputs and model used.