အကြောင်းအရာသို့ ကျော်ရန်

Hunyuan 3D Pro Image to 3D

ပေါင်းစည်းရန်

မော်ဒယ် id hunyuan-3d/v3.1/pro/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.ru/v1/run/hunyuan-3d/v3.1/pro/image-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input_image_url": "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

နမူနာကဲ့သို့ ဖိုင်များ: ၀.၃၇၅ $ ၃၇၅ API ခရက်ဒစ် · ≈ ၄၀.၃၀ ₽ လုပ်ဆောင်မီ သင့်ဖိုင်များကို တိုင်းတာသည် ဤစာမျက်နှာတွင် လုပ်ဆောင်ရန်

API ကီး ရယူရန်
Tencent ပုံမှ 3D #3d#hunyuan#image-to-3d

အရှေ့ဘက်ပုံနှင့် ရွေးချယ်နိုင်သော အပိုမြင်ကွင်းများမှ face count နှင့် PBR ထိန်းချုပ်မှုပါ 3D မော်ဒယ်ကို တည်ဆောက်ပေးသည်

Tencent · 3D

သင့်ပထမဆုံးရလဒ် ဤနေရာတွင် ပေါ်လာမည်

အောက်တွင် တောင်းဆိုချက်တစ်ခု တည်ဆောက်ပြီး သင့် API ကီးဖြင့် လုပ်ဆောင်ပါ။ ထွက်ရလဒ်များကို ကျွန်ုပ်တို့၏ သိုလှောင်မှုသို့ ကူးယူပြီး အမြဲတမ်း သို့မဟုတ် ၇ ရက် အခမဲ့ သိမ်းထားသည်။

တောင်းဆိုမှုတစ်ခု တည်ဆောက်ရန်

ထိန်းချုပ်မှုများကို မော်ဒယ် schema မှ အလိုအလျောက်ဖန်တီးသည်။ ၎င်းတို့ကို ပြောင်းလဲသည်နှင့် code နှင့် စျေးနှုန်းတို့လည်း ပြောင်းလဲမည်။

•လိုအပ်သည်
ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ရှေ့ဘက်မြင်ကွင်း JPG၊ PNG သို့မဟုတ် WEBP ပုံ၏ URL ဖြစ်ပြီး ရုပ်ထွက်အရည်အသွေးမှာ 128 မှ 5000px အထိ၊ အရွယ်အစားမှာ 8 MB ထက်မပိုရပါ။ ရိုးရှင်းသောနောက်ခံနှင့် ဖရိမ်၏ 50% ကျော်ကို ဖြည့်ထားသော အရာဝတ္ထုတစ်ခုတည်း ပါဝင်သည့်ပုံကို ဦးစားပေးပါ။

ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ရွေးချယ်နိုင်သော နောက်ဘက်မြင်ကွင်းပုံ URL၊ JPG/PNG ကို အကြံပြုသည်။

ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ရွေးချယ်နိုင်သော ဘယ်ဘက်မြင်ကွင်းပုံ URL၊ JPG/PNG ကို အကြံပြုသည်။

ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ရွေးချယ်နိုင်သော ညာဘက်မြင်ကွင်းပုံ URL၊ JPG/PNG ကို အကြံပြုသည်။

ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ရွေးချယ်နိုင်သော အပေါ်ဘက်မြင်ကွင်းပုံ URL ဖြစ်ပြီး v3.1 တွင်သာ ရရှိနိုင်သည်။ JPG/PNG ကို အကြံပြုသည်။

ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

ရွေးချယ်နိုင်သော အောက်ဘက်မြင်ကွင်းပုံ URL ဖြစ်ပြီး v3.1 တွင်သာ ပံ့ပိုးသည်။ JPG/PNG ကို အကြံပြုသည်။

ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

v3.1 တွင်သာ ရရှိနိုင်သော ရွေးချယ်နိုင်သည့် ပုံ URL ဖြစ်ပြီး JPG/PNG ဖော်မတ်ကို ဦးစားပေးသည်။ ပုံသည် ဘယ်ဘက်ရှေ့မှ 45 ဒီဂရီမြင်ကွင်းကို ပေးသည်။

ဖိုင်ကို ဆွဲချပါ၊ သို့မဟုတ်

v3.1 တွင်သာ ရရှိနိုင်သော ရွေးချယ်နိုင်သည့် ပုံ URL ဖြစ်ပြီး JPG/PNG ဖော်မတ်ကို ဦးစားပေးသည်။ ပုံသည် ညာဘက်ရှေ့မှ 45 ဒီဂရီမြင်ကွင်းကို ပေးသည်။

မူလ 500000

လိုချင်သော polygon မျက်နှာပြင်အရေအတွက်ကို 40,000 မှ 1,500,000 အထိ သတ်မှတ်ပါ။ မူလတန်ဖိုးမှာ 500,000 ဖြစ်သည်။

အဆင့်မြင့် generate_type
generate_type မူလ Normal

Normal ပါသော texture ထည့်ထားသည့် မော်ဒယ်နှင့် Geometry ပါသော texture မပါသည့် အဖြူရောင် geometry-only မော်ဒယ်တို့အကြား ရွေးချယ်ပါ။ v3.1 တွင် LowPoly/Sketch ကို ရွေးချယ်၍ မရပါ။

POST /run/hunyuan-3d/v3.1/pro/image-to-3d?wait=20 ကုန်ကျစရိတ် → ၀.၃၇၅ $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/hunyuan-3d/v3.1/pro/image-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input_image_url": "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

ဤတောင်းဆိုချက်ကို လုပ်ဆောင်ရန်

သင့် key သည် ဤဘရောက်ဇာထဲတွင်သာ ရှိမည်ဖြစ်ပြီး Doitong API သို့သာ ပို့မည်။ Remember ကို အမှန်ခြစ်ထားမှသာ (localStorage) တွင် သိမ်းမည်။ API ကီး ရယူရန်

Hunyuan 3D Pro Image to 3D အကြောင်း

လိုအပ်သော ရှေ့ဘက်ပုံ `input_image_url` မှ 3D မော်ဒယ်ကို ဖန်တီးပေးသည်။ နောက်၊ ဘယ်၊ ညာ၊ အပေါ်၊ အောက်နှင့် 45-degree မြင်ကွင်းနှစ်ခုကို ရွေးချယ်ထည့်သွင်းခြင်းဖြင့် အသေးစိတ်ကို တိုးမြှင့်နိုင်သည်။ `generate_type` သည် မျက်နှာပြင်အသားပေးပါသော မော်ဒယ် သို့မဟုတ် အဖြူရောင် geometry-only မော်ဒယ်ကို ရွေးချယ်ပေးသည်။ `enable_pbr` သည် PBR ပစ္စည်းများကို ထည့်ပေးပြီး `face_count` သည် 40,000 မှ 1,500,000 အထိ ဖြစ်သည်။ GLB၊ အခြားဖော်မတ် URL များနှင့် ပုံသေးကို ပြန်ပေးသည်။

ပါရာမီတာများ

အမည်အမျိုးအစား မူလတန်ဖိုးခွင့်ပြုထားသည် ဖော်ပြချက်
input_image_urlလိုအပ်သည်
အမျိုးအစားurl · image
ရှေ့ဘက်မြင်ကွင်း JPG၊ PNG သို့မဟုတ် WEBP ပုံ၏ URL ဖြစ်ပြီး ရုပ်ထွက်အရည်အသွေးမှာ 128 မှ 5000px အထိ၊ အရွယ်အစားမှာ 8 MB ထက်မပိုရပါ။ ရိုးရှင်းသောနောက်ခံနှင့် ဖရိမ်၏ 50% ကျော်ကို ဖြည့်ထားသော အရာဝတ္ထုတစ်ခုတည်း ပါဝင်သည့်ပုံကို ဦးစားပေးပါ။
back_image_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · image
ရွေးချယ်နိုင်သော နောက်ဘက်မြင်ကွင်းပုံ URL၊ JPG/PNG ကို အကြံပြုသည်။
left_image_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · image
ရွေးချယ်နိုင်သော ဘယ်ဘက်မြင်ကွင်းပုံ URL၊ JPG/PNG ကို အကြံပြုသည်။
right_image_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · image
ရွေးချယ်နိုင်သော ညာဘက်မြင်ကွင်းပုံ URL၊ JPG/PNG ကို အကြံပြုသည်။
top_image_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · image
ရွေးချယ်နိုင်သော အပေါ်ဘက်မြင်ကွင်းပုံ URL ဖြစ်ပြီး v3.1 တွင်သာ ရရှိနိုင်သည်။ JPG/PNG ကို အကြံပြုသည်။
bottom_image_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · image
ရွေးချယ်နိုင်သော အောက်ဘက်မြင်ကွင်းပုံ URL ဖြစ်ပြီး v3.1 တွင်သာ ပံ့ပိုးသည်။ JPG/PNG ကို အကြံပြုသည်။
left_front_image_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · image
v3.1 တွင်သာ ရရှိနိုင်သော ရွေးချယ်နိုင်သည့် ပုံ URL ဖြစ်ပြီး JPG/PNG ဖော်မတ်ကို ဦးစားပေးသည်။ ပုံသည် ဘယ်ဘက်ရှေ့မှ 45 ဒီဂရီမြင်ကွင်းကို ပေးသည်။
right_front_image_urlရွေးချယ်နိုင်သည်
အမျိုးအစားurl · image
v3.1 တွင်သာ ရရှိနိုင်သော ရွေးချယ်နိုင်သည့် ပုံ URL ဖြစ်ပြီး JPG/PNG ဖော်မတ်ကို ဦးစားပေးသည်။ ပုံသည် ညာဘက်ရှေ့မှ 45 ဒီဂရီမြင်ကွင်းကို ပေးသည်။
generate_typeရွေးချယ်နိုင်သည်
အမျိုးအစားenum
မူလတန်ဖိုးNormal
NormalGeometry
Normal ပါသော texture ထည့်ထားသည့် မော်ဒယ်နှင့် Geometry ပါသော texture မပါသည့် အဖြူရောင် geometry-only မော်ဒယ်တို့အကြား ရွေးချယ်ပါ။ v3.1 တွင် LowPoly/Sketch ကို ရွေးချယ်၍ မရပါ။
enable_pbrရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးfalse
generate_type သည် Geometry ဖြစ်သောအခါ အလုပ်မလုပ်သည့် PBR ဖန်တီးမှု ဖွင့်/ပိတ်ခလုတ် ဖြစ်သည်။ မဟုတ်ပါက ဖွင့်ထားခြင်းဖြင့် ဖန်တီးထားသော material များတွင် metallic၊ roughness နှင့် normal texture များကို ထည့်ပေးသည်။
face_countရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး500000
၄၀,၀၀၀ – ၁,၅၀၀,၀၀၀
လိုချင်သော polygon မျက်နှာပြင်အရေအတွက်ကို 40,000 မှ 1,500,000 အထိ သတ်မှတ်ပါ။ မူလတန်ဖိုးမှာ 500,000 ဖြစ်သည်။
လိုအပ်သည်

ဖိုင်ပါရာမီတာများသည် အများပြည်သူသုံး https:// URL၊ 10 MB အထိ data: URI သို့မဟုတ် အပ်လုဒ်လုပ်ထားသောဖိုင်၏ file_url ကို လက်ခံသည်။ ဖိုင်များ

ထွက်ရလဒ်

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "hunyuan-3d/v3.1/pro/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": 375,
    "usd": "0.375",
    "charged": 375,
    "refunded": 0
  },
  "input": {
    "input_image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "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
      },
      "mtl": {
        "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": {
        "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
      }
    },
    "seed": 42
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
သင့်ဖိုင်များ၊ သင့်ရွေးချယ်မှုoutputs[].url တိုင်းသည် ကျွန်ုပ်တို့၏ သိုလှောင်မှုရှိ မိတ္တူဖြစ်သည်- အမြဲတမ်း (GB-month အလိုက် ငွေပေးရသည်) သို့မဟုတ် ၇ ရက် အခမဲ့၊ သင့်အကောင့်ဆက်တင် သို့မဟုတ် ?storage= ဖြင့် သိမ်းထားသည်။
မော်ဒယ်တိုင်းတွင် ပုံစံတူပုံ၊ ဗီဒီယိုနှင့် အသံတို့အတွက် type၊ url၊ content_type၊ width၊ height နှင့် duration။ output သည် မော်ဒယ်ကိုယ်တိုင်၏ ရလဒ် object ဖြစ်သည်။
ထွက်ရလဒ်၏ Fields များ
model_glb
object {url, content_type, file_name, file_size}ဖန်တီးထားသော 3D အရာဝတ္ထု ပါဝင်သည့် GLB ဖိုင်။
thumbnail
object {url, content_type, file_name, file_size} | nullဖန်တီးထားသော မော်ဒယ်၏ အစမ်းကြည့်ရှုမှုကို ပြသသည့် thumbnail။
model_urls
object {glb, fbx, obj, mtl, texture, usdz}3D မော်ဒယ်ကို ဖော်မတ်အမျိုးမျိုးဖြင့် ရယူနိုင်သည့် လင့်ခ်များ။
seed
integer | nullဖန်တီးမှုအတွင်း အသုံးပြုမည့် seed တန်ဖိုး။

နောက်ထပ် မော်ဒယ်များ: ပုံမှ 3D

AI အေးဂျင့်များအတွက်- ဤစာမျက်နှာ၏ Markdown ကို ဤနေရာတွင် ရရှိနိုင်သည် https://doitong.com/my/developers/models/hunyuan-3d/v3.1/pro/image-to-3d.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt