🔥 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 Model Generation

Generate 3D models with Tripo3D H3.1 Image to 3D via the Muapi REST API. Pay per generation — no subscription needed.

การควบคุมโมเดลแบบโต้ตอบ

โมเดล tripo3d-h31-image-to-3d มีให้บริการบน MuAPI พร้อมการเรียกเก็บเงินตามการใช้งานที่ยืดหยุ่นและรองรับการทำงานพร้อมกันสูง

Tripo3D H3.1 Image to 3D ข้อมูลอ้างอิง API

จุดสิ้นสุด

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

ส่งงานด้วยคีย์ Muapi API ของคุณในส่วนหัว x-api-key จากนั้นสำรวจความคิดเห็น https://api.muapi.ai/api/v1/predictions/{request_id}/result จนกว่าสถานะจะเสร็จสมบูรณ์

พารามิเตอร์

ชื่อประเภทจำเป็นคำอธิบาย
image_urlstringใช่ภาพ 3 มิติ
texturebooleanไม่สำหรับเวิร์กโฟลว์คำขอ/การสำรวจความคิดเห็นและเหตุการณ์ที่เซิร์ฟเวอร์ส่งค่าเริ่มต้น: true
texture_qualitystringไม่สำหรับเวิร์กโฟลว์คำขอ/การสำรวจความคิดเห็นและเหตุการณ์ที่เซิร์ฟเวอร์ส่งตัวเลือก: standard, detailedค่าเริ่มต้น: "standard"
geometry_qualitystringไม่(+$0.20) .ตัวเลือก: standard, detailedค่าเริ่มต้น: "standard"
pbrbooleanไม่สำหรับเวิร์กโฟลว์คำขอ/การสำรวจความคิดเห็นและเหตุการณ์ที่เซิร์ฟเวอร์ส่งค่าเริ่มต้น: false
quadbooleanไม่(+$0.05) .ค่าเริ่มต้น: false
auto_sizebooleanไม่สำหรับเวิร์กโฟลว์คำขอ/การสำรวจความคิดเห็นและเหตุการณ์ที่เซิร์ฟเวอร์ส่งค่าเริ่มต้น: false
face_limitintไม่สำหรับเวิร์กโฟลว์คำขอ/การสำรวจความคิดเห็นและเหตุการณ์ที่เซิร์ฟเวอร์ส่ง

ตัวอย่าง 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"

ตัวอย่างหลาม

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.