Lumina AIModel guides

MiniMax H3 Fast image-to-video API integration

Add motion to a still product photograph with h3-fast/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

To compare prompt expansion, save one request for each prompt_expansion setting. Check any added scenery or action against the storyboard and review the expansion usage for each run.

Put the opening still in the image field.

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": "h3-fast/image-to-video",
  "prompt": "Track the camera slowly to the right along the table, keeping the subject centred. A curtain moves slightly in the background. Keep the product label and colour stable.",
  "resolution": "480P",
  "duration": 8,
  "image": "https://example.org/ref.png"
}
JSON

Fields for this request

FieldType, limits or values
promptstring
resolution480P · default "480P"
duration5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 · default 8
imagestring
end_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.