Vidu Q4 是生数科技 Vidu 系列最新的视频模型(预览版,上游名 viduq4-preview),声音与画面一起生成。一个模型名 vidu-q4 覆盖两种模式:first_frame_url 传一张首帧是图生视频;reference_image_urls 传 1-15 张参考图(可加最多 3 段 MP3 参考音频)是参考生视频。3-16 秒任意整秒,540p / 720p / 1080p / 2K / 4K,默认自带音轨。按请求的秒数计费,$0.042/秒起,有声无声同价。请求直连 Vidu 官方 API。
| 分辨率 | 每秒 | 5s | 10s | 16s |
|---|---|---|---|---|
| 540p | $0.042 | $0.21 | $0.42 | $0.672 |
| 720p(默认) | $0.0887 | $0.4435 | $0.887 | $1.4192 |
| 1080p | $0.112 | $0.56 | $1.12 | $1.792 |
| 2K | $0.1773 | $0.8865 | $1.773 | $2.8368 |
| 4K | $0.3639 | $1.8195 | $3.639 | $5.8224 |
按分辨率和请求的秒数收费,3-16 秒任意整秒。两种模式同价,开不开音频同价,参考图和参考音频不另收费。仅成功扣费、失败退款。
所有请求在 Header 携带 API Key:
Authorization: Bearer YOUR_API_KEYhttps://api.apimodels.app/v1/video/generations·GET/v1/video/generations?task_id=# Image-to-video: one first frame; the clip keeps the image's aspect ratio (prompt optional)
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "vidu-q4",
"first_frame_url": "https://example.com/astronaut.png",
"prompt": "The astronaut waves at the camera, then the camera rises to reveal the station",
"duration": 5,
"resolution": "1080p"
}'
# Reference-to-video: 1-15 reference images (+ up to 3 MP3 voice clips); prompt required
curl -X POST https://api.apimodels.app/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "vidu-q4",
"prompt": "Reference image 1 walks into the cafe from reference image 2, holds up the cup from reference image 3 and says: Morning! Voice from reference audio 1.",
"reference_image_urls": [
"https://example.com/character.png",
"https://example.com/cafe.jpg",
"https://example.com/cup.png"
],
"reference_audio_urls": ["https://example.com/voice.mp3"],
"aspect_ratio": "9:16",
"duration": 8,
"resolution": "720p"
}'
# Response (async — a task is created):
# { "code": 200, "msg": "success", "data": { "taskId": "clxxx", "state": "pending" } }
# Poll until completed (result files are kept 30 days)
curl "https://api.apimodels.app/v1/video/generations?task_id=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"
# { "code": 200, "data": { "state": "completed",
# "resultUrls": ["https://r2.apimodels.app/videos/clxxx.mp4"] } }| 字段 | 必填 | 类型 | 说明 |
|---|---|---|---|
| model | 是 | string | vidu-q4 |
| first_frame_url | 否 | string | 图生视频的首帧(公网 URL 或 data URI;PNG / JPEG / WebP)。与 reference_image_urls 二选一。 |
| reference_image_urls | 否 | string[] | 参考生视频的 1-15 张参考图。与 first_frame_url 二选一。 |
| reference_audio_urls | 否 | string[] | 仅参考生视频:0-3 段 MP3,每段 3-12 秒,引导角色声音。 |
| prompt | 参考生必填 | string | 画面、动作、运镜、台词和声音的描述,最多 20000 字符。图生视频可省。 |
| duration | 否 | number | 3-16 任意整秒,默认 5。按这个秒数计费。 |
| resolution | 否 | string | 540p、720p(默认)、1080p、2K、4K。 |
| aspect_ratio | 否 | string | 仅参考生视频:16:9(默认)、9:16、1:1、4:3、3:4。图生视频跟随首帧。 |
| generate_audio | 否 | boolean | 默认 true,生成与画面同步的台词、音效和环境声;false 输出无声视频。也接受 audio。价格不变。 |
| is_rec | 否 | boolean | 仅图生视频:Vidu 的提示词扩写,默认 true。也接受 prompt_extend。 |
| seed | 否 | number | 非负整数随机种子,不传则随机。 |
| callback_url | 否 | string | 任务完成时我们向该地址 POST 结果;不传就轮询 GET 查询。 |
试一试:Playground;能力介绍、价格与 Seedance 2.5 / Kling V3 / FLUX 3 Max 的对比见 Vidu Q4 模型页。
按请求的秒数计费:540p $0.042/秒、720p $0.0887/秒、1080p $0.112/秒、2K $0.1773/秒、4K $0.3639/秒,3-16 秒任意整秒;720p 5 秒 $0.4435,4K 16 秒 $5.8224。两种模式同价,有声无声同价。仅成功扣费,失败退款。
first_frame_url(或 image / image_url)是图生视频;reference_image_urls(1-15 张,或 images)是参考生视频,此时 prompt 必填,可加 reference_audio_urls(0-3 段 MP3,每段 3-12 秒)和 aspect_ratio。首帧和参考图同时传、或都不传,创建时返回 400。
按顺序。reference_image_urls 的第一项是参考图1,reference_audio_urls 的第一项是参考音频1,依此类推;Vidu 官方示例就是这样写的。例如:参考图1 走进参考图2 的咖啡馆,用参考音频1 的声音打招呼。
2026-10-22 通过 API 实测,540p、3 秒各一次:图生视频从提交到成片 102 秒,参考生视频(2 张图 + 1 段 MP3)173 秒。更高分辨率和更长时长未测。请每隔几秒轮询 GET /v1/video/generations?task_id=,或传 callback_url。
纯文字请求、尾帧、参考视频、关键帧,以及图生视频里的 aspect_ratio(画幅跟随首帧)。这些都在创建时返回明确的 400,不会静默降级出片,也不扣费。