
料金: from 192 credits per request · ≈ $0.096高い安定性と、APIAny プラットフォーム上の詳細な使用履歴を提供します。
Any integer from 4s to 15s.
Video output resolution.
Video aspect ratio.
Generate audio
Generate synchronized audio.
Content filter
Standard safety filter (default true). Setting false relaxes restrictions and adds 10% to generation pricing; illegal content is always blocked.
USD 見積 ≈ $0.25:チャージ枠 $999:1 USD = 2,000 クレジット。

プラットフォームのモデルで生成した画像と動画です。プレビューや設定の入力だけでは生成・課金されません。
実際の生成モデル: seedance-2.0-mini-text-to-video
{
"model": "seedance-2.0-mini-text-to-video",
"prompt": "A quiet terrace in early morning light with plain ceramic vessels on a wooden table. Flower shadows move subtly in a gentle breeze while the camera remains almost still, simple coherent geometry and soft realistic light. Single continuous shot. No text, logos, labels, subtitles, graphic overlays or watermark. No cuts. Natural coherent movement, stable geometry.",
"duration": 5,
"quality": "720p",
"aspect_ratio": "16:9",
"generate_audio": false
}履歴
このブラウザ内にローカル保存
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 · デフォルト: 5 |
quality | 文字列 | 任意 | Video output resolution. · 選択肢: 480p, 720p · デフォルト: 720p |
aspect_ratio | 文字列 | 任意 | Video aspect ratio. · 選択肢: adaptive, 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 · デフォルト: adaptive |
generate_audio | ブール値 | 任意 | Generate synchronized audio. · デフォルト: true |
content_filter | ブール値 | 任意 | Standard safety filter (default true). Setting false relaxes restrictions and adds 10% to generation pricing; illegal content is always blocked. · デフォルト: true |
callback_url | 文字列 | 任意 | 任意のコールバック URL。非同期タスク完了後に呼び出されます。 |
リクエスト例
curl "https://apiany.ai/v1/videos/generations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.0-mini-text-to-video",
"prompt": "A quiet terrace in early morning light with plain ceramic vessels on a wooden table. Flower shadows move subtly in a gentle breeze while the camera remains almost still, simple coherent geometry and soft realistic light. Single continuous shot. No text, logos, labels, subtitles, graphic overlays or watermark. No cuts. Natural coherent movement, stable geometry.",
"duration": 5,
"quality": "720p",
"aspect_ratio": "adaptive",
"generate_audio": true,
"content_filter": true
}'レスポンス例
{
"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 時間です。