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 more—call it via the standard API.
Giá đầu vào
/ M
Giá đầu ra
/ M
Đầu vào
Văn bản
Đầu ra
Video
Tài liệu tham chiếu
Tùy chọn. Dùng cho ảnh sang video, điều khiển khung đầu/cuối, chuyển phong cách video hoặc tạo theo âm thanh. Nhấp hoặc kéo thả để tải file lên.
Khung cuối yêu cầu URL khung đầu
{
"model": "vidu/Vidu-q3",
"prompt": "晨曦微露的高山湖泊,湖面如镜倒映雪峰与流云,镜头沿湖岸缓缓横移,薄雾轻笼水面,金色阳光穿透云层洒落林间,远处飞鸟掠过天际,电影级画质,柔和自然光,4K 质感。",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "adaptive",
"generate_audio": true,
"seed": -1
}{}API
Mã sẵn sàng để gọi mô hình này qua API tương thích OpenAI của EasyAPI.
Tạo API token trong console và đặt làm biến môi trường:
Thay sk-xxxxxxxx bằng mã API từ console (Bearer Token).
Tạo API tokenexport EASYAPI_API_KEY=sk-xxxxxxxxDùng vidu/Vidu-q3 với API EasyAPI:
curl https://token.easyapi.com/v1/videos \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"vidu/Vidu-q3","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"}]}'Gửi tác vụ tạo video theo prompt.
https://token.easyapi.com/v1/videosBearer $EASYAPI_API_KEYapplication/jsonvidu/Vidu-q3根据 prompt 提交视频生成任务,响应含任务 ID 或结果 URL。 Tài liệu
| Tên | Kiểu | Bắt buộc | Mô tả |
|---|---|---|---|
model | string | Có | 模型 ID,如 bytedance/seedance-2.0;当前使用 vidu/Vidu-q3 |
prompt | string | Có | 视频描述,建议包含主体、动作、场景、镜头和风格。不同模型上限不同:Sora 500 字,Hailuo 2000 字,Wan T2V 1500 字、I2V 800 字。Gate.AI 本身不设硬性上限,超出后由上游拒绝并透传 502 / 503。 |
duration | integer | Không | 视频时长(秒),支持 4–15 |
resolution | string | Không | 输出分辨率:480p、720p 或 1080p |
aspect_ratio | string | Không | 宽高比:16:9、4:3、1:1、3:4、9:16、21:9 或 adaptive |
generate_audio | boolean | Không | 是否生成音频 |
seed | integer | Không | 随机种子,-1 到 4294967295;相同 seed 不保证完全一致 |
size | string | Không | 精确输出尺寸,如 1280x720 |
input_references | array | Không | 可选参考素材数组,用于图生视频、首尾帧驱动、视频风格迁移或音频驱动生成 |
input_references[].type | string | Có | 参考素材类型:image、video 或 audio,必须与 role 匹配 |
input_references[].url | string | Có | 参考素材的 HTTPS 地址 |
input_references[].role | string | Có | 参考素材用途:first_frame(首帧图)、last_frame(尾帧图)、reference(外观参考图)、reference_video(参考视频)、reference_audio(参考音频) |
metadata | object | Không | 业务透传字段,用于审计或来源标记 |
webhook_url | string | Không | 任务完成或失败后的回调地址 |
SDK chính thức OpenAI và khác hoạt động khi đổi base URL. Xem hướng dẫn tích hợp
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