Lumina AIModel guides

MiniMax H3 Fast text-to-video API integration

Turn a product storyboard into a single push-in with h3-fast/text-to-video. Prepare the assets, submit the request and check the result.

Turn a product storyboard into a single push-in

Write down the opening composition, the move and the final frame. Pause the generated clip at the start, midpoint and end. Check the direction of travel, the orientation of the handle and whether the camera settles at the rim.

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.

Submit the task

Set LUMINA_API_KEY on the server to an API key that can call this model.

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/text-to-video",
  "prompt": "One continuous shot of a ceramic cup at the centre of a wooden table. Window light moves across its surface as the camera slowly pushes in, ending on a close-up of the rim.",
  "resolution": "480P",
  "duration": 8
}
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

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.