公式フォーマット
キャラクターを操作する
CometAPI と Runway のキャラクター操作 API を使用して、参照動画からキャラクターパフォーマンスタスクを開始し、表情と身体動作を制御します。
POST
Create a Runway character-performance task
このエンドポイントを使用すると、参照クリップのパフォーマンスをキャラクター画像またはキャラクター動画に転送できます。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
呼び出し前の準備
- 必須の
X-Runway-Versionヘッダーを送信します。例:2024-11-06 model: act_twoを使用します- アクセス可能な HTTPS URL として、1 つの
characterアセットと 1 つのreferenceアセットを指定します - スタイルを調整する前に、
bodyControl: trueと適度なexpressionIntensityから始めます
タスクの流れ
タスクのステータスをポーリング
タスクが終了状態に到達し、プロバイダーのメタデータに完成した出力が含まれるまで、Get Task Details を続けて使用します。
入力ロール
characterはアニメーション化したい対象ですreferenceは表情のパフォーマンスまたは身体動作を提供する元クリップですbodyControlは、モーション転送に表情転送に加えて身体の動きも含めるかどうかを決定しますcontentModerationは、リクエストにプロバイダーのモデレーションしきい値を適用します
承認
Bearer token authentication. Use your CometAPI key.
ヘッダー
Runway version header, for example 2024-11-06.
ボディ
application/json
The character to control. You can either provide a video or an image.
Reference performance clip. Provide type (video) and uri (HTTPS URL).
Enable body control.
Intensity of the expression transfer. Higher values produce more exaggerated expressions.
Random seed for reproducible results.
The model variant to use. Must be act_two.
Aspect ratio of the output video, e.g. 1280:720.
レスポンス
200 - application/json
Task accepted.