Get Started
Integrate this model into your application with a few lines of code.
You need an API key to use this model.
Example request
A complete request you can copy and run in your language of choice.
# The media URL below is a placeholder. Point it at your own publicly
# reachable file before running this.
# Sync: the response arrives when the video is done (up to a few minutes).
curl -X POST https://api.nunchux.ai/v1/video/generations \
--max-time 360 \
-H "Content-Type: application/json" \
-H "X-API-Key: $NUNCHUX_API_KEY" \
-d '{
"model": "nunchux-minimax-h3-fast-ref2va",
"tier": "radical_speed",
"prompt": "Reference the camera movement from Video 1: the camera slowly orbits around the three mermaids in Image 1 as they sit together on the rocks. They sing in soft harmony with their voices matching Audio 1, their eyes closed the whole time, swaying gently together. Sunlight sparkles on the water and their wet hair and scaled tails shimmer as the camera moves.",
"prompt_expansion": "fast",
"duration": 6,
"extra": {
"short_edge": 768,
"aspect_ratio": "16:9"
},
"refs": [
{
"role": "reference_image",
"url": "https://example.com/example.jpg"
},
{
"role": "reference_video",
"url": "https://example.com/example.mp4"
},
{
"role": "reference_audio",
"url": "https://example.com/example.mp3"
}
],
"output_format": "mp4",
"response_format": "url"
}' | jq -r '.data[0].url'