Skip to main content

3d models

Meshy 3D API / สำหรับการสร้าง image-to-3D และ text-to-3D

ใช้ ผ่าน PiAPI เพื่อส่งงานสร้าง 3D แบบอะซิงโครนัสและรับแอสเซ็ต GLB ที่เสร็จสมบูรณ์

เริ่มต้นเลย!

ราคา Meshy 3D API

ชำระเงินต่อการสร้างที่สำเร็จผ่าน PiAPI

Image to 3D mesh

$0.24

  • Mesh-only GLB output

Image to 3D textured

from $0.36

  • 2k — $0.36
  • 4k — $0.36
  • 8k — $0.42

Text preview → refine

from $0.24

  • Preview — $0.24
  • Refine 2K/4K — $0.12
  • Refine 8K — $0.18

ฟีเจอร์ Meshy 3D API

การสร้าง image-to-3D

ส่ง URL รูปภาพ แล้วเลือกผลลัพธ์แบบเมชอย่างเดียวหรือแบบมีพื้นผิวที่ความละเอียดพื้นผิว 2K, 4K หรือ 8K

พรีวิว text-to-3D

เริ่มงานตัวอย่างข้อความเป็น 3D ด้วยพรอมต์ จากนั้นใช้ PiAPI task_id ของงานที่เสร็จแล้วเพื่อปรับแต่ง

รีไฟน์พรีวิวที่เสร็จแล้ว

คำขอปรับแต่งรับ preview_task_id และคืนโมเดล GLB ที่เสร็จสมบูรณ์ผ่านขั้นตอนการตรวจสอบสถานะงานแบบเดิม

API งานแบบอะซิงโครนัส

ส่งงานไปยัง PiAPI ตรวจสอบสถานะงานเป็นระยะหรือใช้ webhook แล้วรับโมเดลที่เสร็จสมบูรณ์จาก output.model_file

เริ่มต้นอย่างรวดเร็ว

Create your API key

Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

Top up credits

Add credits on the billing page when you are ready to scale beyond the free tier.

Call the API

POST your first task following the API docs, then poll the task until the result is ready.

Iterate in the playground

Prototype prompts and settings in the the playground above before wiring them into your product.

Create a task

curl -X POST 'https://api.piapi.ai/api/v1/task' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "meshy",
  "task_type": "image-to-3d",
  "input": {
    "image_url": "YOUR_IMAGE_URL",
    "should_texture": true,
    "texture_resolution": "2k"
  }
}'

Retrieve the result

curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
  -H 'X-API-Key: YOUR_API_KEY'

model_file

Pricing

  • default: $0.36 / generation
  • mesh-only: $0.24 / generation
  • 2k: $0.36 / generation
  • 4k: $0.36 / generation
  • 8k: $0.42 / generation

คำถามที่พบบ่อยเกี่ยวกับ Meshy 3D API

การสร้างตัวอย่างและการปรับแต่งข้อความเป็น 3D ทำงานอย่างไร?

สร้างตัวอย่างด้วย mode=preview รอให้งานเสร็จ แล้วส่ง PiAPI task_id ของงานนั้นเป็น preview_task_id โดยใช้ mode=refine

คำขอรูปภาพเป็น 3D คิดราคาอย่างไร?

ราคาประเมินเปลี่ยนตาม should_texture และ texture_resolution พื้นที่ทำงานจะแสดงราคาประเมินตามค่าที่เลือกก่อนส่งงาน

ฉันจะดูสคีมาคำขอได้ที่ไหน?

ดูเอกสาร Meshy API สำหรับสร้างงานและรับข้อมูลงานที่ลิงก์ไว้ในหน้านี้

More questions? See the API docs.