> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync 3 を Comfy Router で使用する

> Comfy Router 経由で synclabs/sync-3 を呼び出します: エンドポイント、リクエストの形状、Router が返すレスポンスについて説明します。

`synclabs/sync-3` の API リファレンス。Synclabs から Comfy Router によって提供されています。

## クイックスタート

[Comfyワークスペース](https://platform.comfy.org/profile/api-keys?onboarding=router)でキーを作成し、`COMFY_API_KEY` としてエクスポートします。PythonとTypeScriptのスニペットはComfy SDK（`pip install comfy-sdk` と `npm install @comfyorg/sdk`）を使用しています。cURLのスニペットは、同じ呼び出しを生のHTTPで行うものです。

**モデルID:** `synclabs/sync-3`

**エンドポイント:** `POST https://api.comfy.org/v2/models/synclabs/sync-3`

<Tabs defaultTabIndex={1}>
  <Tab title="結果を待つ">
    <CodeGroup>
      ```python Python theme={null}
      from comfy_sdk import Comfy

      # 環境から COMFY_API_KEY を読み取ります。
      # SDK は自動的に冪等性キーを作成し、自動リトライのために再利用します。
      with Comfy() as client:
          result = client.models.run(
              "synclabs/sync-3",
              {
                  "input": [
                      {
                          "type": "video",
                          "url": "https://example.invalid/synclabs/sync-3/speaker.mp4",
                      },
                      {
                          "type": "audio",
                          "url": "https://example.invalid/synclabs/sync-3/voiceover.wav",
                      },
                  ],
                  "options": {
                      "sync_mode": "bounce",
                  },
              },
          )

      print(result)
      ```

      ```typescript TypeScript theme={null}
      import { comfy } from "@comfyorg/sdk";

      // 環境から COMFY_API_KEY を読み取ります。
      // SDK は自動的に冪等性キーを作成し、自動リトライのために再利用します。
      const { data } = await comfy.models.run("synclabs/sync-3", {
        input: [
          {
            type: "video",
            url: "https://example.invalid/synclabs/sync-3/speaker.mp4",
          },
          {
            type: "audio",
            url: "https://example.invalid/synclabs/sync-3/voiceover.wav",
          },
        ],
        options: {
          sync_mode: "bounce",
        },
      });

      console.log(data);
      ```

      ```bash cURL theme={null}
      curl https://api.comfy.org/v2/models/synclabs/sync-3 \
        -H "X-API-Key: $COMFY_API_KEY" \
        -H "Idempotency-Key: $(uuidgen)" \
        -H "Content-Type: application/json" \
        -d "{\"input\": [{\"type\":\"video\",\"url\":\"https://example.invalid/synclabs/sync-3/speaker.mp4\"},{\"type\":\"audio\",\"url\":\"https://example.invalid/synclabs/sync-3/voiceover.wav\"}], \"options\": {\"sync_mode\":\"bounce\"}}"
      ```
    </CodeGroup>
  </Tab>

  <Tab title="キューに送信して後で収集する">
    同じボディを `POST https://api.comfy.org/v2/models/synclabs/sync-3/requests` に送信します。Routerは実行が受け付けられるとすぐに `201` と `request_id` を返し、結果は準備ができ次第、このプロセスまたは別のプロセスから収集できます。[キューの配信](/ja/development/comfy-router/queue)では、ステータス、キャンセル、収集について説明します。

    <CodeGroup>
      ```python Python theme={null}
      import asyncio
      from comfy_sdk import AsyncComfy

      # 環境から COMFY_API_KEY を読み取ります。
      # 各 submit() 呼び出しは独自の Idempotency-Key を発行し、自動リトライのために再利用します。
      async def main():
          async with AsyncComfy() as client:
              handle = await client.models.submit(
                  "synclabs/sync-3",
                  {
                      "input": [
                          {
                              "type": "video",
                              "url": "https://example.invalid/synclabs/sync-3/speaker.mp4",
                          },
                          {
                              "type": "audio",
                              "url": "https://example.invalid/synclabs/sync-3/voiceover.wav",
                          },
                      ],
                      "options": {
                          "sync_mode": "bounce",
                      },
                  },
              )
              print("request_id:", handle.request_id)  # モデルIDと合わせて、別のプロセスが必要とするすべての情報

              # リクエストが完了するまでポーリングし、サーバーが指定する Retry-After だけ待機します。
              async for update in handle.iter_events():
                  print(update.status, update.queue_position)

              # プロバイダー自身のペイロードで、models.run() が返すのと同じ値です。
              # 失敗またはキャンセルされたリクエストは、ここで型付きの Router エラーを発生させます。
              result = await handle.get()

          print(result)

      asyncio.run(main())
      ```

      ```typescript TypeScript theme={null}
      import { comfy } from "@comfyorg/sdk";

      // 環境から COMFY_API_KEY を読み取ります。
      // 各 submit() 呼び出しは独自の Idempotency-Key を発行し、自動リトライのために再利用します。
      const handle = await comfy.models.submit("synclabs/sync-3", {
        input: [
          {
            type: "video",
            url: "https://example.invalid/synclabs/sync-3/speaker.mp4",
          },
          {
            type: "audio",
            url: "https://example.invalid/synclabs/sync-3/voiceover.wav",
          },
        ],
        options: {
          sync_mode: "bounce",
        },
      });
      console.log("requestId:", handle.requestId); // モデルIDと合わせて、別のプロセスが必要とするすべての情報

      // リクエストが完了するまでポーリングし、サーバーが指定する Retry-After だけ待機します。
      for await (const update of handle.events()) {
        console.log(update.status, update.queuePosition);
      }

      // models.run() が返すのと同じ結果です。失敗またはキャンセルされたリクエストは、ここで reject されます。
      const result = await handle.get();

      console.log(result.data);
      ```

      ```bash cURL theme={null}
      # 1. 送信。Router は request_id、status_url、response_url、cancel_url とともに 201 を返します。
      curl https://api.comfy.org/v2/models/synclabs/sync-3/requests \
        -H "X-API-Key: $COMFY_API_KEY" \
        -H "Idempotency-Key: $(uuidgen)" \
        -H "Content-Type: application/json" \
        -d "{\"input\": [{\"type\":\"video\",\"url\":\"https://example.invalid/synclabs/sync-3/speaker.mp4\"},{\"type\":\"audio\",\"url\":\"https://example.invalid/synclabs/sync-3/voiceover.wav\"}], \"options\": {\"sync_mode\":\"bounce\"}}"

      # 2. ステータスが COMPLETED になるまでポーリングし、各レスポンスが指定する Retry-After 秒だけ待機します。
      REQUEST_ID="<request_id from the 201 body>"
      curl -i https://api.comfy.org/v2/models/synclabs/sync-3/requests/$REQUEST_ID/status \
        -H "X-API-Key: $COMFY_API_KEY"

      # 3. 収集。モデルのネイティブ出力とともに 200、まだ実行中はステータスボディとともに 202 を返します。
      curl https://api.comfy.org/v2/models/synclabs/sync-3/requests/$REQUEST_ID \
        -H "X-API-Key: $COMFY_API_KEY"
      ```
    </CodeGroup>
  </Tab>
</Tabs>

## スキーマ

### 入力

<ParamField body="dubParams" type="object">
  Sync Labs の生成リクエストに付加される吹き替えパラメータ
</ParamField>

<ParamField body="dubParams.numSpeakers" type="integer">
  ソースビデオ内の話者数。0 にすると自動検出が有効になります
</ParamField>

<ParamField body="dubParams.providerName" type="string" required>
  吹き替えに使用するプロバイダー（例: elevenlabs）
</ParamField>

<ParamField body="dubParams.sourceLang" type="string">
  ソース言語コード。デフォルトは auto
</ParamField>

<ParamField body="dubParams.targetLang" type="string" required>
  吹き替えのターゲット言語コード
</ParamField>

<ParamField body="input" type="object[]" required>
  入力項目。視覚入力（ビデオまたは画像）を 1 つ、およびオーディオまたはテキスト入力を 1 つだけ指定します
</ParamField>

<ParamField body="input[].assetId" type="string">
  Sync Labs メディアライブラリのアセット ID
</ParamField>

<ParamField body="input[].provider" type="object">
  Sync Labs のテキスト入力用のテキスト読み上げプロバイダー設定
</ParamField>

<ParamField body="input[].provider.name" type="string" required>
  TTS プロバイダー名（例: elevenlabs）
</ParamField>

<ParamField body="input[].provider.script" type="string" required>
  生成に使用するスクリプト
</ParamField>

<ParamField body="input[].provider.similarityBoost" type="number">
  AI がオリジナルの音声にどれだけ忠実に従うか

  フォーマット: `double`
</ParamField>

<ParamField body="input[].provider.stability" type="number">
  音声の安定性。値を小さくすると感情の幅が広がります

  フォーマット: `double`
</ParamField>

<ParamField body="input[].provider.voiceId" type="string" required>
  Sync のボイス ID（Studio でクローンした音声）または ElevenLabs のボイス ID
</ParamField>

<ParamField body="input[].refId" type="string">
  この入力をセグメント定義にリンクするために使用する参照識別子
</ParamField>

<ParamField body="input[].segments_frames" type="integer[][]">
  非推奨。代わりにトップレベルの segments 配列を使用してください
</ParamField>

<ParamField body="input[].segments_secs" type="number[][]">
  非推奨。代わりにトップレベルの segments 配列を使用してください
</ParamField>

<ParamField body="input[].type" type="string" required>
  入力タイプ（video、image、audio、または text）
</ParamField>

<ParamField body="input[].url" type="string">
  生成に使用するメディアの URL
</ParamField>

<ParamField body="model" type="string">
  生成に使用するモデルの名前。サポートされるのは sync-3 のみです。Comfy Router のルート `POST /v2/models/synclabs/{model}` では、このフィールドはパスから供給されるため省略できます。
</ParamField>

<ParamField body="options" type="object">
  Sync Labs の生成で使用できる追加オプション
</ParamField>

<ParamField body="options.active_speaker_detection" type="object">
  アクティブスピーカー検出の設定
</ParamField>

<ParamField body="options.active_speaker_detection.auto_detect" type="boolean">
  アクティブスピーカーを自動的に検出し、生成を適用するかどうか
</ParamField>

<ParamField body="options.active_speaker_detection.bounding_boxes" type="integer[][]">
  検出された顔のフレームごとのバウンディングボックス \[x1, y1, x2, y2] の配列
</ParamField>

<ParamField body="options.active_speaker_detection.bounding_boxes_url" type="string">
  バウンディングボックスを含む JSON ファイルへの URL
</ParamField>

<ParamField body="options.active_speaker_detection.coordinates" type="integer[]">
  frame\_number で識別されるソースビデオフレーム内のピクセル座標 \[x, y]
</ParamField>

<ParamField body="options.active_speaker_detection.frame_number" type="integer">
  手動の話者選択のために、指定された座標に対応するフレームインデックス
</ParamField>

<ParamField body="options.active_speaker_detection.v3" type="boolean">
  ASD v3 を使用するかどうか
</ParamField>

<ParamField body="options.model_mode" type="string">
  モデルの編集領域（lips、face、head）。react-1 でのみ動作します
</ParamField>

<ParamField body="options.occlusion_detection_enabled" type="boolean">
  生成中にオクルージョンを検出するかどうか
</ParamField>

<ParamField body="options.prompt" type="string">
  感情プロンプト。react-1 でのみ動作します
</ParamField>

<ParamField body="options.sync_mode" type="string">
  ビデオとオーディオの再生時間の不一致を処理する方法（bounce、loop、cut\_off、silence、remap）
</ParamField>

<ParamField body="options.temperature" type="number">
  リップシンクの表現力の度合い（0 ～ 1）

  フォーマット: `double`
</ParamField>

<ParamField body="outputFileName" type="string">
  生成された出力の拡張子を除いたベースファイル名
</ParamField>

<ParamField body="projectId" type="string">
  必要に応じて、この生成を Sync Labs プロジェクトに紐付けます
</ParamField>

<ParamField body="segments" type="object[]">
  異なるビデオセグメントに異なるオーディオ入力を適用するセグメント定義
</ParamField>

<ParamField body="segments[].audioInput" type="object" required>
  特定のセグメントのオーディオ入力設定
</ParamField>

<ParamField body="segments[].audioInput.endTime" type="number">
  参照されたオーディオを切り出すためのオプションの終了時間（秒）

  フォーマット: `double`
</ParamField>

<ParamField body="segments[].audioInput.refId" type="string" required>
  このセグメントに使用するオーディオ/テキスト読み上げ入力の参照 ID
</ParamField>

<ParamField body="segments[].audioInput.startTime" type="number">
  参照されたオーディオを切り出すためのオプションの開始時間（秒）

  フォーマット: `double`
</ParamField>

<ParamField body="segments[].endTime" type="number" required>
  セグメントの終了時間（秒）

  フォーマット: `double`
</ParamField>

<ParamField body="segments[].optionsOverride" type="object">
  特定のセグメントの生成オプションをオーバーライドします
</ParamField>

<ParamField body="segments[].optionsOverride.active_speaker_detection" type="object">
  アクティブスピーカー検出の設定
</ParamField>

<ParamField body="segments[].optionsOverride.active_speaker_detection.auto_detect" type="boolean">
  アクティブスピーカーを自動的に検出し、生成を適用するかどうか
</ParamField>

<ParamField body="segments[].optionsOverride.active_speaker_detection.bounding_boxes" type="integer[][]">
  検出された顔のフレームごとのバウンディングボックス配列 \[x1, y1, x2, y2]
</ParamField>

<ParamField body="segments[].optionsOverride.active_speaker_detection.bounding_boxes_url" type="string">
  バウンディングボックスを含む JSON ファイルへの URL
</ParamField>

<ParamField body="segments[].optionsOverride.active_speaker_detection.coordinates" type="integer[]">
  frame\_number で識別されるソースビデオフレーム内のピクセル座標 \[x, y]
</ParamField>

<ParamField body="segments[].optionsOverride.active_speaker_detection.frame_number" type="integer">
  手動での話者選択のために、指定された座標に対応するフレームインデックス
</ParamField>

<ParamField body="segments[].optionsOverride.active_speaker_detection.v3" type="boolean">
  ASD v3 を使用するかどうか
</ParamField>

<ParamField body="segments[].optionsOverride.occlusion_detection_enabled" type="boolean">
  このセグメントのオクルージョン検出を上書きします
</ParamField>

<ParamField body="segments[].optionsOverride.sync_mode" type="string">
  このセグメントの sync モードを上書きします
</ParamField>

<ParamField body="segments[].optionsOverride.temperature" type="number">
  このセグメントの temperature (0-1) を上書きします

  フォーマット: `double`
</ParamField>

<ParamField body="segments[].startTime" type="number" required>
  セグメントの開始時間（秒）

  フォーマット: `double`
</ParamField>

<ParamField body="webhookUrl" type="string">
  生成ステータス更新用の Webhook URL
</ParamField>

Router が `GET /v2/models/synclabs/sync-3/openapi.json` で提供するスキーマから生成されています。これは、リクエストがプロバイダーに到達する前に Router が呼び出しを検証する際に使用するドキュメントと同じものです。

### 出力

<ResponseField name="createdAt" type="string">
  生成が作成された日時
</ResponseField>

<ResponseField name="error" type="string">
  生成に失敗した場合のエラーメッセージ
</ResponseField>

<ResponseField name="errorCode" type="string">
  生成に失敗した場合の、安定した機械可読なエラーコード
</ResponseField>

<ResponseField name="id" type="string">
  生成の一意の識別子
</ResponseField>

<ResponseField name="input" type="object[]">
  生成に使用された入力項目
</ResponseField>

<ResponseField name="input[].assetId" type="string">
  Sync Labs メディアライブラリのアセットの ID
</ResponseField>

<ResponseField name="input[].provider" type="object">
  Sync Labs のテキスト入力に対するテキスト読み上げプロバイダーの設定
</ResponseField>

<ResponseField name="input[].provider.name" type="string" required>
  TTS プロバイダー名（例: elevenlabs）
</ResponseField>

<ResponseField name="input[].provider.script" type="string" required>
  生成に使用するスクリプト
</ResponseField>

<ResponseField name="input[].provider.similarityBoost" type="number">
  AI がオリジナルの音声にどれだけ忠実に従うか

  形式: `double`
</ResponseField>

<ResponseField name="input[].provider.stability" type="number">
  音声の安定性。値を下げると感情の幅が広がります

  形式: `double`
</ResponseField>

<ResponseField name="input[].provider.voiceId" type="string" required>
  Sync の音声 ID（Studio でクローンした音声）または ElevenLabs の音声 ID
</ResponseField>

<ResponseField name="input[].refId" type="string">
  この入力をセグメント定義にリンクするために使用される参照識別子
</ResponseField>

<ResponseField name="input[].segments_frames" type="integer[][]">
  非推奨。代わりに最上位の segments 配列を使用してください
</ResponseField>

<ResponseField name="input[].segments_secs" type="number[][]">
  非推奨。代わりに最上位の segments 配列を使用してください
</ResponseField>

<ResponseField name="input[].type" type="string" required>
  入力タイプ（video、image、audio、text）
</ResponseField>

<ResponseField name="input[].url" type="string">
  生成に使用するメディアの URL
</ResponseField>

<ResponseField name="model" type="string">
  生成に使用されたモデルの名前
</ResponseField>

<ResponseField name="options" type="object">
  Sync Labs の生成で利用できる追加オプション
</ResponseField>

<ResponseField name="options.active_speaker_detection" type="object">
  アクティブスピーカー検出の設定
</ResponseField>

<ResponseField name="options.active_speaker_detection.auto_detect" type="boolean">
  アクティブスピーカーを自動的に検出して生成を適用するかどうか
</ResponseField>

<ResponseField name="options.active_speaker_detection.bounding_boxes" type="integer[][]">
  検出された顔のフレームごとのバウンディングボックス \[x1, y1, x2, y2] の配列
</ResponseField>

<ResponseField name="options.active_speaker_detection.bounding_boxes_url" type="string">
  バウンディングボックスを含む JSON ファイルへの URL
</ResponseField>

<ResponseField name="options.active_speaker_detection.coordinates" type="integer[]">
  frame\_number で識別されるソースビデオフレーム内のピクセル座標 \[x, y]
</ResponseField>

<ResponseField name="options.active_speaker_detection.frame_number" type="integer">
  手動で話者を選択するために、指定された座標に対応するフレームインデックス
</ResponseField>

<ResponseField name="options.active_speaker_detection.v3" type="boolean">
  ASD v3 を使用するかどうか
</ResponseField>

<ResponseField name="options.model_mode" type="string">
  モデルの編集領域（lips、face、head）。react-1 でのみ動作します
</ResponseField>

<ResponseField name="options.occlusion_detection_enabled" type="boolean">
  生成中にオクルージョンを検出するかどうか
</ResponseField>

<ResponseField name="options.prompt" type="string">
  感情プロンプト。react-1 でのみ動作します
</ResponseField>

<ResponseField name="options.sync_mode" type="string">
  ビデオとオーディオの再生時間の不一致を処理する方法（bounce、loop、cut\_off、silence、remap）
</ResponseField>

<ResponseField name="options.temperature" type="number">
  リップシンクの表現力の度合い（0 から 1）

  形式: `double`
</ResponseField>

<ResponseField name="outputDuration" type="number">
  出力メディアの再生時間（秒）

  形式: `double`
</ResponseField>

<ResponseField name="outputFileName" type="string">
  出力メディアに適用されるサニタイズされたファイル名
</ResponseField>

<ResponseField name="outputUrl" type="string">
  出力メディアの URL
</ResponseField>

<ResponseField name="projectId" type="string">
  この生成が紐づけられているプロジェクトの id
</ResponseField>

<ResponseField name="segmentOutputUrl" type="string">
  セグメント出力メディアの URL
</ResponseField>

<ResponseField name="segments" type="object[]">
  生成のセグメント
</ResponseField>

<ResponseField name="segments[].audioInput" type="object" required>
  特定のセグメントのオーディオ入力設定
</ResponseField>

<ResponseField name="segments[].audioInput.endTime" type="number">
  参照されたオーディオを切り取るためのオプションの終了時間（秒）

  形式: `double`
</ResponseField>

<ResponseField name="segments[].audioInput.refId" type="string" required>
  このセグメントで使用するオーディオ／テキスト読み上げ入力の参照 ID
</ResponseField>

<ResponseField name="segments[].audioInput.startTime" type="number">
  参照されたオーディオを切り取るためのオプションの開始時間（秒）

  形式: `double`
</ResponseField>

<ResponseField name="segments[].endTime" type="number" required>
  セグメントの終了時間（秒）

  形式: `double`
</ResponseField>

<ResponseField name="segments[].optionsOverride" type="object">
  特定のセグメントの生成オプションを上書きする
</ResponseField>

<ResponseField name="segments[].optionsOverride.active_speaker_detection" type="object">
  アクティブスピーカー検出の設定
</ResponseField>

<ResponseField name="segments[].optionsOverride.active_speaker_detection.auto_detect" type="boolean">
  アクティブスピーカーを自動的に検出して生成を適用するかどうか
</ResponseField>

<ResponseField name="segments[].optionsOverride.active_speaker_detection.bounding_boxes" type="integer[][]">
  検出された顔のフレームごとのバウンディングボックス配列 \[x1, y1, x2, y2]
</ResponseField>

<ResponseField name="segments[].optionsOverride.active_speaker_detection.bounding_boxes_url" type="string">
  バウンディングボックスを含む JSON ファイルへの URL
</ResponseField>

<ResponseField name="segments[].optionsOverride.active_speaker_detection.coordinates" type="integer[]">
  frame\_number で識別されるソースビデオフレーム内のピクセル座標 \[x, y]
</ResponseField>

<ResponseField name="segments[].optionsOverride.active_speaker_detection.frame_number" type="integer">
  手動で話者を選択するために指定された座標に対応するフレームインデックス
</ResponseField>

<ResponseField name="segments[].optionsOverride.active_speaker_detection.v3" type="boolean">
  ASD v3 を使用するかどうか
</ResponseField>

<ResponseField name="segments[].optionsOverride.occlusion_detection_enabled" type="boolean">
  このセグメントのオクルージョン検出を上書きする
</ResponseField>

<ResponseField name="segments[].optionsOverride.sync_mode" type="string">
  このセグメントの同期モードを上書きする
</ResponseField>

<ResponseField name="segments[].optionsOverride.temperature" type="number">
  このセグメントの temperature（0〜1）を上書きする

  形式: `double`
</ResponseField>

<ResponseField name="segments[].startTime" type="number" required>
  セグメントの開始時間（秒）

  形式: `double`
</ResponseField>

<ResponseField name="status" type="string">
  生成のステータス（PENDING、PROCESSING、COMPLETED、FAILED、REJECTED）
</ResponseField>

<ResponseField name="synthesizedAudioUrl" type="string">
  テキスト（TTS）入力から合成されたオーディオの URL
</ResponseField>

<ResponseField name="webhookUrl" type="string">
  webhook エンドポイントの URL
</ResponseField>

## 例

### 入力

```json theme={null}
{
  "input": [
    {
      "type": "video",
      "url": "https://example.invalid/synclabs/sync-3/speaker.mp4"
    },
    {
      "type": "audio",
      "url": "https://example.invalid/synclabs/sync-3/voiceover.wav"
    }
  ],
  "options": {
    "sync_mode": "bounce"
  }
}
```

### 出力

```json theme={null}
{
  "createdAt": "2026-01-01T00:00:00.000Z",
  "id": "9a3d0c1e-0000-4000-8000-000000000000",
  "model": "sync-3",
  "outputDuration": 4.25,
  "outputFileName": "lipsync",
  "outputUrl": "https://example.invalid/synclabs/sync-3/output.mp4",
  "status": "COMPLETED"
}
```

## 出荷前の確認

SDK は `Idempotency-Key` を生成し、自動リトライで再利用します。手動リトライでは元のキーを再利用してください。Router は最大 10 分間接続を保持できます。

リクエストが失敗すると、Router は理由を説明する `X-Comfy-Error-Type` レスポンスヘッダーを送信します。`422` は、プロバイダーを呼び出す前に Router が入力を拒否したことを意味し、`413` はリクエスト本文が Router の受け入れ可能なサイズを超えていたことを意味します。生成されたアセットは [結果 URL の有効期限](/ja/development/comfy-router/reference#結果アセット) があるため、早めにダウンロードしてください。

上記のフィールド説明に記載されているサイズ制限は、プロバイダーの仕様から引用した、そのフィールドに対するプロバイダー自身の上限です。Router はリクエスト本文全体に対して別の上限を適用し、base64 エンコードされたメディアもこれにカウントされます。[リクエスト本文のサイズ](/ja/development/comfy-router/limitations) を参照してください。

このページは、Comfy Router 経由で呼び出す 1 つのパートナーモデルについて説明しています。同じ `comfy-sdk` / `@comfyorg/sdk` パッケージには、Comfy Cloud 上で ComfyUI のワークフローグラフ全体を実行するための 2 つ目のクライアントも含まれています: `Comfy(api_key=...)` / `new Comfy({ apiKey })`、および `client.workflows`、`client.assets`、`client.jobs`。[Comfy SDKs](/ja/development/api-development/sdks) を参照してください。

<CardGroup cols={3}>
  <Card title="ヘッダー" icon="list" href="/ja/development/comfy-router/headers">
    認証、冪等性、リクエスト ID、エラー分類、リトライ間隔、支出上限。
  </Card>

  <Card title="Router API の利用" icon="code" href="/ja/development/comfy-router/api">
    モデルの検出、バリデーションエラー、リトライ、課金。
  </Card>

  <Card title="制限事項" icon="triangle-exclamation" href="/ja/development/comfy-router/limitations">
    Router が現在対応していないことと、代替手段。
  </Card>
</CardGroup>
