
价格: from 1,520 credits per request · ≈ $0.76稳定性高,并在 APIAny 平台提供详细的使用记录。
输入图片
上传 1-9 张图片(每张最大 10MB)。
Click to upload or drag and drop
Supported formats: JPG, JPEG, PNG, WEBP
Maximum file size: 10MB; Maximum files: 9
输入视频
最多上传 3 个参考视频。
Click to upload or drag and drop
Supported formats: MP4, MOV, WEBM
Maximum file size: 100MB; Maximum files: 3
输入音频
最多上传 3 个音频参考文件。
Click to upload or drag and drop
Supported formats: MP3, WAV, M4A, AAC, OGG, FLAC
Maximum file size: 50MB; Maximum files: 3
Any integer from 4s to 15s.
Video output resolution.
Video aspect ratio.
美元估算 ≈ $0.76:$999 档换算:1 美元 = 2,000 积分。

使用平台模型生成的真实图片与视频。可直接预览;填入示例不会自动生成或扣费。
实际生成模型: minimax-h3-reference-to-video

{
"model": "minimax-h3-reference-to-video",
"prompt": "Use Image 1 as the identity and clothing reference for this clearly adult man. Keep his facial features, short dark curls and plain sand-colored jacket consistent. He stands on a clean quiet outdoor railway platform, naturally turns toward the camera with a small relaxed smile. Medium shot, soft golden-hour light, gentle camera drift. No trains or signs needed. Single continuous shot. No text, logos, labels, subtitles, graphic overlays or watermark. No cuts. Natural coherent movement, stable geometry.",
"duration": 5,
"quality": "768p",
"aspect_ratio": "16:9",
"image_urls": [
"https://s.apiany.ai/web-static/mode-infos/v2/2026-09-20/d02-adult-traveler/reference.jpg"
]
}历史记录
保存在此浏览器本地
0 个运行中 · 0 个已完成
计费规则
鉴权
每个请求都需要在 Authorization 头中携带 Bearer 令牌。请在控制台创建 API Key。
Authorization: Bearer YOUR_API_KEYhttps://apiany.ai/v1/videos/generations请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | 字符串 | 必填 | 要调用的模型标识,使用该模型的 ID。 |
prompt | 字符串 | 必填 | 描述你想生成内容的文本提示词。 |
duration | 数字 | 可选 | Any integer from 4s to 15s. · 范围: 4–15 · 默认: 4 |
quality | 字符串 | 可选 | Video output resolution. · 可选值: 768p, 2k · 默认: 768p |
aspect_ratio | 字符串 | 可选 | Video aspect ratio. · 可选值: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 · 默认: 16:9 |
callback_url | 字符串 | 可选 | 可选的回调地址,异步任务完成后会被调用。 |
请求示例
curl "https://apiany.ai/v1/videos/generations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3-reference-to-video",
"prompt": "Use Image 1 as the identity and clothing reference for this clearly adult man. Keep his facial features, short dark curls and plain sand-colored jacket consistent. He stands on a clean quiet outdoor railway platform, naturally turns toward the camera with a small relaxed smile. Medium shot, soft golden-hour light, gentle camera drift. No trains or signs needed. Single continuous shot. No text, logos, labels, subtitles, graphic overlays or watermark. No cuts. Natural coherent movement, stable geometry.",
"duration": 4,
"quality": "768p",
"aspect_ratio": "16:9"
}'响应示例
{
"task_id": "task_abc123",
"status": "pending",
"poll_url": "/v1/tasks/task_abc123",
"request_id": "req_abc123",
"credits": {
"reserved": 1000
}
}该端点为异步调用:请求后会立即返回 task_id。请轮询任务状态查询端点,直到 status 变为 succeeded 后再读取 result。生成的媒体链接有效期为 24 小时。