ข้ามไปยังเนื้อหา

Meshy V7 Multi Image to 3D

ผสานการทำงาน

ID โมเดล meshy/v7/multi-image-to-3d
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/meshy/v7/multi-image-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ไฟล์เช่นเดียวกับตัวอย่าง: $1.20 1,200 เครดิต API ไฟล์ของคุณจะถูกวัดก่อนเรียกใช้ เรียกใช้ในหน้านี้

รับคีย์ API
Meshy ภาพเป็น 3D #stylized#transform

สร้างโมเดล 3D หนึ่งโมเดลจากมุมมอง 1 ถึง 4 มุมของวัตถุเดียว พร้อมการควบคุมจำนวนโพลิกอนและโทโพโลยี

Meshy · 3D

ผลลัพธ์แรกของคุณจะแสดงที่นี่

สร้างคำขอด้านล่างและเรียกใช้ด้วยคีย์ API ของคุณ เอาต์พุตจะถูกคัดลอกไปยังพื้นที่จัดเก็บของเรา และเก็บไว้ตลอดไปหรือฟรี 7 วัน

สร้างคำขอ

ตัวควบคุมสร้างจากสคีมาของโมเดล โค้ดและราคาจะอัปเดตเมื่อคุณเปลี่ยนค่า

•จำเป็น image_urls
วางไฟล์ หรือ

ชุดรูปภาพสำหรับการสร้าง 3D รองรับ .jpg, .jpeg, .png รวมถึง AVIF/HEIF โดยจะแปลงรูปแบบอัตโนมัติ ระบุ 1 ถึง 4 มุมมองที่แสดงวัตถุเดียวกันจากมุมต่าง ๆ รายการที่เกิน 4 รายการแรกจะไม่ถูกใช้งาน

geometry_resolution

ความละเอียดของเรขาคณิต โดยไม่รองรับ 4k สำหรับการสร้างจากหลายรูปภาพ

ขั้นสูง texture_prompt · texture_image_url · topology · symmetry_mode · pose_mode · target_polycount · rigging_height_meters · animation_action_id · should_remesh · enable_pbr · is_a_t_pose · enable_safety_checker
0 / 600

คำแนะนำด้านเท็กซ์เจอร์ที่ระบุเป็นพรอมต์ข้อความ โดยต้องตั้งค่า should_texture เป็น true

วางไฟล์ หรือ

คำแนะนำด้านเท็กซ์เจอร์ที่ระบุเป็นรูปภาพ 2D โดยต้องตั้งค่า should_texture เป็น true

topology ค่าเริ่มต้น triangle

ตัวเลือก topology ของโมเดลระหว่าง Triangle สำหรับรายละเอียดทางเรขาคณิต และ Quad สำหรับความเรียบของพื้นผิว

symmetry_mode ค่าเริ่มต้น auto

การตั้งค่าความสมมาตรที่ใช้ระหว่างการสร้างโมเดล

pose_mode ค่าเริ่มต้น

เว้นสตริงให้ว่างเพื่อไม่ระบุท่าของโมเดลที่สร้างขึ้น หรือขอท่า A-pose ด้วย 'a-pose' หรือท่า T-pose ด้วย 't-pose'

ค่าเริ่มต้น 30000

จำนวนโพลิกอนที่ต้องการสำหรับโมเดลเอาต์พุต

ค่าเริ่มต้น 1.7

ระบุความสูงโดยประมาณของตัวละครเป็นเมตรเมื่อ enable_rigging เป็น true มิฉะนั้นค่านี้จะไม่มีผล

ค่าเริ่มต้น 92

รหัสแอนิเมชันที่กำหนดไว้ล่วงหน้าจากไลบรารี Meshy โดยรายการแอ็กชันที่ใช้ได้อยู่ที่ https://docs.meshy.ai/en/api/animation-library การตรวจสอบและการใช้งานมีผลเฉพาะเมื่อ enable_animation เป็น true: ค่าที่อยู่นอกช่วง [0, 696] จะถูกปฏิเสธด้วย 422 และ "Idle" ตรงกับ `0`

POST /run/meshy/v7/multi-image-to-3d?wait=20 ใบเสนอราคา → $1.20
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/meshy/v7/multi-image-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

เรียกใช้คำขอนี้

คีย์ของคุณจะอยู่ในเบราว์เซอร์นี้ โดยส่งไปยัง Doitong API เท่านั้น และจะบันทึกใน localStorage ก็ต่อเมื่อคุณเลือกจดจำ รับคีย์ API

เกี่ยวกับ Meshy V7 Multi Image to 3D

สร้างวัตถุเดียวขึ้นใหม่จาก `image_urls` ซึ่งรับรูปภาพของวัตถุนั้นจากมุมต่าง ๆ จำนวนหนึ่งถึงสี่รูป ตั้ง `topology` เป็น quad หรือ triangle และ `target_polycount` ตั้งแต่ 100 ถึง 300000 แล้วเลือก `geometry_resolution` เป็น standard หรือ 2k การสร้างเท็กซ์เจอร์เป็นตัวเลือกผ่าน `should_texture` โดยมีแผนที่ PBR โหมดท่าทาง ริกกิง และแอนิเมชันให้ใช้งาน เอาต์พุตประกอบด้วย GLB และรูปแบบอื่น ๆ

พารามิเตอร์

ส่งชื่อมาตรฐานหรือชื่อดั้งเดิมอย่างใดอย่างหนึ่งเท่านั้น ห้ามส่งทั้งสองชื่อ ชื่อมาตรฐาน

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
image_urlsจำเป็น images
ประเภทurl[] · image
ชุดรูปภาพสำหรับการสร้าง 3D รองรับ .jpg, .jpeg, .png รวมถึง AVIF/HEIF โดยจะแปลงรูปแบบอัตโนมัติ ระบุ 1 ถึง 4 มุมมองที่แสดงวัตถุเดียวกันจากมุมต่าง ๆ รายการที่เกิน 4 รายการแรกจะไม่ถูกใช้งาน
topologyไม่บังคับ
ประเภทenum
ค่าเริ่มต้นtriangle
quadtriangle
ตัวเลือก topology ของโมเดลระหว่าง Triangle สำหรับรายละเอียดทางเรขาคณิต และ Quad สำหรับความเรียบของพื้นผิว
target_polycountไม่บังคับ
ประเภทinteger
ค่าเริ่มต้น30000
100 – 300,000
จำนวนโพลิกอนที่ต้องการสำหรับโมเดลเอาต์พุต
symmetry_modeไม่บังคับ
ประเภทenum
ค่าเริ่มต้นauto
offautoon
การตั้งค่าความสมมาตรที่ใช้ระหว่างการสร้างโมเดล
should_remeshไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
กำหนดว่าจะเรียกใช้ขั้นตอน remesh หรือไม่ หากตั้งค่าเป็น false จะสร้างเมชสามเหลี่ยม โดยจะไม่ใช้ topology และ target_polycount
should_textureไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
เปิดหรือปิดการสร้างเท็กซ์เจอร์
enable_pbrไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นfalse
ตัวเลือกเอาต์พุต PBR เพิ่มเติม ใช้ได้เฉพาะเมื่อตั้งค่า should_texture เป็น true โดยจะเพิ่ม metallic, roughness และ normal maps นอกเหนือจาก base color
is_a_t_poseไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นfalse
สวิตช์การสร้างท่า T-pose ซึ่งเปิดใช้เมื่อเป็น true และเลิกใช้แล้วแทนที่ด้วย pose_mode
pose_modeไม่บังคับ
ประเภทenum
ค่าเริ่มต้น
a-poset-pose
เว้นสตริงให้ว่างเพื่อไม่ระบุท่าของโมเดลที่สร้างขึ้น หรือขอท่า A-pose ด้วย 'a-pose' หรือท่า T-pose ด้วย 't-pose'
texture_promptไม่บังคับ
ประเภทstring | null
≤ 600 อักขระ
คำแนะนำด้านเท็กซ์เจอร์ที่ระบุเป็นพรอมต์ข้อความ โดยต้องตั้งค่า should_texture เป็น true
texture_image_urlไม่บังคับ
ประเภทurl · image
คำแนะนำด้านเท็กซ์เจอร์ที่ระบุเป็นรูปภาพ 2D โดยต้องตั้งค่า should_texture เป็น true
enable_riggingไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นfalse
การทำ rigging อัตโนมัติสำหรับตัวละครรูปมนุษย์ ซึ่งมีประสิทธิภาพสูงสุดกับโมเดลรูปมนุษย์ที่มีแขนขาแยกแยะได้อย่างชัดเจน เมื่อเปิดใช้ ระบบจะทำ rigging ให้โมเดลที่สร้างขึ้นและจัดเตรียมแอนิเมชันพื้นฐานสำหรับการเดินและการวิ่ง
rigging_height_metersไม่บังคับ
ประเภทnumber
ค่าเริ่มต้น1.7
> 0
ระบุความสูงโดยประมาณของตัวละครเป็นเมตรเมื่อ enable_rigging เป็น true มิฉะนั้นค่านี้จะไม่มีผล
enable_animationไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นfalse
ระบุว่าโมเดลที่ทำ rigging แล้วจะได้รับแอนิเมชันที่กำหนดไว้ล่วงหน้าหรือไม่ ซึ่งต้องให้ enable_rigging เป็น true
animation_action_idไม่บังคับ
ประเภทinteger
ค่าเริ่มต้น92
รหัสแอนิเมชันที่กำหนดไว้ล่วงหน้าจากไลบรารี Meshy โดยรายการแอ็กชันที่ใช้ได้อยู่ที่ https://docs.meshy.ai/en/api/animation-library การตรวจสอบและการใช้งานมีผลเฉพาะเมื่อ enable_animation เป็น true: ค่าที่อยู่นอกช่วง [0, 696] จะถูกปฏิเสธด้วย 422 และ "Idle" ตรงกับ `0`
enable_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
สวิตช์ตรวจสอบความปลอดภัยก่อนการประมวลผล: true ทำให้การตรวจสอบความปลอดภัยของอินพุตเป็นเงื่อนไขที่ต้องทำก่อนประมวลผล
geometry_resolutionไม่บังคับ
ประเภทenum
standard2k
ความละเอียดของเรขาคณิต โดยไม่รองรับ 4k สำหรับการสร้างจากหลายรูปภาพ
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

พารามิเตอร์ไฟล์รับ URL https:// สาธารณะ, data: URI ขนาดไม่เกิน 10 MB หรือ file_url ของไฟล์ที่อัปโหลด ไฟล์

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "meshy/v7/multi-image-to-3d",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 1200,
    "usd": "1.20",
    "charged": 1200,
    "refunded": 0
  },
  "input": {
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "animation_glb": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "animation_fbx": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "model_glb": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "thumbnail": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "model_urls": {
      "glb": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "fbx": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "obj": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "usdz": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "blend": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "stl": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      }
    },
    "texture_urls": [
      {
        "base_color": {
          "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
          "content_type": "image/jpeg",
          "file_name": "0-output.jpeg",
          "file_size": 1843200
        },
        "metallic": {
          "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
          "content_type": "image/jpeg",
          "file_name": "0-output.jpeg",
          "file_size": 1843200
        },
        "normal": {
          "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
          "content_type": "image/jpeg",
          "file_name": "0-output.jpeg",
          "file_size": 1843200
        },
        "roughness": {
          "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
          "content_type": "image/jpeg",
          "file_name": "0-output.jpeg",
          "file_size": 1843200
        }
      }
    ],
    "seed": 42,
    "rigged_character_glb": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "rigged_character_fbx": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "basic_animations": {
      "walking_glb": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "walking_fbx": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "walking_armature_glb": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "running_glb": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "running_fbx": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      },
      "running_armature_glb": {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      }
    },
    "rig_task_id": "string"
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ไฟล์ของคุณ คุณเลือกเองทุก outputs[].url คือสำเนาบนพื้นที่จัดเก็บของเรา: เก็บไว้ตลอดไป (คิดค่าบริการต่อ GB-เดือน) หรือฟรี 7 วัน โดยกำหนดได้ในการตั้งค่าบัญชีหรือ ?storage=
รูปแบบเดียวกันในทุกโมเดลtype, url, content_type, width, height และ duration สำหรับภาพ วิดีโอ และเสียงเหมือนกันทั้งหมด ส่วน output คือออบเจ็กต์ผลลัพธ์ของโมเดลเอง
ฟิลด์ของเอาต์พุต
animation_glb
object {url, content_type, file_name, file_size} | nullผลลัพธ์แอนิเมชันที่มีโมเดล 3D เป็น GLB โดยการตอบกลับจะไม่รวมผลลัพธ์นี้ เว้นแต่ enable_animation จะเป็น true
animation_fbx
object {url, content_type, file_name, file_size} | nullผลลัพธ์แอนิเมชันที่มีโมเดล 3D เป็น FBX โดยการตอบกลับจะไม่รวมผลลัพธ์นี้ เว้นแต่ enable_animation จะเป็น true
model_glb
object {url, content_type, file_name, file_size}ไฟล์ GLB ที่มีวัตถุ 3D ที่สร้างขึ้น
thumbnail
object {url, content_type, file_name, file_size} | nullภาพขนาดย่อที่แสดงตัวอย่างโมเดลที่สร้างขึ้น
model_urls
object {glb, fbx, obj, usdz, blend, stl}ลิงก์ไปยังโมเดล 3D ในรูปแบบต่าง ๆ
texture_urls
array of object {base_color, metallic, normal, roughness}ไฟล์พื้นผิวที่แสดงเป็นอาร์เรย์ของออบเจ็กต์
seed
integer | nullซีดการสร้าง หากมี
rigged_character_glb
object {url, content_type, file_name, file_size} | nullผลลัพธ์การทำ rigging ที่ส่งคืนเป็นไฟล์ตัวละคร GLB โดยจะไม่มีในคำตอบ เว้นแต่ enable_rigging เป็น true
rigged_character_fbx
object {url, content_type, file_name, file_size} | nullผลลัพธ์การทำ rigging ที่ส่งคืนเป็นไฟล์ตัวละคร FBX โดยจะไม่มีในคำตอบ เว้นแต่ enable_rigging เป็น true
basic_animations
object {walking_glb, walking_fbx, walking_armature_glb, running_glb, running_fbx, running_armature_glb} | nullแอนิเมชันการเดินและการวิ่งพื้นฐาน ซึ่งรวมอยู่เฉพาะเมื่อ enable_rigging เป็น true
rig_task_id
string | nullตัวระบุงานทำ rigging ซึ่งรวมอยู่เฉพาะเมื่อ enable_rigging เป็น true

โมเดลเพิ่มเติม: ภาพเป็น 3D

สำหรับเอเจนต์ AI: หน้า Markdown นี้อยู่ที่ https://doitong.com/th/developers/models/meshy/v7/multi-image-to-3d.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt