Lumina AIModel guides

Seedance 2.5 Flash image-to-video API integration

Add motion to a still product photograph with seedance-2.5-flash/image-to-video. Prepare the assets, submit the request and check the result.

Add motion to a still product photograph

Crop the opening still with room on both sides for the lateral move. Leave a margin around the brand mark. Inspect the first few frames closely for changes to the logo and outline, then play through to check for jumps in the background.

Production settings

For a planned ending composition, compare the opening frame and intended last_image side by side. Check position, orientation and lighting. Test the move on its own before cutting it into the timeline.

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.5-flash/image-to-video",
  "image": "https://example.org/reference.png"
}
JSON

Fields for this request

FieldType, limits or values
imagestring
duration4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17 / 18 / 19 / 20 / 21 / 22 / 23 / 24 / 25 / 26 / 27 / 28 / 29 / 30 · default 5
resolution480p / 720p · default "720p"
output_formatmp4 / mov · default "mp4"
generate_audiodefault true
last_imagestring

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.