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

Meshy Rigging Multi Animation

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

ID โมเดล meshy/rigging/multi-animation
# 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/rigging/multi-animation?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_url": "https://example.com/your-file.glb",
    "animation_action_ids": [
      36,
      92
    ]
  }'

# 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"

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

รับคีย์ API
Meshy 3D #stylized#transform#3d

ทำริกให้ GLB รูปมนุษย์หนึ่งครั้ง และฝังพรีเซ็ตแอนิเมชันหลายรายการในการทำงานครั้งเดียว

Meshy · ข้อมูล (JSON)

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

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

สร้างคำขอ

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

•จำเป็น

URL สำหรับทำ rigging และใส่แอนิเมชันให้ตัวละคร 3D รูปมนุษย์ที่มีแขนขาแยกแยะได้อย่างชัดเจน URL ต้องเข้าถึงได้แบบสาธารณะและชี้ไปยังไฟล์ GLB โดยโมเดลอาจมาจาก Hunyuan, Trellis, Meshy หรือเครื่องมือสร้าง 3D อื่น

•จำเป็น

รหัสแอนิเมชันที่กำหนดไว้ล่วงหน้าจากไลบรารี Meshy ต้องมีอย่างน้อยหนึ่งรายการ แต่ละรายการอยู่ในช่วง [0, 696] โดยมีคลิปที่ไม่ซ้ำกันได้สูงสุด 10 คลิปและตัดค่าซ้ำออก แต่ละรหัสจะสร้างคลิปโดยใช้ rig เดียวกัน และส่งคืนในอาร์เรย์ animations ตามลำดับที่ร้องขอ รหัสที่ใช้ได้มีเอกสารอยู่ที่ https://docs.meshy.ai/en/api/animation-library

ขั้นสูง height_meters · enable_safety_checker
ค่าเริ่มต้น 1.7

ความสูงโดยประมาณของตัวละคร วัดเป็นเมตร

POST /run/meshy/rigging/multi-animation?wait=20 ใบเสนอราคา → $0.44
# 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/rigging/multi-animation?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model_url": "https://example.com/your-file.glb",
    "animation_action_ids": [
      36,
      92
    ]
  }'

# 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 Rigging Multi Animation

ทำริกให้ GLB รูปมนุษย์จาก `model_url` และสร้างคลิปแอนิเมชันหนึ่งรายการสำหรับแต่ละ ID ใน `animation_action_ids` โดยใช้ริกเดียวกัน คลิปต่าง ๆ จะถูกส่งกลับตามลำดับคำขอในอาร์เรย์ `animations` พร้อมไฟล์ GLB และ FBX ที่ทำริกแล้ว รวมถึงแอนิเมชันเดินและวิ่งพื้นฐาน ต้องมี ID อย่างน้อยหนึ่งรายการ `height_meters` ใช้กำหนดความสูงโดยประมาณของตัวละคร

พารามิเตอร์

ชื่อประเภท ค่าเริ่มต้นค่าที่อนุญาต คำอธิบาย
model_urlจำเป็น
ประเภทstring
URL สำหรับทำ rigging และใส่แอนิเมชันให้ตัวละคร 3D รูปมนุษย์ที่มีแขนขาแยกแยะได้อย่างชัดเจน URL ต้องเข้าถึงได้แบบสาธารณะและชี้ไปยังไฟล์ GLB โดยโมเดลอาจมาจาก Hunyuan, Trellis, Meshy หรือเครื่องมือสร้าง 3D อื่น
height_metersไม่บังคับ
ประเภทnumber
ค่าเริ่มต้น1.7
> 0
ความสูงโดยประมาณของตัวละคร วัดเป็นเมตร
animation_action_idsจำเป็น
ประเภทinteger[]
รหัสแอนิเมชันที่กำหนดไว้ล่วงหน้าจากไลบรารี Meshy ต้องมีอย่างน้อยหนึ่งรายการ แต่ละรายการอยู่ในช่วง [0, 696] โดยมีคลิปที่ไม่ซ้ำกันได้สูงสุด 10 คลิปและตัดค่าซ้ำออก แต่ละรหัสจะสร้างคลิปโดยใช้ rig เดียวกัน และส่งคืนในอาร์เรย์ animations ตามลำดับที่ร้องขอ รหัสที่ใช้ได้มีเอกสารอยู่ที่ https://docs.meshy.ai/en/api/animation-library
enable_safety_checkerไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
สวิตช์ตรวจสอบความปลอดภัยก่อนการประมวลผล: true ทำให้การตรวจสอบความปลอดภัยของอินพุตเป็นเงื่อนไขที่ต้องทำก่อนประมวลผล
จำเป็น

เอาต์พุต

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "meshy/rigging/multi-animation",
  "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": 440,
    "usd": "0.44",
    "charged": 440,
    "refunded": 0
  },
  "input": {
    "model_url": "https://example.com/your-file.glb",
    "animation_action_ids": [
      36,
      92
    ]
  },
  "output": {
    "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
      }
    },
    "animations": [
      {
        "action_id": 1,
        "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
        }
      }
    ],
    "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 คือออบเจ็กต์ผลลัพธ์ของโมเดลเอง
ฟิลด์ของเอาต์พุต
rigged_character_glb
object {url, content_type, file_name, file_size} | nullตัวละครรูปแบบ GLB ที่ผ่านการทำ rigging แล้ว
rigged_character_fbx
object {url, content_type, file_name, file_size} | nullตัวละครรูปแบบ FBX ที่ผ่านการทำ rigging แล้ว
basic_animations
object {walking_glb, walking_fbx, walking_armature_glb, running_glb, running_fbx, running_armature_glb} | nullแอนิเมชันการเดินและการวิ่งพื้นฐานที่ให้มาพร้อมกับการทำ rigging
animations
array of object {action_id, animation_glb, animation_fbx}ผลลัพธ์แอนิเมชันตามลำดับที่ตรงกับรหัสแอ็กชันในคำขอ แต่ละรหัสที่ร้องขอมีรายการหนึ่งรายการซึ่งมีคลิปที่สร้างโดยใช้ rig
rig_task_id
string | nullตัวระบุงานทำ rigging ใน Meshy

โมเดลเพิ่มเติม: 3D

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