Lumina AIModel guides

Kling 3.0 4K text-to-video API integration

Turn a product storyboard into a single push-in with kling-v3.0-4k/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

Use the single-shot example to establish the subject and framing. For a shot sequence, plan actions and order separately. Keep the initial test clip to check costume, props and orientation at each cut.

This is a single-shot request. Describe the shot in prompt.

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": "kling-v3.0-4k/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."
}
JSON

Fields for this request

FieldType, limits or values
promptstring
duration3 / 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 · default 5
sounddefault true

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.