kling-2.6/motion-control を試す
入力
出力
料金
kling-2.6/motion-control per second
| 単価 | $0.100 |
|---|
kling-2.6/motion-control @pro per second
| 単価 | $0.160 |
|---|
紹介文を準備中
このモデルの詳細ガイドを準備しています。下記の料金・パラメータ・API ドキュメントはご利用いただけます。
最新情報
更新履歴を見る →- 新しいモデル kling-2.6/motion-control モデルが公開されました
よくある質問
よくある質問を見る →-
このモデルは音声付きの動画を直接生成できますか?
そのようには使いません。このモデルはモーション参照駆動型です。キャラクターの外観は参照画像から取得し、動作と表情は参照動画から取得して、参照画像の人物を参照動画どおりに動かす出力になります。音声については新しい音声を生成せず、keep_original_sound で参照動画の元の音声を保持するかどうかだけを決めます。デフォルトでは保持されます。
-
画像と動画という2つの素材は、それぞれ何を決定するのですか?
image_url がキャラクターの外見を決定し、video_url が動作、表情、カメラの動きを決定します。両者を組み合わせて初めて生成できます。プロンプトは動作を制御せず、シーン、スタイル、カメラワークの任意の補足としてのみ機能します。そのため、素材の品質が prompt よりも重要であり、人物の頭、肩、胴体がどちらの素材でもはっきりと確認できる必要があります。
-
出力時間は何秒まで可能ですか?
出力時間は参照動画に従い、character_orientation によって制限されます。video を選ぶと向きは参照動画に従い、最長 30 秒で複雑な動作に適しています。image を選ぶと向きは参照画像に従い、最長 10 秒でカメラワーク中心の素材に適しています。参照動画自体は 3~30 秒の範囲である必要があります。
-
人物の向きは video と image のどちらを選ぶべきですか?
どちらを優先するかによります。動作が複雑で、参照動画を完全に再現する必要がある場合は video を選んでください。動画の長さの上限がより高くなります。参照画像の人物の構図を基準にし、主にカメラワークを重視する場合は image を選んでください。ただし出力は 10 秒以内です。デフォルトは video です。
生成タスクの作成
https://api.hiapi.ai/v1/tasks ヘッダー
Authorizationstring必須アカウントの API キー。すべてのリクエストで必須です。例:Bearer YOUR_HIAPI_API_KEY。API キーを取得
Content-Typestring任意リクエストボディは常に JSON として解析されます。送信する場合は application/json(charset 付き可)のみ受け付け、他の値は 415 を返します。例:application/json。
Idempotency-Keystring任意冪等キー。最大 255 バイト。同じアカウントで同じキーの再試行はタスクを 1 つだけ作成し、リプレイは最初の taskId を返します。
ネットワークタイムアウトやクライアントの自動再試行時、同じキーではタスクを 1 回だけ作成し、二重課金は発生しません(適用範囲 = API キーのアカウント)。業務側の一意識別子(例:"order-42")をキーに使うことを推奨します。同じキーのリプレイは最初の taskId を返し、キーは初回送信から 24 時間で失効します。詳細なシナリオ表は統一非同期 API の紹介ページをご覧ください。
ボディ
modelstring必須現在の固定値:kling-2.6/motion-control
routestring任意現在の固定値:default
inputobject必須
kling-2.6/motion-control とルート default の業務パラメータオブジェクト。下のパラメータ表を参照してください。
promptstring任意maxLength 2500Optional guidance for scene, style, and camera. Motion and expressions come from the reference video; the character comes from the reference image.
image_urlstring必須Character reference image. jpeg/png/jpg, max 10MB, both sides larger than 340px, aspect ratio between 2:5 and 5:2. Head, shoulders, and torso must be clearly visible.
video_urlstring必須Motion reference video. mp4/mov, max 100MB, 3-30 seconds, both sides 340-3850px, one continuous shot with the subject's head, shoulders, and torso visible. Output length follows this clip: up to 10s when character_orientation is image, up to 30s when video.
keep_original_soundboolean任意デフォルト: trueKeep the reference video's original audio in the output.
character_orientationstring任意デフォルト: "video"video: orientation follows the reference video (best for complex motion, up to 30s). image: orientation follows the reference image (best for camera movement, up to 10s).
videoimagecallbackobject任意
終了状態の通知設定。省略した場合はコールバックされず、呼び出し側でポーリングします。
作成時に callback.url を指定すると、タスク終了時に HiAPI があなたのサービスへ POST し、ポーリングが不要になります。コールバックのリクエストボディはタスク詳細と同構造です。署名検証・再送・冪等の詳細は統一非同期 API 紹介ページのコールバック説明を参照してください。
urlstring必須callback を指定する場合は必須。タスク終了後にこの URL へ POST します。有効な http(s) URL である必要があります。
whenstring任意デフォルト: "final"現在は final のみ対応(success / fail の両方で通知)。
finalstoragestring任意デフォルト: "temp"成果物の保存期間:temp(デフォルト・約 7 日)または persistent(長期保存・サイズ課金)。残高不足や保存上限超過の場合は temp に自動降格します。実際に適用された段階はタスク詳細レスポンスで確認できます。
temppersistentmodelstring必須現在の固定値:kling-2.6/motion-control
routestring任意現在の固定値:pro
inputobject必須
kling-2.6/motion-control とルート pro の業務パラメータオブジェクト。下のパラメータ表を参照してください。
promptstring任意maxLength 2500Optional guidance for scene, style, and camera. Motion and expressions come from the reference video; the character comes from the reference image.
image_urlstring必須Character reference image. jpeg/png/jpg, max 10MB, both sides larger than 340px, aspect ratio between 2:5 and 5:2. Head, shoulders, and torso must be clearly visible.
video_urlstring必須Motion reference video. mp4/mov, max 100MB, 3-30 seconds, both sides 340-3850px, one continuous shot with the subject's head, shoulders, and torso visible. Output length follows this clip: up to 10s when character_orientation is image, up to 30s when video.
keep_original_soundboolean任意デフォルト: trueKeep the reference video's original audio in the output.
character_orientationstring任意デフォルト: "video"video: orientation follows the reference video (best for complex motion, up to 30s). image: orientation follows the reference image (best for camera movement, up to 10s).
videoimagecallbackobject任意
終了状態の通知設定。省略した場合はコールバックされず、呼び出し側でポーリングします。
作成時に callback.url を指定すると、タスク終了時に HiAPI があなたのサービスへ POST し、ポーリングが不要になります。コールバックのリクエストボディはタスク詳細と同構造です。署名検証・再送・冪等の詳細は統一非同期 API 紹介ページのコールバック説明を参照してください。
urlstring必須callback を指定する場合は必須。タスク終了後にこの URL へ POST します。有効な http(s) URL である必要があります。
whenstring任意デフォルト: "final"現在は final のみ対応(success / fail の両方で通知)。
finalstoragestring任意デフォルト: "temp"成果物の保存期間:temp(デフォルト・約 7 日)または persistent(長期保存・サイズ課金)。残高不足や保存上限超過の場合は temp に自動降格します。実際に適用された段階はタスク詳細レスポンスで確認できます。
temppersistentリクエスト例
# 非同期タスクを送信。成功すると即座に taskId を返します(生成完了は待ちません)
curl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-2.6/motion-control",
"input": {
"image_url": "…",
"video_url": "…",
"keep_original_sound": true,
"character_orientation": "video"
}
}' const res = await fetch("https://api.hiapi.ai/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "kling-2.6/motion-control",
input: {
"image_url": "…",
"video_url": "…",
"keep_original_sound": true,
"character_orientation": "video"
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.ai/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "kling-2.6/motion-control",
"input": {
"image_url": "…",
"video_url": "…",
"keep_original_sound": True,
"character_orientation": "video"
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} # 非同期タスクを送信。成功すると即座に taskId を返します(生成完了は待ちません)
curl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer $HIAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-2.6/motion-control@pro",
"input": {
"image_url": "…",
"video_url": "…",
"keep_original_sound": true,
"character_orientation": "video"
}
}' const res = await fetch("https://api.hiapi.ai/v1/tasks", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.HIAPI_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "kling-2.6/motion-control@pro",
input: {
"image_url": "…",
"video_url": "…",
"keep_original_sound": true,
"character_orientation": "video"
}
}),
});
const task = await res.json();
// { code: 200, message: "success", data: { taskId } } import os, requests
res = requests.post(
"https://api.hiapi.ai/v1/tasks",
headers={"Authorization": f"Bearer {os.environ['HIAPI_API_KEY']}"},
json={
"model": "kling-2.6/motion-control@pro",
"input": {
"image_url": "…",
"video_url": "…",
"keep_original_sound": True,
"character_orientation": "video"
}
},
)
print(res.json()) # { code, message, data: { taskId } } 200 OK
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR"
}
} 400 Bad Request
{
"code": 400,
"message": "invalid request",
"data": null,
"error_code": "INVALID_REQUEST"
} タスク詳細の取得
https://api.hiapi.ai/v1/tasks/:id レスポンスフィールド
taskIdstring必須タスク ID。先頭は固定で tk-hiapi-。
modelstring必須解決済みのモデル完全名。route パラメータで送信したタスクは base@route(例:gpt-image-2/text-to-image@ext)を返し、それ以外は送信時のモデル名と同一です。
routestring任意route パラメータを明示して送信したタスクでのみ出現し、送信時の値をエコーします。
statusstring必須タスク状態。
queued キュー投入済み、未開始。
handling 処理中。
archiving 処理完了、成果物準備中。
success 終端:完了。成果物利用可能(output を返却)。
fail 終端:失敗(error を返却)。
送信後は status で判断します:success と fail が終端、それ以外は非終端です。1〜3 秒間隔で終端までポーリングすることを推奨します。成功したら output[].url から成果物をダウンロードし、expireAt までに保存先へ転送してください。長期保存が必要な場合は作成時に storage: "persistent" を指定します。
creatednumber必須タスク作成時刻(Unix 秒)。
completednumber必須終了状態になった Unix 秒。非終端では 0 固定。
outputarray任意
status == success のときのみ出現。成果物リスト — 常に配列で、1 タスクで複数の type を同時に返すことがあります(例:video + first_frame)。
Array [ object ]
配列要素
urlstring必須成果物の URL。直接ダウンロードできます。
typestring必須現在の候補値:video、image、audio、first_frame、last_frame、thumbnail。今後拡張される可能性があります。
expireAtnumber必須成果物にアクセスできる期限(Unix 秒)。期限までにダウンロードまたは転送してください。
errorobject任意
status == fail のときのみ出現。
codestring必須業務エラーコード。
messagestring必須エラーの説明。
レスポンス例
成功
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-01HZTQ8BX2N3GM3YFK4Z9D7VQR",
"model": "happyhorse-1-0",
"status": "success",
"created": 1777282033,
"completed": 1777282099,
"output": [
{
"url": "https://cdn.hiapi.ai/tasks/.../video.mp4",
"type": "video",
"expireAt": 1777886899
}
]
}
} 処理中(非終端)
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "archiving",
"created": 1777282033,
"completed": 0
}
} 失敗
{
"code": 200,
"message": "success",
"data": {
"taskId": "tk-hiapi-...",
"model": "happyhorse-1-0",
"status": "fail",
"created": 1777282033,
"completed": 1777282099,
"error": {
"code": "TASK_FAILED",
"message": "task failed"
}
}
} 関連記事
すべての記事を見る →-
チュートリアル
kling-2.6/motion-control 実践:5つの高価値な動画生成シーンと導入の要点
価格モデルからシーン選定まで、開発者視点のモーション制御動画導入ガイド
-
比較レビュー
kling-2.6/motion-control 横断比較:動画モーション制御モデルの選び方と移行の進め方
能力の境界から秒単位課金、接続と移行のコストまで、開発者に実践可能な選定フレームワークを提供する
-
使用ガイド
kling-2.6/motion-control 導入ガイド:機能、料金、連携のポイント
機能範囲から秒単位課金まで、開発者が Kuaishou の動画モーション制御モデルを素早く導入する方法
関連モデル
すべてのモデルを見る →同タイプ
-
FLUX 3 Max Black Forest Labs $0.243 /秒 -
Hailuo 2.3 MiniMax $0.270 /動画 -
OmniHuman 2.0 ByteDance $0.100 /秒 -
PixVerse V6 Max PixVerse $0.030 /秒 -
PixVerse V6 PixVerse $0.036 /秒 -
Wan 3.0 Video Alibaba $0.040 /秒 -
Veo 3.1 Fast Google $0.170 /秒 -
Kandinsky 6.0 Pro $1.93 /動画 -
Creatify Boreal Creatify $0.015 /秒 -
FLUX 3 Video Black Forest Labs $0.090 /秒 -
Vidu Q3 Vidu $0.149 /秒 -
Runway Aleph 2 Runway $0.480 /秒