Match a product across a reference-led shot
Assign a purpose to each reference. Use the front view to check the mark and a side view to check the silhouette. Compare the opening, middle and final frames with those views before approving the shot.
Production settings
When the motion needs to follow existing audio, review the sound and visual references separately and submit each in its matching field. Play the result at normal speed to check the action against the beat.
Supply at least one reference asset. Here the image URLs are in the reference_images array.
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/videos/generations' \
-H "Authorization: Bearer $LUMINA_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"model": "seedance-2.0-mini/reference-to-video",
"reference_images": [
"https://example.org/ref.png"
]
}
JSONFields for this request
| Field | Type, limits or values |
|---|---|
| reference_images | min items 1 · max items 9 |
| duration | 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 · default 5 |
| resolution | 480p / 720p / 720p-SR / 1080p-SR / 1440p-SR · default "720p" |
| generate_audio | default true |
| seed | min -1 · max 4294967295 · 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.