Tripo API
Tripo API บน WaveSpeedAI — โมเดล 3D ทางการของ Tripo ผ่าน REST: H3.1 สำหรับแอสเซ็ตความละเอียดสูง, P2 สำหรับโทโพโลยี quad แบบเนทีฟ และ P1 สำหรับแอสเซ็ตเกม low-poly จากข้อความ ภาพเดียว หรือหลายมุมมอง รวมถึง Gaussian splat และเครื่องมือสำหรับ retexture, rig, สร้างแอนิเมชัน, retopology, unwrap UV, แบ่งส่วน และแปลงโมเดล 3D
สร้างโมเดล 3D พร้อมใช้งานจริงจากพรอมต์ รูปถ่าย หรือ 2 ถึง 4 มุมมอง แล้วประมวลผลต่อ: re-texture, auto-rig และทำแอนิเมชันให้ตัวละคร, สร้างโทโพโลยีที่สะอาดขึ้นใหม่, unwrap UV, แยกเป็นส่วนๆ หรือแปลงเป็น FBX, USDZ, OBJ, STL หรือ 3MF ทุก endpoint ทำงานบนโฟลว์การพยากรณ์ REST เดียวกับโมเดลอื่นทั้งหมดบน WaveSpeedAI
ภาพรวม
เกี่ยวกับ Tripo API
Tripo ทำอะไรได้ อยู่ตรงไหนในกลุ่มโมเดลของ Tripo และทำไมทีมต่างๆ จึงเลือกใช้
Tripo คือโมเดลการสร้างแอสเซต 3Dจาก Tripo ใช้งานได้ผ่าน REST API ของ WaveSpeedAI Tripo API บน WaveSpeedAI — โมเดล 3D ทางการของ Tripo ผ่าน REST: H3.1 สำหรับแอสเซ็ตความละเอียดสูง, P2 สำหรับโทโพโลยี quad แบบเนทีฟ และ P1 สำหรับแอสเซ็ตเกม low-poly จากข้อความ ภาพเดียว หรือหลายมุมมอง รวมถึง Gaussian splat และเครื่องมือสำหรับ retexture, rig, สร้างแอนิเมชัน, retopology, unwrap UV, แบ่งส่วน และแปลงโมเดล 3D
สร้างโมเดล 3D พร้อมใช้งานจริงจากพรอมต์ รูปถ่าย หรือ 2 ถึง 4 มุมมอง แล้วประมวลผลต่อ: re-texture, auto-rig และทำแอนิเมชันให้ตัวละคร, สร้างโทโพโลยีที่สะอาดขึ้นใหม่, unwrap UV, แยกเป็นส่วนๆ หรือแปลงเป็น FBX, USDZ, OBJ, STL หรือ 3MF ทุก endpoint ทำงานบนโฟลว์การพยากรณ์ REST เดียวกับโมเดลอื่นทั้งหมดบน WaveSpeedAI
กลุ่ม Tripo บน WaveSpeedAI มี 23 REST endpoint ครอบคลุมเวิร์กโฟลว์ Image-To-3d, Text-To-3d แต่ละแบบมีราคา พารามิเตอร์ที่ปรับได้ และตัวอย่างผลลัพธ์ของตัวเอง เลือกแบบที่ตรงกับประเภทอินพุตและข้อจำกัดของงานจริง หรือเรียกหลายแบบด้วย API key เดียวเพื่อประกอบเป็นไปป์ไลน์หลายขั้นตอน
รัน Tripo ผ่าน API key บัญชีเรียกเก็บเงิน และขีดจำกัดอัตราเดียวกับที่คุณใช้กับโมเดล AI กว่า 1,000 รายการอื่นบน WaveSpeedAI ไม่ต้องตั้งค่ากับผู้ให้บริการแยก ไม่ต้องใช้ SDK แยกตามผู้ให้บริการ และไม่ต้องจัดการขีดจำกัดอัตราแยกตามผู้ให้บริการ การเชื่อมต่อเดียวครอบคลุมทุกอย่างตั้งแต่ข้อความเป็นภาพและข้อความเป็นวิดีโอ ไปจนถึงการสังเคราะห์เสียง การสร้าง 3D การอัปสเกล และการแก้ไข
สเปก
ความสามารถและสถานะการเปิดตัวของ Tripo API
รายละเอียดเฉพาะของโมเดลที่นักพัฒนาค้นหาก่อนเลือก API: ความพร้อมใช้งาน ความยาวผลลัพธ์ที่คาดหวัง การรองรับภาพอ้างอิง และทางเลือกสำรองที่ใช้งานได้ในปัจจุบัน
โมเดล
H3.1, H3.0, P2, P1
H3.1 สำหรับแอสเซ็ตความละเอียดสูงได้ถึง 2 ล้านเฟซ, P2 สำหรับเมช quad แบบเนทีฟได้ถึง 50,000 สามเหลี่ยมหรือ 25,000 quad, P1 สำหรับแอสเซ็ต low-poly ได้ถึง 20,000 เฟซ
อินพุต
ข้อความ, ภาพ, 2–4 มุมมอง
แต่ละโมเดลมี endpoint text-to-3d, image-to-3d และ multiview-to-3d ส่วน image-to-splat สร้าง Gaussian splat จากภาพเดียว
เครื่องมือ
เครื่องมือโมเดล 10 ตัว
Texture, convert, auto rig, animate, retopology, smart UV, segment, การเติมเมชให้สมบูรณ์ และการแบ่งส่วนอัจฉริยะ จากภาพหรือโมเดล
เอาต์พุต
GLB, FBX และอื่นๆ
GLB เป็นค่าเริ่มต้น FBX สำหรับเมช quad ส่วนเครื่องมือ convert ส่งออก GLTF, FBX, USDZ, OBJ, STL หรือ 3MF
Endpoint
API endpoint ของ Tripo ทั้งหมด
23 endpoint ของ Tripo พร้อมใช้งานบน WaveSpeedAI แล้ว — เลือกแบบที่ตรงกับเวิร์กโฟลว์ของคุณ
/filters:quality(82)/media/images/a04f2a06-1473-4236-b388-53a6752772d1.webp)
H3.0 Multiview To 3d
Tripo3D H3.0 Multiview-to-3D turns 2 to 4 views of one object into a 3D model with Tripo's previous-generation H3.0 model (up to 2 million faces), kept for consistency with earlier assets. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/16dd7368-5d69-4565-9e96-9dc5f2e212f8.webp)
H3.0 Image To 3d
Tripo3D H3.0 Image-to-3D turns a single image into a 3D model with Tripo's previous-generation H3.0 model (up to 2 million faces), kept for consistency with earlier assets. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/420ed9ed-89f9-4aa7-8fd4-d3fd7365ebdc.webp)
H3.0 Text To 3d
Tripo3D H3.0 Text-to-3D turns a text description into a 3D model with Tripo's previous-generation H3.0 model (up to 2 million faces), kept for consistency with earlier assets. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/ad1ba27a-e25f-492d-bdd9-ec0e85b98300.webp)
Smart Segment Model
Tripo3D Smart Segment (Model) splits a GLB model into named, editable parts. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/0bc04e6b-07f4-4e79-9946-3ba632fc3c60.webp)
Smart Segment Image
Tripo3D Smart Segment (Image) turns one image into a 3D model already split into named, editable parts. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/3cf2c000-4ab1-42a0-89c0-42327405843e.webp)
Mesh Complete
Tripo3D Mesh Complete splits a 3D model into parts and completes each part, filling the regions hidden where parts meet. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/d5ff6755-8bb4-4488-997a-851d6a332655.webp)
Segment
Tripo3D Segment splits a 3D model into its parts. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/ca8fb1e4-593c-4ba1-bf03-e4f03c3a8b18.webp)
Smart Uv
Tripo3D Smart UV re-unwraps a 3D model's UVs and remaps its textures, rig and animation onto the new layout. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/60c437f4-a37b-43c5-87d1-26c714a0f63c.webp)
Retopology
Tripo3D Retopology rebuilds a 3D model with fewer, cleaner polygons, as triangles or quads. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/3b802822-c3fa-47bf-8108-5c0ee31a51ab.webp)
Animate
Tripo3D Animate rigs a 3D model and applies up to 5 preset animations such as walk, run and jump. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/6b61c964-80e2-4112-9949-fb4b174ec049.webp)
Rig
Tripo3D Auto Rig adds a skeleton to a 3D model of a humanoid, animal or creature, ready for animation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/3cf2c000-4ab1-42a0-89c0-42327405843e.webp)
Convert
Tripo3D Convert converts a 3D model to GLTF, FBX, USDZ, OBJ, STL or 3MF, with optional remeshing and export settings. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/52b29d00-660e-4442-a428-9b013e3fbf6b.webp)
Texture
Tripo3D Texture re-textures an existing 3D model from a text prompt or a reference image. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/5fa6b7b7-35e4-4a7a-bc78-de3a2049e64b.webp)
Splat Image To Splat
Tripo3D Image-to-Splat turns a single image into a 3D Gaussian Splat (.splat) for real-time, photorealistic rendering. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/42fbb747-ec55-4f4c-9963-10f35d55ca07.webp)
P1 Multiview To 3d
Tripo3D P1 Multiview-to-3D turns 2 to 4 views of one object into a 3D model with Tripo's P1 low-poly model (up to 20,000 faces) with clean, structured topology for games and mobile. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/d14ec929-50d9-45a4-b647-5392137f87c0.webp)
P1 Image To 3d
Tripo3D P1 Image-to-3D turns a single image into a 3D model with Tripo's P1 low-poly model (up to 20,000 faces) with clean, structured topology for games and mobile. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/97b1b856-a13c-46b3-b66f-b492ebbd2ac5.webp)
P1 Text To 3d
Tripo3D P1 Text-to-3D turns a text description into a 3D model with Tripo's P1 low-poly model (up to 20,000 faces) with clean, structured topology for games and mobile. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/99c1b99d-6ad6-41df-902d-b827eeb478e5.webp)
P2 Multiview To 3d
Tripo3D P2 Multiview-to-3D turns 2 to 4 views of one object into a 3D model with Tripo's P2 model with native quad topology (up to 50,000 triangles or 25,000 quads) for games and real-time pipelines. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1789120469485135019_JgV4dnxH.webp)
H3.1 Image To 3d
Tripo3D H3.1 Image-to-3D turns a single image into a 3D model with Tripo's high-fidelity H3.1 model (up to 2 million faces) for production assets and 3D printing. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1789121462422748330_z6vFNX5f.webp)
H3.1 Text To 3d
Tripo3D H3.1 Text-to-3D turns a text description into a 3D model with Tripo's high-fidelity H3.1 model (up to 2 million faces) for production assets and 3D printing. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1789119021280909633_El6fpyHQ.webp)
H3.1 Multiview To 3d
Tripo3D H3.1 Multiview-to-3D turns 2 to 4 views of one object into a 3D model with Tripo's high-fidelity H3.1 model (up to 2 million faces) for production assets and 3D printing. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1790055359461222633_sVA5nxPe.webp)
P2 Image To 3d
Tripo3D P2 Image-to-3D turns a single image into a 3D model with Tripo's P2 model with native quad topology (up to 50,000 triangles or 25,000 quads) for games and real-time pipelines. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
/filters:quality(82)/media/images/1790055357630118327_7rW5fpyH.webp)
P2 Text To 3d
Tripo3D P2 Text-to-3D turns a text description into a 3D model with Tripo's P2 model with native quad topology (up to 50,000 triangles or 25,000 quads) for games and real-time pipelines. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
ตัวอย่าง
ดู Tripo ทำงานจริง
ผลลัพธ์จริงที่สร้างโดย Tripo API วางเมาส์บนวิดีโอเพื่อดูตัวอย่าง คลิกเพื่อเปิดตัวดูขนาดเต็ม
วิธีใช้
วิธีใช้ Tripo API
สี่ขั้นตอนจากการสมัครไปจนถึงผลลัพธ์ที่เสร็จสมบูรณ์ ตัวอย่าง Python, Node.js และ cURL แบบเต็มอยู่ในส่วน API ด้านล่าง
- 01
รับ API key
สมัครบัญชี WaveSpeedAI แล้วคัดลอก API key จากแดชบอร์ด บัญชีใหม่มาพร้อมเครดิตเริ่มต้นฟรี เพียงพอให้ลองใช้ playground ได้หลายสิบครั้งก่อนเริ่มเรียกเก็บเงิน
- 02
ส่ง prediction
POST อินพุตของคุณเป็น JSON ไปที่ https://api.wavespeed.ai/api/v3/tripo3d/h3.1/image-to-3d endpoint จะส่ง prediction id กลับมาทันที การสร้างทำงานแบบอะซิงโครนัส คุณจึงไม่ต้องเปิดการเชื่อมต่อค้างไว้ระหว่างประมวลผล
- 03
poll เพื่อรอให้เสร็จ
GET https://api.wavespeed.ai/api/v3/predictions/{request_id}/result เมื่อสถานะเป็น completed ให้นำผลลัพธ์ไปใช้ เมื่อเป็น failed, cancelled, timeout หรือ deleted ให้หยุดพร้อมแจ้งข้อผิดพลาด และ poll ต่อไปสำหรับสถานะอื่นทั้งหมด
- 04
อ่าน URL ของผลลัพธ์
เมื่อสถานะเป็น "completed" ให้อ่าน URL จาก data.outputs[0] URL ชี้ไปยังสื่อที่สร้างขึ้นของคุณบน CDN ของ WaveSpeedAI ซึ่งเป็นภาพ วิดีโอ เสียง หรือไฟล์ 3D ตามแบบของ Tripo ที่คุณเรียกใช้
กรณีการใช้งาน
สิ่งที่คุณสร้างได้ด้วย Tripo
เวิร์กโฟลว์ทั่วไปที่นักพัฒนาและครีเอเตอร์ใช้ Tripo API
ตัวละครและพร็อพพร้อมใช้ในเกม
tripo3d/p2/image-to-3d สร้างโทโพโลยี quad ที่สะอาด แก้ไขและ rig ได้ง่าย ส่วน tripo3d/p1 สร้างเมช low-poly ขนาดกะทัดรัดสำหรับมือถือและฉากเรียลไทม์
แอสเซ็ตความละเอียดสูงและการพิมพ์ 3D
tripo3d/h3.1 ที่มีรูปทรงละเอียดสร้างได้ถึง 2 ล้านเฟซ สำหรับแอสเซ็ตหลัก การแสดงภาพผลิตภัณฑ์ และการพิมพ์
rig และทำแอนิเมชันในการเรียกครั้งเดียว
tripo3d/animate เพิ่มโครงกระดูกให้ตัวละครมนุษย์หรือสิ่งมีชีวิต แล้วใส่แอนิเมชันสำเร็จรูปอย่างเดิน วิ่ง กระโดด ส่วน tripo3d/rig ส่งคืนเฉพาะโมเดลที่ rig แล้ว
แก้ไขและปรับแต่งโมเดลที่มีอยู่
Retopology สร้างเมชที่หนาแน่นขึ้นใหม่ด้วยโพลีกอนที่น้อยลงและสะอาดขึ้น Smart UV unwrap ใหม่ และ Texture วาดวัสดุใหม่จากพรอมต์หรือภาพ
ชิ้นส่วนที่แก้ไขได้
Segment, การเติมเมชให้สมบูรณ์ และการแบ่งส่วนอัจฉริยะ แยกโมเดลเป็นชิ้นส่วนที่มีชื่อและแก้ไขแยกกันได้ พร้อมเติมบริเวณที่ถูกบัง
splat สมจริงเหมือนภาพถ่าย
tripo3d/splat/image-to-splat แปลงภาพเดียวเป็น Gaussian splat สำหรับการเรนเดอร์แบบเรียลไทม์ที่สมจริงเหมือนภาพถ่าย
เคล็ดลับ
เคล็ดลับการเขียนพรอมต์สำหรับ Tripo
คำแนะนำเชิงปฏิบัติเพื่อให้ได้ผลลัพธ์ที่ดีขึ้นจาก Tripo — มาจากรูปแบบที่ได้ผลกับโมเดล3Dในไปป์ไลน์การผลิตจริง
- 01
เลือกโมเดลตามปลายทางของแอสเซ็ต
ใช้ H3.1 สำหรับแอสเซ็ตหลักที่ละเอียดและการพิมพ์ P2 สำหรับเมช quad ที่คุณจะ rig หรือแก้ไข และ P1 สำหรับแอสเซ็ต low-poly ที่เบาในเกมและบนมือถือ
- 02
ใส่มุมมองด้านหน้าก่อนสำหรับ multiview
Multiview-to-3D ต้องมีมุมมองด้านหน้า เพิ่มมุมซ้าย หลัง และขวาเท่าที่คุณมี เพื่อให้ด้านข้างและด้านหลังแม่นยำขึ้น
- 03
ตั้งแกนด้านหน้าเป็นขั้นตอนสุดท้าย
คงการวางแนวเริ่มต้นไว้ขณะ texture, rig หรือ retopology จากนั้นค่อยตั้งการวางแนวสำหรับส่งออกในขั้นตอน convert
- 04
ทำ retopology ก่อน rig โมเดลที่หนาแน่น
ให้เมชที่หนาแน่นมากผ่าน retopology ก่อน เมชที่สะอาดและเบากว่าจะ rig และทำแอนิเมชันได้เสถียรกว่า
ราคา
ราคา Tripo API
คิดราคาตามผลลัพธ์ ค่าใช้จ่ายสุดท้ายขึ้นอยู่กับพารามิเตอร์ที่คุณตั้งใน playground ของแต่ละแบบ (ความละเอียด ความยาว จำนวนผลลัพธ์ ภาพอ้างอิง)
| Endpoint | ประเภท | ราคาเริ่มต้น |
|---|---|---|
| tripo3d/ | image-to-3d | $0.36 |
| tripo3d/ | image-to-3d | $0.36 |
| tripo3d/ | text-to-3d | $0.24 |
| tripo3d/ | image-to-3d | $0.66 |
| tripo3d/ | image-to-3d | $1.02 |
| tripo3d/ | image-to-3d | $1.08 |
| tripo3d/ | image-to-3d | $0.48 |
| tripo3d/ | image-to-3d | $0.24 |
| tripo3d/ | image-to-3d | $0.42 |
| tripo3d/ | image-to-3d | $0.42 |
| tripo3d/ | image-to-3d | $0.30 |
| tripo3d/ | image-to-3d | $0.06 |
| tripo3d/ | image-to-3d | $0.12 |
| tripo3d/ | image-to-3d | $0.36 |
| tripo3d/ | image-to-3d | $0.60 |
| tripo3d/ | image-to-3d | $0.60 |
| tripo3d/ | text-to-3d | $0.48 |
| tripo3d/ | image-to-3d | $1.32 |
| tripo3d/ | image-to-3d | $0.36 |
| tripo3d/ | text-to-3d | $0.24 |
| tripo3d/ | image-to-3d | $0.36 |
| tripo3d/ | image-to-3d | $1.32 |
| tripo3d/ | text-to-3d | $1.32 |
API
เรียกใช้ Tripo API
สมัครรับ API key ที่ wavespeed.ai/accesskey แล้วส่ง prediction ผ่าน REST playground สร้างตัวอย่างพร้อมวางได้สำหรับอินพุตทุกแบบ
POSThttps://api.wavespeed.ai/api/v3/tripo3d/h3.1/image-to-3d
# 1. Submit the prediction.
SUBMIT_RESPONSE=$(curl --silent --show-error --fail-with-body \
-X POST "https://api.wavespeed.ai/api/v3/tripo3d/h3.1/image-to-3d" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"texture": true,
"pbr": true,
"texture_quality": "standard",
"texture_version": "v3.0-20250812",
"delight": true,
"geometry_quality": "standard",
"quad": false,
"smart_low_poly": false,
"generate_parts": false,
"texture_alignment": "original_image",
"orientation": "default",
"enable_image_autofix": false,
"auto_size": false,
"export_uv": true
}')
TASK=$(printf '%s' "$SUBMIT_RESPONSE" | jq 'if has("data") then .data else . end')
PREDICTION_ID=$(printf '%s' "$TASK" | jq -r '.id')
if [ -z "$PREDICTION_ID" ] || [ "$PREDICTION_ID" = "null" ]; then
printf 'Submission response did not contain a prediction id
' >&2
exit 1
fi
RESULT_URL="https://api.wavespeed.ai/api/v3/predictions/$PREDICTION_ID/result"
# 2. Poll until the prediction finishes.
while true; do
RESPONSE=$(curl --silent --show-error --fail-with-body "$RESULT_URL" \
-H "Authorization: Bearer $WAVESPEED_API_KEY")
RESULT=$(printf '%s' "$RESPONSE" | jq 'if has("data") then .data else . end')
STATUS=$(printf '%s' "$RESULT" | jq -r '.status')
case "$STATUS" in
completed) printf '%s\n' "$RESULT" | jq '.outputs'; break ;;
failed|cancelled|timeout|deleted) printf '%s\n' "$RESULT" | jq . >&2; exit 1 ;;
*) sleep 2 ;;
esac
doneconst submitUrl = "https://api.wavespeed.ai/api/v3/tripo3d/h3.1/image-to-3d";
const apiKey = process.env.WAVESPEED_API_KEY;
if (!apiKey) throw new Error('Set WAVESPEED_API_KEY');
async function requestJson(url, options = {}) {
const response = await fetch(url, options);
if (!response.ok) throw new Error(await response.text());
return response.json();
}
// 1. Submit the prediction.
const body = await requestJson(submitUrl, {
method: "POST",
headers: {
"Authorization": `Bearer ${apiKey}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"texture": true,
"pbr": true,
"texture_quality": "standard",
"texture_version": "v3.0-20250812",
"delight": true,
"geometry_quality": "standard",
"quad": false,
"smart_low_poly": false,
"generate_parts": false,
"texture_alignment": "original_image",
"orientation": "default",
"enable_image_autofix": false,
"auto_size": false,
"export_uv": true
}),
});
const task = body.data ?? body;
const resultUrl = `https://api.wavespeed.ai/api/v3/predictions/${task.id}/result`;
// 2. Poll until the prediction finishes.
while (true) {
const resultBody = await requestJson(resultUrl, {
headers: { "Authorization": `Bearer ${apiKey}` },
});
const result = resultBody.data ?? resultBody;
if (result.status === "completed") {
console.log(result.outputs);
break;
}
if (["failed", "cancelled", "timeout", "deleted"].includes(result.status)) throw new Error(JSON.stringify(result));
await new Promise(resolve => setTimeout(resolve, 2000));
}import json
import os
import time
from urllib.request import Request, urlopen
api_key = os.environ["WAVESPEED_API_KEY"]
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
payload = {
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"texture": True,
"pbr": True,
"texture_quality": "standard",
"texture_version": "v3.0-20250812",
"delight": True,
"geometry_quality": "standard",
"quad": False,
"smart_low_poly": False,
"generate_parts": False,
"texture_alignment": "original_image",
"orientation": "default",
"enable_image_autofix": False,
"auto_size": False,
"export_uv": True
}
def request_json(url, data=None):
request = Request(url, data=data, headers=headers, method="POST" if data else "GET")
with urlopen(request) as response:
return json.load(response)
# 1. Submit the prediction.
body = request_json("https://api.wavespeed.ai/api/v3/tripo3d/h3.1/image-to-3d", json.dumps(payload).encode())
task = body.get("data", body)
result_url = f"https://api.wavespeed.ai/api/v3/predictions/{task['id']}/result"
# 2. Poll until the prediction finishes.
while True:
result_body = request_json(result_url)
result = result_body.get("data", result_body)
status = result.get("status")
if status == "completed":
print(result.get("outputs", []))
break
if status in {"failed", "cancelled", "timeout", "deleted"}:
raise RuntimeError(result)
time.sleep(2)เปรียบเทียบ
Tripo เทียบกับทางเลือกอื่น
เมื่อไรควรเลือก Tripo แทนโมเดลที่คล้ายกันบน WaveSpeedAI
Tripo เทียบกับ Tripo Studio
Tripo Studio คือเว็บแอปของ Tripo ส่วน endpoint ของ Tripo บน WaveSpeedAI รันโมเดลเดียวกันผ่าน REST สำหรับเซิร์ฟเวอร์ งานแบบแบตช์ และแอปที่สร้าง 3D ให้ผู้ใช้ของตัวเอง โดยใช้ API key เดียวกับโมเดลอื่นทั้งหมด
Tripo เทียบกับ Meshy
Meshy ก็มีบน WaveSpeedAI เช่นกัน Tripo โดดเด่นเรื่องโทโพโลยี quad แบบเนทีฟ (P2) จำนวนเฟซสูงมาก (H3.1) Gaussian splat และการแบ่งส่วนชิ้นงาน ลองเปรียบเทียบทั้งสองด้วยอินพุตของคุณเอง
Tripo เทียบกับ Hunyuan3D
Hunyuan3D สร้างเมชที่มีเท็กซ์เจอร์จากข้อความหรือภาพ Tripo เพิ่มโมเดล low-poly และ quad โดยเฉพาะ พร้อมชุดเครื่องมือครบสำหรับ rigging, retopology, UV และการแบ่งส่วน
คำถามที่พบบ่อย
Tripo API — คำถามที่พบบ่อย
ราคา สัญญาอนุญาต การเชื่อมต่อ — คำถามที่พบบ่อยเกี่ยวกับการรัน Tripo บน WaveSpeedAI
มีโมเดล Tripo อะไรบ้างบน WaveSpeedAI?
H3.1, P2 และ P1 โดยแต่ละตัวมี text-to-3d, image-to-3d และ multiview-to-3d รวมถึง image-to-splat และเครื่องมือ texture, convert, rig, animate, retopology, smart UV, segment, การเติมเมชให้สมบูรณ์ และการแบ่งส่วนอัจฉริยะ ทุก endpoint ที่เปิดให้ใช้งานอยู่แสดงไว้ในหน้านี้พร้อมราคาปัจจุบัน
ควรเริ่มด้วยโมเดลไหน?
H3.1 สำหรับแอสเซ็ตที่ละเอียดและสมจริงที่สุด, P2 เมื่อต้องการโทโพโลยี quad ที่สะอาดสำหรับเกมและแอนิเมชัน, P1 สำหรับเมช low-poly ที่เบาที่สุด
endpoint ของ Tripo คิดราคาอย่างไร?
คิดต่อหนึ่งงาน ตามราคาที่แสดงในหน้าโมเดลแต่ละหน้าและในตารางด้านบน ตัวเลือกอย่างเท็กซ์เจอร์แบบละเอียดหรือเอาต์พุต quad จะเปลี่ยนราคาตามที่ระบุไว้ WaveSpeedAI เป็นแบบจ่ายตามการใช้งาน: ไม่มีค่าสมาชิก และเครดิตไม่มีวันหมดอายุ
Tripo API คืออะไร
Tripo คือโมเดล3Dของ Tripo ที่เปิดให้ใช้เป็น REST API บน WaveSpeedAI Tripo API บน WaveSpeedAI — โมเดล 3D ทางการของ Tripo ผ่าน REST: H3.1 สำหรับแอสเซ็ตความละเอียดสูง, P2 สำหรับโทโพโลยี quad แบบเนทีฟ และ P1 สำหรับแอสเซ็ตเกม low-poly จากข้อความ ภาพเดียว หรือหลายมุมมอง รวมถึง Gaussian splat และเครื่องมือสำหรับ retexture, rig, สร้างแอนิเมชัน, retopology, unwrap UV, แบ่งส่วน และแปลงโมเดล 3D คุณเรียกใช้ผ่านโค้ดหรือลองใช้จาก playground ที่ลิงก์ไว้ด้านบนได้
เรียกใช้ Tripo API อย่างไร
สมัครบัญชี WaveSpeedAI คัดลอก API key จาก /accesskey แล้ว POST ไปที่ https://api.wavespeed.ai/api/v3/tripo3d/h3.1/image-to-3d พร้อมอินพุตของคุณเป็น JSON endpoint จะส่ง prediction id กลับมา poll endpoint ผลลัพธ์โดยเริ่มประมาณทุก 2 วินาที เพิ่มช่วงเวลาสำหรับงานที่ใช้เวลานาน และหยุดเมื่อได้สถานะสิ้นสุดใดๆ ตัวอย่าง Python / Node.js / cURL ที่เหมาะกับงานจริงอยู่ด้านบน
Tripo API มีค่าใช้จ่ายเท่าไร
Tripo เริ่มต้นที่ $0.06 ค่าใช้จ่ายจริงขึ้นอยู่กับพารามิเตอร์ที่คุณตั้ง (ความละเอียด ความยาว จำนวนผลลัพธ์ ภาพอ้างอิง) ตัวอย่างค่าใช้จ่ายแบบเรียลไทม์ข้างปุ่ม Generate ใน playground แสดงราคาที่แน่นอนสำหรับอินพุตปัจจุบันของคุณ
Tripo มีแบบไหนให้ใช้บ้าง
WaveSpeedAI มี endpoint Tripo ที่ใช้งานได้ 23 รายการ: tripo3d/h3.0/multiview-to-3d, tripo3d/h3.0/image-to-3d, tripo3d/h3.0/text-to-3d, tripo3d/smart-segment/model, tripo3d/smart-segment/image, tripo3d/mesh-complete, tripo3d/segment, tripo3d/smart-uv, และอื่นๆ แต่ละแบบมีหน้า playground และราคาของตัวเอง
ใช้ผลลัพธ์ของ Tripo เชิงพาณิชย์ได้ไหม
สิทธิ์ในการใช้เชิงพาณิชย์เป็นไปตามสัญญาอนุญาตของโมเดล Tripo โมเดลของ Tripo ส่วนใหญ่อนุญาตให้ใช้ผลลัพธ์เชิงพาณิชย์ ดูสรุปสัญญาอนุญาตเฉพาะในหน้า playground ของแต่ละโมเดล และข้อกำหนดการใช้บริการของ WaveSpeedAI สำหรับเงื่อนไขระดับแพลตฟอร์ม
ทำไมต้องใช้ Tripo บน WaveSpeedAI แทนการเชื่อมต่อตรง
API key เดียวและบัญชีเรียกเก็บเงินเดียวสำหรับ Tripo และโมเดล AI อื่นกว่า 1,000 รายการจากผู้ให้บริการอื่น ไม่ต้องตั้งค่า SDK แยกตามผู้ให้บริการ ไม่ต้องจัดการขีดจำกัดอัตราแยกกัน และไม่ต้องเขียนโค้ดเชื่อมต่อใหม่ทุกครั้งที่เปลี่ยนผู้ให้บริการ โดยทั่วไปราคาเท่ากับหรือต่ำกว่า API ตรงของ Tripo
ผู้พัฒนา
เกี่ยวกับ Tripo
ทีมเบื้องหลัง Tripo และกลุ่มโมเดลอื่นๆ ของ Tripo บน WaveSpeedAI
Tripo เป็นบริษัท AI 3D ที่โมเดลของบริษัทเปลี่ยนข้อความและภาพให้เป็นแอสเซ็ต 3D พร้อมใช้งานจริง: ซีรีส์ H สำหรับโมเดลความละเอียดสูง ซีรีส์ P สำหรับโทโพโลยี quad ที่สะอาดและ low-poly รวมถึงเครื่องมือสำหรับ rigging, retopology, UV และการแบ่งส่วน บน WaveSpeedAI โมเดลของ Tripo ให้บริการเป็น endpoint REST ด้วย API key เดียวและราคาแบบจ่ายตามการใช้งาน
เริ่มสร้างด้วย Tripo บน WaveSpeedAI
รับเครดิตเริ่มต้นฟรีเมื่อสมัคร API key เดียวใช้ได้กับโมเดล AI กว่า 1,000 รายการจาก Tripo และผู้ให้บริการอื่นทุกราย