🔥 Black Friday AI API deals are live· 🎬 Seedance 2.5 — 20% off, up to 42% below market, until Nov 30Ends in--d --:--:--See deals →

Tripo3D H3.1 Image to 3D API: 3Dモデル生成

Muapi REST API経由でTripo3D H3.1 Image to 3Dを使用して3Dモデルを生成。従量課金制 — サブスクリプション不要。

インタラクティブなモデルコントロール

MuAPIの低遅延APIを通じてtripo3d-h31-image-to-3dモデルを統合。従量課金制で柔軟かつスケーラブルに利用可能です。

Tripo3D H3.1 Image to 3D APIリファレンス

エンドポイント

POST https://api.muapi.ai/api/v1/tripo3d-h31-image-to-3d

x-api-keyヘッダーにMuapi APIキーを設定してタスクを送信し、 https://api.muapi.ai/api/v1/predictions/{request_id}/result ステータスがcompletedになるまでポーリングします。

パラメータ

名前型必須説明
image_urlstringはい生成プロセスを適切に制御するためのパラメータ設定(Reference image used to generate the 3D model.)。
texturebooleanいいえ生成プロセスを適切に制御するためのパラメータ設定(Generate textures alongside the mesh.)。デフォルト: true
texture_qualitystringいいえ出力メディアの品質設定。選択肢: standard, detailedデフォルト: "standard"
geometry_qualitystringいいえ生成プロセスを適切に制御するためのパラメータ設定(Detailed geometry adds finer surface detail (+$0.2)。選択肢: standard, detailedデフォルト: "standard"
pbrbooleanいいえ生成プロセスを適切に制御するためのパラメータ設定(Enable physically based rendering materials.)。デフォルト: false
quadbooleanいいえ生成プロセスを適切に制御するためのパラメータ設定(Generate quad topology mesh (+$0.05).)。デフォルト: false
auto_sizebooleanいいえ生成プロセスを適切に制御するためのパラメータ設定(Automatically scale the model.)。デフォルト: false
face_limitintいいえ生成プロセスを適切に制御するためのパラメータ設定(Target polygon count.)。

cURLの例

REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/tripo3d-h31-image-to-3d \
  -H "x-api-key: $MUAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_url":"https://example.com/your-image_url"}' | jq -r .request_id)

curl -s https://api.muapi.ai/api/v1/predictions/$REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY"

Pythonの例

import os, time, requests

API = "https://api.muapi.ai/api/v1"
headers = {"x-api-key": os.environ["MUAPI_API_KEY"]}

r = requests.post(f"{API}/tripo3d-h31-image-to-3d", headers=headers, json={"image_url":"https://example.com/your-image_url"})
request_id = r.json()["request_id"]

while True:
    res = requests.get(f"{API}/predictions/{request_id}/result", headers=headers).json()
    if res["status"] == "completed":
        print(res["outputs"]); break
    if res["status"] == "failed":
        raise RuntimeError(res.get("error"))
    time.sleep(3)

完全なドキュメントとエージェント/MCP統合: llms.txt. APIキーの取得はこちら: muapi.ai/access-keys.