
料金: from 760 credits per request · ≈ $0.38高い安定性と、APIAny プラットフォーム上の詳細な使用履歴を提供します。
Any integer from 4s to 15s.
Video output resolution.
Video aspect ratio.
USD 見積 ≈ $0.38:チャージ枠 $999:1 USD = 2,000 クレジット。

プラットフォームのモデルで生成した画像と動画です。プレビューや設定の入力だけでは生成・課金されません。
実際の生成モデル: minimax-h3-text-to-video
{
"model": "minimax-h3-text-to-video",
"prompt": "Photorealistic cinematic shot of a clearly adult traveler in a plain sand-colored jacket walking along a broad safe coastal path at golden hour. Gentle side-tracking camera, natural walking motion, light wind moving the jacket, stable horizon, realistic sea reflections, calm sophisticated travel-film aesthetic. 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"
}履歴
このブラウザ内にローカル保存
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-text-to-video",
"prompt": "Photorealistic cinematic shot of a clearly adult traveler in a plain sand-colored jacket walking along a broad safe coastal path at golden hour. Gentle side-tracking camera, natural walking motion, light wind moving the jacket, stable horizon, realistic sea reflections, calm sophisticated travel-film aesthetic. 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 時間です。