Peke ki ngā ihirangi

Hunyuan 3D Pro Image to 3D

Whakauru

id tauira 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"

Ngā kōnae pēnei i te tauira: $ 0.375 375 whiwhinga API · ≈ ₽ 40.24 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Tencent Atahanga ki te 3D #3d#hunyuan#image-to-3d

Ka hanga tauira 3D mai i tētahi whakaahua o mua me ngā tirohanga tāpiri kōwhiringa, me te mana face count me PBR

Tencent · 3D

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana
Whakataka he kōnae,

URL atahanga JPG, PNG, WEBP rānei mō te tirohanga-mua, me te taumira mai i te 128 ki te 5000px, kaua e nui ake i te 8 MB. Me pai ake he papamuri māmā me te mea kotahi e whakakī ana i te 50% neke atu o te anga.

Whakataka he kōnae,

URL atahanga tirohanga-muri, he kōwhiringa; e taunakitia ana te JPG/PNG.

Whakataka he kōnae,

URL atahanga tirohanga-mauī, he kōwhiringa; e taunakitia ana te JPG/PNG.

Whakataka he kōnae,

URL atahanga tirohanga-matau, he kōwhiringa; e taunakitia ana te JPG/PNG.

Whakataka he kōnae,

URL atahanga tirohanga-runga, he kōwhiringa, ā, e wātea ana i v3.1 anake; e taunakitia ana te JPG/PNG.

Whakataka he kōnae,

URL atahanga tirohanga-raro kōwhiringa, e tautokona ana i v3.1 anake. E taunakitia ana te JPG/PNG.

Whakataka he kōnae,

URL atahanga kōwhiringa e wātea ana i v3.1 anake, he pai ake te JPG/PNG. Ka whakarato te atahanga i te tirohanga 45-tohu mai i mua-mauī.

Whakataka he kōnae,

URL atahanga kōwhiringa e wātea ana i v3.1 anake, he pai ake te JPG/PNG. Ka whakarato te atahanga i te tirohanga 45-tohu mai i mua-matau.

taunoa 500000

Tau kanohi polygon e hiahiatia ana, mai i te 40,000 ki te 1,500,000. Ko te taunoa 500,000.

Arā atu generate_type
generate_type taunoa Normal

Kōwhiria i waenga i tētahi tauira whai kakano me Normal, me tētahi tauira mā, āhuahanga-anake me Geometry. I v3.1, kāore e taea te kōwhiri LowPoly/Sketch.

POST /run/hunyuan-3d/v3.1/pro/image-to-3d?wait=20 utu → $ 0.375
# 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"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Hunyuan 3D Pro Image to 3D

Ka waihanga tauira 3D mai i te whakaahua o mua e hiahiatia ana, `input_image_url`. Ka taea e ngā tirohanga kōwhiringa o muri, mauī, matau, runga, raro me ngā tirohanga 45-degree e rua te tāpiri taipitopito. Mā `generate_type` e kōwhiri he tauira kakano, he tauira ahuahanga mā rānei, mā `enable_pbr` e tāpiri ngā rauemi PBR, ā, ko te awhe `face_count` mai i te 40,000 ki te 1,500,000. Ka whakahoki GLB, ngā URL hōputu kē me tētahi karakōnui.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
input_image_urle hiahiatia ana
Momourl · image
URL atahanga JPG, PNG, WEBP rānei mō te tirohanga-mua, me te taumira mai i te 128 ki te 5000px, kaua e nui ake i te 8 MB. Me pai ake he papamuri māmā me te mea kotahi e whakakī ana i te 50% neke atu o te anga.
back_image_urlkōwhiringa
Momourl · image
URL atahanga tirohanga-muri, he kōwhiringa; e taunakitia ana te JPG/PNG.
left_image_urlkōwhiringa
Momourl · image
URL atahanga tirohanga-mauī, he kōwhiringa; e taunakitia ana te JPG/PNG.
right_image_urlkōwhiringa
Momourl · image
URL atahanga tirohanga-matau, he kōwhiringa; e taunakitia ana te JPG/PNG.
top_image_urlkōwhiringa
Momourl · image
URL atahanga tirohanga-runga, he kōwhiringa, ā, e wātea ana i v3.1 anake; e taunakitia ana te JPG/PNG.
bottom_image_urlkōwhiringa
Momourl · image
URL atahanga tirohanga-raro kōwhiringa, e tautokona ana i v3.1 anake. E taunakitia ana te JPG/PNG.
left_front_image_urlkōwhiringa
Momourl · image
URL atahanga kōwhiringa e wātea ana i v3.1 anake, he pai ake te JPG/PNG. Ka whakarato te atahanga i te tirohanga 45-tohu mai i mua-mauī.
right_front_image_urlkōwhiringa
Momourl · image
URL atahanga kōwhiringa e wātea ana i v3.1 anake, he pai ake te JPG/PNG. Ka whakarato te atahanga i te tirohanga 45-tohu mai i mua-matau.
generate_typekōwhiringa
Momoenum
TaunoaNormal
NormalGeometry
Kōwhiria i waenga i tētahi tauira whai kakano me Normal, me tētahi tauira mā, āhuahanga-anake me Geometry. I v3.1, kāore e taea te kōwhiri LowPoly/Sketch.
enable_pbrkōwhiringa
Momoboolean
Taunoafalse
Whakakā whakaputa PBR, kāore e hohe ina he Geometry a generate_type. Ki te whakakā, ka tāpiri i ngā kakano konganuku, taratara me te normal ki ngā rauemi kua whakaputaina.
face_countkōwhiringa
Momointeger
Taunoa500000
40,000 – 1,500,000
Tau kanohi polygon e hiahiatia ana, mai i te 40,000 ki te 1,500,000. Ko te taunoa 500,000.
e hiahiatia ana

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

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"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
model_glb
object {url, content_type, file_name, file_size}Kōnae GLB kei roto te mea 3D kua whakaputaina.
thumbnail
object {url, content_type, file_name, file_size} | nullAtahanga karakōnui e whakaatu ana i te arokite o te tauira kua whakaputaina.
model_urls
object {glb, fbx, obj, mtl, texture, usdz}Hononga ki te tauira 3D i ngā momo hōputu.
seed
integer | nullTe uara kākano i whakamahia i te whakaputanga.

Ētahi atu tauira: Atahanga ki te 3D

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/hunyuan-3d/v3.1/pro/image-to-3d.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt