Kling 3.0 API
Kling 3.0 は OmniaKey 上の Kling の動画ルートです。テキストからの生成と最初のフレーム(任意で最後のフレーム)に対応し、標準と高品質の 2 段階、長さは 5・10・15 秒固定です。
- モデルID
- kling-3.0
- プロバイダー
- Kling
- 種別
- AIビデオ
- 成功した呼び出し 1 回あたり
- $0.80–$3.00
- 最終確認済み
- 2026-09-16
プレイグラウンド
このモデルは OmniaKey アカウントでご利用いただけます。
01
向いている用途
尺が先に決まっている場合は Kling 3.0 を選びます。5/10/15 秒で標準は 1 回 $0.80/$1.60/$2.40、高品質は $1.00/$2.00/$3.00 です。mode は必須で、画像からの生成ではアスペクト比が最初のフレームで決まります。
02
できること
テキストからビデオへ
kling-3.0
テキストプロンプトから短い動画クリップを生成します。
画像からビデオへ
kling-3.0
静止画を短い動画クリップに動かします。
03
呼び出し方
メディアモデルは非同期で動作します。タスクを作成し、完了までポーリングしてから、署名付きアセット URL をダウンロードします。
# 1. Create the job. 202 Accepted; the body carries the task id,
# the pre-charged price, and a poll_url. Reuse one Idempotency-Key
# across retries so a timeout never starts a second paid job.
curl --fail-with-body https://api.omniakey.com/v1/media/tasks \
-H "Authorization: Bearer $OMNIAKEY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: kling-3.0-001" \
-d '{
"model": "kling-3.0",
"type": "video",
"operation": "text_to_video",
"input": {"prompt": "a paper boat on a quiet lake at sunset"},
"parameters": {"duration": 6, "resolution": "720p"}
}'
# 2. The same model id and the same poll loop serve the other operations:
# image_to_video media[] type "first_frame"
# Reference media travel alongside the prompt:
# {"prompt": "...", "media": [{"type": "first_frame", "url": "https://example.com/first-frame.png"}]}
# A public HTTPS URL or a base64 data URI both work.
# 3. Poll GET /v1/media/tasks/{id} until status is
# succeeded | failed | canceled. Progress carries percent and stage.
curl --fail-with-body https://api.omniakey.com/v1/media/tasks/TASK_ID \
-H "Authorization: Bearer $OMNIAKEY_API_KEY"
# 4. Download assets[0].url before expires_at, or poll again for a
# fresh signed URL. Failed and canceled jobs are refunded.
curl -sS -o out.mp4 "$(jq -r '.assets[0].url' result.json)"04
料金
動画ジョブはトークン単位ではなく、生成された出力の秒数に応じて課金されます。失敗またはキャンセルされたジョブは自動的に返金されます。
$0.80–$3.001 回あたり
mode | duration
- std|5
- $0.801 回あたり
- std|10
- $1.601 回あたり
- std|15
- $2.401 回あたり
- pro|5
- $1.001 回あたり
- pro|10
- $2.001 回あたり
- pro|15
- $3.001 回あたり
Kling のその他のモデル
Kling 3.0 Turbo
kling-3-turbo
よくある質問
OmniaKey で Kling 3.0 を呼び出すには?
モデル ID、type に "video"、operation に "text_to_video" を指定して /v1/media/tasks に POST します。最初のフレームから生成する場合は operation を "image_to_video" にし、input.media[](type を "first_frame" に) に渡します。再試行時は同じ Idempotency-Key を使うと、タイムアウトで二重の課金ジョブが作られません。
Kling 3.0 の料金は?
Kling 3.0 の料金は $0.80–$3.00 1 回あたり です(生成された動画の長さに応じて課金)。作成時に指定した尺の分が前払い残高から事前に引き落とされ、失敗またはキャンセルされたジョブは自動的に返金されます。
なぜ API は動画ではなくタスク ID を返すのですか?
動画のレンダリングには 1 分から数分かかるため、OmniaKey はすべての動画ルートを 1 つの非同期フローで処理します。GET /v1/media/tasks/{id} を succeeded になるまでポーリングし、署名付きアセット URL を読み取ってください。



