chatgpt-image-latest
OpenAI
Offering state-of-the-art visual quality, precise instruction following, and support for large-scale batch processing.
$4.25/ M
$27.2/ M
$1.0625/ M
—
From Vidu, supports Chat and 按秒计费 and more—call it via the standard API.
Resolution
720p
1080p
Without video input
35% off$0.0309/ s
$0.0453/ s
With video input
35% off$0.0309/ s
$0.0453/ s
Input
Text
Output
Video
Reference materials
Optional. Used for image-to-video, first/last frame driving, video style transfer, or audio-driven generation. Click or drag to upload a local file.
Last frame requires a first frame URL
{
"model": "vidu/viduq2",
"prompt": "晨曦微露的高山湖泊,湖面如镜倒映雪峰与流云,镜头沿湖岸缓缓横移,薄雾轻笼水面,金色阳光穿透云层洒落林间,远处飞鸟掠过天际,电影级画质,柔和自然光,4K 质感。",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "adaptive",
"generate_audio": true,
"seed": -1
}{}API
Drop-in code to call this model with EasyAPI's OpenAI-compatible API.
Create an API key from your dashboard and set it as an environment variable:
Replace sk-xxxxxxxx with your API token from the console (Bearer token).
Create API tokenexport EASYAPI_API_KEY=sk-xxxxxxxxUse vidu/viduq2 with the EasyAPI API:
curl https://token.easyapi.com/v1/videos \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"vidu/viduq2","prompt":"A golden retriever running on a sunny beach, cinematic camera movement","duration":5,"resolution":"720p","aspect_ratio":"adaptive","generate_audio":false,"seed":-1,"size":"1280x720","input_references":[{"type":"image","url":"https://cdn.example.com/portrait.jpg","role":"first_frame"}]}'Submits a video generation task from a text prompt.
https://token.easyapi.com/v1/videosBearer $EASYAPI_API_KEYapplication/jsonvidu/viduq2根据 prompt 提交视频生成任务,响应含任务 ID 或结果 URL。 Docs
| Name | Type | Required | Description |
|---|---|---|---|
model | string | Yes | 模型 ID,如 bytedance/seedance-2.0;当前使用 vidu/viduq2 |
prompt | string | Yes | 视频描述,建议包含主体、动作、场景、镜头和风格。不同模型上限不同:Sora 500 字,Hailuo 2000 字,Wan T2V 1500 字、I2V 800 字。Gate.AI 本身不设硬性上限,超出后由上游拒绝并透传 502 / 503。 |
duration | integer | No | 视频时长(秒),支持 4–15 |
resolution | string | No | 输出分辨率:480p、720p 或 1080p |
aspect_ratio | string | No | 宽高比:16:9、4:3、1:1、3:4、9:16、21:9 或 adaptive |
generate_audio | boolean | No | 是否生成音频 |
seed | integer | No | 随机种子,-1 到 4294967295;相同 seed 不保证完全一致 |
size | string | No | 精确输出尺寸,如 1280x720 |
input_references | array | No | 可选参考素材数组,用于图生视频、首尾帧驱动、视频风格迁移或音频驱动生成 |
input_references[].type | string | Yes | 参考素材类型:image、video 或 audio,必须与 role 匹配 |
input_references[].url | string | Yes | 参考素材的 HTTPS 地址 |
input_references[].role | string | Yes | 参考素材用途:first_frame(首帧图)、last_frame(尾帧图)、reference(外观参考图)、reference_video(参考视频)、reference_audio(参考音频) |
metadata | object | No | 业务透传字段,用于审计或来源标记 |
webhook_url | string | No | 任务完成或失败后的回调地址 |
Official OpenAI and other SDKs work by swapping the base URL. See integration guide
OpenAI
Offering state-of-the-art visual quality, precise instruction following, and support for large-scale batch processing.
$4.25/ M
$27.2/ M
$1.0625/ M
—
Anthropic
Claude Fable 5 is Anthropic’s advanced long-horizon reasoning model, supporting text, image, and file inputs with text output. It features reasoning capabilities and a 1M-token context window, making it suitable for autonomous knowledge work, software development, and complex multi-step tasks.
$8.5/ M
$42.5/ M
$0.85/ M
$10.625/ M
Anthropic
Fast and affordable. Handles simple tasks well.
$0.85/ M
$4.25/ M
$0.085/ M
$1.0625/ M
Anthropic
Strong in deep reasoning and long-context tasks.
$4.25/ M
$21.25/ M
$0.425/ M
$5.3125/ M