About Vidu Q4 Preview
Vidu Q4 reference to video builds a scene from 1 to 15 images in reference_image_urls and up to 3 voice samples in reference_audio_urls. It is the endpoint for combining a person, an outfit and a location that were never photographed together.
Call it with the model name vidu/q4-preview/reference-to-video on POST /jobs/createTask, from $0.205.
Introduction
Vidu Q4 Preview Reference to video builds one scene from 1 to 15 reference images and up to 3 voice clips. Vidu Q4 Preview is Vidu's public preview of its Q4 video model. Clips run 3 to 16 seconds at 540p to 4k in five aspect ratios, with sound generated alongside the picture.
Choose a mode by starting material
| What you have | Mode |
|---|---|
| a frame to animate | Vidu Q4 Preview Image to video |
| people, outfits, products or places as images, with optional voice clips | Vidu Q4 Preview Reference to video |
Key features
Up to 15 references
People, outfits, products and places can go in together. In our runs a face, a garment and a room came back as one scene.
Two people, both recognisable
Two portraits as references kept both faces in the same shot.
Reference voice
Up to 3 audio clips set the voice. The words still come from the prompt, so write the line in quotes.
Five shapes and five tiers
aspect_ratio offers 16:9, 9:16, 1:1, 3:4 and 4:3; resolution runs from 540p to 4k, with 2k and 4k as 10-bit HEVC.
Request parameters
| Parameter | Required | Description |
|---|---|---|
aspect_ratio | No | The shape of the frame: wide, square or tall. 16:9 · 9:16 · 1:1 · 3:4 · 4:3 · Default: 16:9 |
duration_seconds | No | Length of the generated clip. ≥ 3 · ≤ 16 · Default: 5 |
generate_audio | No | Adds sound made to match the picture: voices, ambience and effects. Default: true |
prompt | Yes | Describe what you want to make. |
reference_audio_urls | No | Audio to match: a voice, music or a rhythm. |
reference_image_urls | Yes | Pictures of the people, outfits or places the result should keep. |
resolution | No | Choose an available output size. 540p · 720p · 1080p · 2k · 4k · Default: 720p |
seed | No | Use the same seed and settings for more controlled comparisons. ≥ 0 · ≤ 2147483647 |
Pricing
Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
| Option | USD per second |
|---|---|
| resolution 540p | $0.041 |
| resolution 720p | $0.086 |
| resolution 1080p | $0.108 |
| resolution 2K | $0.171 |
| resolution 4K | $0.35 |
Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.
Use cases
Fashion and product scenes
A model, a garment and a location in one clip.
Voiced characters
A portrait plus a voice clip and a quoted line.
Prompt guide & pro tips
Write the line
A voice clip does not supply words. Put the line in quotes and say it is in the voice from the reference audio.
Choose the input mode
To animate an existing frame, use image to video. Use reference to video when separate images or voice clips need to guide the scene.
Draft at 540p
Test the prompt at 540p, then finish at 1080p. Choose 2k or 4k only if you can handle HEVC files.
API quick start
Call the Vidu Q4 Preview API in three steps
- Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
- Send the request. POST /jobs/createTask with model vidu/q4-preview/reference-to-video and an input object that follows the parameter table. The response returns a task ID straight away.
- Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-d '{
"model": "vidu/q4-preview/reference-to-video",
"input": {
"prompt": "A slow aerial shot drifting over a misty pine forest at sunrise",
"reference_image_urls": [
"https://media.popnow.ai/influencer/examples/ava.webp"
],
"aspect_ratio": "16:9",
"resolution": "720p",
"duration_seconds": 5
}
}'
# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $POPNOW_API_KEY"Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.
About the Vidu Q4 Preview Reference to Video endpoint
Refer to each image by its position in the prompt, for example "the woman from the first image wearing the coat from the second".
Unlike image to video, this endpoint takes an aspect_ratio, because no opening frame sets the shape.
Each request needs a prompt and at least one image; up to three reference_audio_urls can set the voice, while the words still come from quoted text in the prompt.
Resolution runs from 540p to 4K and duration from 3 to 16 seconds, with 2K and 4K returned as 10-bit HEVC.
Reference jobs are slow, often several minutes, so return a task ID to your client immediately and notify it from your webhook handler when the result is ready.
Vidu Q4 Preview API questions
How much does the Vidu Q4 Preview API cost?
Vidu Q4 Preview starts at $0.205 for a 5-second clip with Reference to Video, its lowest-priced task. Prices by option: 540p $0.041 per second, 720p $0.086 per second, 1080p $0.108 per second, 2K $0.171 per second. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.
What are the limits of the Vidu Q4 Preview · Reference to Video API?
Clip length: 3–16 s; Resolutions: 540p · 720p · 1080p · 2K · 4K; Aspect ratios: 16:9 · 9:16 · 1:1 · 3:4 · 4:3; Reference audio: 3; Reference images: 15. Requests outside these limits are rejected before anything is charged.