入力画像
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.
USD 見積 $0.76-$1.52:最大チャージパックは $1 = 2,000 クレジットで換算。スターターパックは $1 = 1,000 クレジットで換算。
履歴
このブラウザ内にローカル保存
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 | 文字列 | 任意 | 任意のコールバック 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": "Generate a short cinematic clip guided by the reference images, consistent character and lighting",
"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 時間です。