> ## 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.

# Comfy Router で V3.1 20260211 Multiview To Model を使用する

> Comfy Router 経由で tripo/v3.1-20260211-multiview-to-model を呼び出します。エンドポイント、リクエストの形状、Router が返すレスポンスについて説明します。

`tripo/v3.1-20260211-multiview-to-model` の API リファレンスです。Comfy Router が Tripo から提供しています。

**入力:** 画像 · **出力:** 3D

## Quick start

[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 で行うものです。

**Model ID:** `tripo/v3.1-20260211-multiview-to-model`

**Endpoint:** `POST https://api.comfy.org/v2/models/tripo/v3.1-20260211-multiview-to-model`

> [tab] Wait for the result
>
> ```python Python theme={null}
> from comfy_sdk import Comfy
>
> # Reads COMFY_API_KEY from the environment.
> # The SDK automatically creates an idempotency key and reuses it for automatic retries.
> with Comfy() as client:
>     result = client.models.run(
>         "tripo/v3.1-20260211-multiview-to-model",
>         {
>             "inputs": ["https://example.invalid/tripo/front.png", "", "https://example.invalid/tripo/back.png", ""],
>         },
>     )
>
> print(result)
> ```
>
> ```typescript TypeScript theme={null}
> import { comfy } from "@comfyorg/sdk";
>
> // Reads COMFY_API_KEY from the environment.
> // The SDK automatically creates an idempotency key and reuses it for automatic retries.
> const { data } = await comfy.models.run("tripo/v3.1-20260211-multiview-to-model", {
>   inputs: ["https://example.invalid/tripo/front.png", "", "https://example.invalid/tripo/back.png", ""],
> });
>
> console.log(data);
> ```
>
> ```bash cURL theme={null}
> curl https://api.comfy.org/v2/models/tripo/v3.1-20260211-multiview-to-model \
>   -H "X-API-Key: $COMFY_API_KEY" \
>   -H "Idempotency-Key: $(uuidgen)" \
>   -H "Content-Type: application/json" \
>   -d "{\"inputs\": [\"https://example.invalid/tripo/front.png\",\"\",\"https://example.invalid/tripo/back.png\",\"\"]}"
> ```

> [tab] Queue and collect later
>
> 同じボディを `POST https://api.comfy.org/v2/models/tripo/v3.1-20260211-multiview-to-model/requests` に送信します。Router は実行が受け付けられるとすぐに `request_id` とともに `201` を返し、結果は準備ができ次第、このプロセスからでも別のプロセスからでも収集できます。[キューの配信](https://docs.comfy.org/ja/development/comfy-router/queue.md)では、ステータス、キャンセル、収集について順を追って説明します。
>
> ```python Python theme={null}
> import asyncio
> from comfy_sdk import AsyncComfy
>
> # Reads COMFY_API_KEY from the environment.
> # Each submit() call mints its own Idempotency-Key and reuses it for automatic retries.
> async def main():
>     async with AsyncComfy() as client:
>         handle = await client.models.submit(
>             "tripo/v3.1-20260211-multiview-to-model",
>             {
>                 "inputs": ["https://example.invalid/tripo/front.png", "", "https://example.invalid/tripo/back.png", ""],
>             },
>         )
>         print("request_id:", handle.request_id)  # with the model ID, all another process needs
>
>         # Poll until the request completes, waiting the Retry-After the server names.
>         async for update in handle.iter_events():
>             print(update.status, update.queue_position)
>
>         # The provider's own payload, the same value models.run() returns.
>         # A request that failed or was cancelled raises the typed Router error here.
>         result = await handle.get()
>
>     print(result)
>
> asyncio.run(main())
> ```
>
> ```typescript TypeScript theme={null}
> import { comfy } from "@comfyorg/sdk";
>
> // Reads COMFY_API_KEY from the environment.
> // Each submit() call mints its own Idempotency-Key and reuses it for automatic retries.
> const handle = await comfy.models.submit("tripo/v3.1-20260211-multiview-to-model", {
>   inputs: ["https://example.invalid/tripo/front.png", "", "https://example.invalid/tripo/back.png", ""],
> });
> console.log("requestId:", handle.requestId); // with the model ID, all another process needs
>
> // Poll until the request completes, waiting the Retry-After the server names.
> for await (const update of handle.events()) {
>   console.log(update.status, update.queuePosition);
> }
>
> // The same result models.run() returns. A request that failed or was cancelled rejects here.
> const result = await handle.get();
>
> console.log(result.data);
> ```
>
> ```bash cURL theme={null}
> # 1. Submit. Router answers 201 with request_id, status_url, response_url and cancel_url.
> curl https://api.comfy.org/v2/models/tripo/v3.1-20260211-multiview-to-model/requests \
>   -H "X-API-Key: $COMFY_API_KEY" \
>   -H "Idempotency-Key: $(uuidgen)" \
>   -H "Content-Type: application/json" \
>   -d "{\"inputs\": [\"https://example.invalid/tripo/front.png\",\"\",\"https://example.invalid/tripo/back.png\",\"\"]}"
>
> # 2. Poll until status is COMPLETED, waiting the Retry-After seconds each response names.
> REQUEST_ID="<request_id from the 201 body>"
> curl -i https://api.comfy.org/v2/models/tripo/v3.1-20260211-multiview-to-model/requests/$REQUEST_ID/status \
>   -H "X-API-Key: $COMFY_API_KEY"
>
> # 3. Collect. 200 with the model's native output, 202 with the status body while it is still running.
> curl https://api.comfy.org/v2/models/tripo/v3.1-20260211-multiview-to-model/requests/$REQUEST_ID \
>   -H "X-API-Key: $COMFY_API_KEY"
> ```

## スキーマ

### 入力

**auto\_size** `boolean` (default: false)

**compress** `string`

**export\_orientation** `string` (default: "+x")

**export\_uv** `boolean` (default: true)

**face\_limit** `integer`

**generate\_parts** `boolean` (default: false)

**geometry\_quality** `string` (default: "standard")

**inputs** `object[]` *required*

ビュー画像です。ビューをキーとするオブジェクトとして、または front、left、back、right の順で並べた 4 つの位置指定エントリとして指定します。

**model** `string`

Tripo のモデルバージョンです。Comfy Router を使用する場合は省略するか null を送信してください。バージョンはモデル id によって選択されます（例: `tripo/v3.1-20260211-multiview-to-model` の場合は `v3.1-20260211`）。省略を推奨します。バージョンを指定する場合は、id が使用する小文字表記ではなく、Tripo 自身の表記で id のバージョンを指定する必要があります（例: `tripo/p2-20260801-multiview-to-model` の場合は `P2-20260801`）。

**model\_seed** `integer`

**orientation** `string` (default: "default")

**pbr** `boolean` (default: true)

**quad** `boolean` (default: false)

**smart\_low\_poly** `boolean` (default: false)

**texture** `boolean` (default: true)

**texture\_alignment** `string` (default: "original\_image")

**texture\_quality** `string` (default: "standard")

**texture\_seed** `integer`

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

### 出力

**code** `integer` *required*

Tripo のエンベロープコードです。成功時は 0 です。

取りうる値: `0`

**data** `object` *required*

**data.completed\_at** `string`

**data.created\_at** `string` *required*

**data.credits\_consumed** `number`

タスクが実際に消費したクレジットです。ステータスが確定すると含まれます。失敗したタスクでは 0 です。

**data.error\_code** `integer`

**data.error\_message** `string`

**data.output** `object` *required*

**data.progress** `integer` *required*

範囲: `0` から `100`

**data.status** `string` *required*

取りうる値: `success`

**data.task\_id** `string` *required*

**data.type** `string` *required*

## 例

### 入力

```json theme={null}
{
  "inputs": [
    "https://example.invalid/tripo/front.png",
    "",
    "https://example.invalid/tripo/back.png",
    ""
  ]
}
```

### 出力

```json theme={null}
{
  "code": 0,
  "data": {
    "completed_at": "2026-01-01T00:01:00Z",
    "created_at": "2026-01-01T00:00:00Z",
    "credits_consumed": 30,
    "output": {
      "model_url": "https://example.invalid/tripo/out.glb",
      "rendered_image_url": "https://example.invalid/tripo/preview.webp"
    },
    "progress": 100,
    "status": "success",
    "task_id": "t-1",
    "type": "text_to_model"
  }
}
```

## 出荷前の確認

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

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

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

このページは、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](https://docs.comfy.org/ja/development/api-development/sdks.md) を参照してください。

> [card] [ヘッダー](https://docs.comfy.org/ja/development/comfy-router/headers.md)
>
> 認証、冪等性、リクエスト ID、エラー分類、リトライ間隔、支出上限。

> [card] [Router API の利用](https://docs.comfy.org/ja/development/comfy-router/api.md)
>
> モデルの検出、バリデーションエラー、リトライ、課金。

> [card] [制限事項](https://docs.comfy.org/ja/development/comfy-router/limitations.md)
>
> Router が現在対応していないことと、代替手段。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.