Vidu Q4 Preview Image to Video API
https://api.hiapi.ai /v1/tasks Image, video, and audio models are called through theUnified Async API POST /v1/tasks endpoint; only the input fields differ (see input parameters below).
Model summary
| Model | vidu-q4-preview/image-to-video |
|---|---|
| Capability | First-frame image-to-video + native audio |
| Resolution | 540p / 720p / 1080p / 2K / 4K |
| Duration | 3-16 seconds |
Animate one first-frame image into a 3-16 second video up to 4K, with synchronized dialogue and sound effects; the aspect ratio follows the image.
Production guidance
- Upload a portrait first frame for portrait output; the aspect ratio follows the image and needs no extra parameter.
- audio=false produces a silent video, good for pure footage.
- Use callback.url for task notifications; read the task object from data in query responses and directly from the callback body.
- Artifact URLs expire; copy files you need to keep into persistent storage.
Best suited for
Add natural motion to product shots, posters, scenery, or character art.
image_urlGenerate synchronized dialogue and effects for voiceover and ads.
audioUp to 4K for advertising and large displays.
resolutionRequest parameters
model string required Model ID.
input object required First-frame image-to-video parameters.
image_url string required First-frame HTTP(S) URL. JPG/JPEG/PNG/WEBP, up to 50MB; the output keeps the image's aspect ratio, which must be between 1:4 and 4:1.
prompt string optional Describe the motion, camera work and sound (dialogue, effects) to add — no need to restate the image. Up to 20,000 characters.
duration integer optional Output duration in seconds. Accepts integers from 3 to 16.
resolution enum optional Output resolution.
audio boolean optional Generate dialogue and sound effects synchronized with the picture (native audio).
callback object optional Sends a notification when the task succeeds or fails; read the task object from data in query responses and directly from the callback body.
url string required HTTPS URL that receives task success or failure notifications.
when enum optional Triggers when the task succeeds or fails.
Example requests
Pass the first frame and a prompt; the model creates motion and camera work.
{
"model": "vidu-q4-preview/image-to-video",
"input": {
"image_url": "https://example.com/first-frame.jpg",
"prompt": "Slow push-in with natural motion",
"duration": 5,
"resolution": "720p"
}
}Turn native audio off for picture only.
{
"model": "vidu-q4-preview/image-to-video",
"input": {
"image_url": "https://example.com/first-frame.jpg",
"prompt": "Slow push-in",
"duration": 8,
"resolution": "1080p",
"audio": false
}
}Getting the result
- Read data.taskId from the create-task response.
- Wait for the callback or query GET /v1/tasks/:id; polling puts the task under data.
- When status=success, read the video URL from output type=video; a callback reads output directly.
FAQ
Can I set the output aspect ratio?
No need. Image-to-video follows the first-frame image; upload a portrait image for portrait output.
Does turning audio off change the price?
No. Billing is per second and driven by resolution and duration; the audio switch is not priced.
Is prompt required?
No. prompt is optional; without it the model invents motion from the image.
Which resolutions are supported?
540p, 720p, 1080p, 2k, and 4k, with 720p as the default.