Peke ki ngā ihirangi

Hunyuan 3D Pro Text to 3D

Whakauru

id tauira hunyuan-3d/v3.1/pro/text-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/text-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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 Kuputuhi ki te 3D #3d#hunyuan#text-to-3d

Ka waihanga tauira 3D mai i tētahi tohutohu kuputuhi tae atu ki te 1024 pūāhua, me ngā kōwhiringa 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 88 / 1024

Tohutohu whakaputa, 1024 ngā pūāhua UTF-8 te mōrahi, e whakaahua ana i ngā ihirangi 3D hei waihanga.

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/text-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/text-to-3d?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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 Text to 3D

Ka whakaputa tauira 3D mai i tētahi `prompt` tae atu ki te 1024 pūāhua. Mā `generate_type` e kōwhiri te hua kakano, te tauira mā geometry-anake rānei; mā `enable_pbr` e tāpiri ngā kakano metallic, roughness me normal; ā, mai i te 40,000 ki te 1,500,000 ngā mata o `face_count`. Ka whakaputa kōnae GLB, URL hōputu kē, he kākano me tētahi karakōnui.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
≤ 1,024 pūāhua
Tohutohu whakaputa, 1024 ngā pūāhua UTF-8 te mōrahi, e whakaahua ana i ngā ihirangi 3D hei waihanga.
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

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "hunyuan-3d/v3.1/pro/text-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": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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: Kuputuhi 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/text-to-3d.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt