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
Use a clear, colour-accurate front view for a person or product. For a video reference, keep the source cut and note its duration so the quote and finished clip can be traced to the same asset.
Supply refers as an array with a type and a url for each asset.
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/reference-to-video",
"prompt": "Preserve the product outline, colour and finish from the references. Move gently around it in one shot to show the front and side. Keep the background simple.",
"resolution": "480P",
"duration": 8,
"refers": [
{
"type": "image",
"url": "https://example.org/ref.png"
}
]
}
JSONFields for this request
| Field | Type, limits or values |
|---|---|
| prompt | string |
| resolution | 480P · default "480P" |
| duration | 5 / 6 / 7 / 8 / 9 / 10 / 11 / 12 / 13 / 14 / 15 · default 8 |
| refers | min items 1 · max items 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.