Léim chuig an ábhar

Hunyuan 3D Pro Text to 3D

Comhtháthú

Aitheantas na samhla 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"

Comhaid cosúil leis an sampla: $0.375 375 gcreidmheas API · ≈ ₽40.24 déantar do chuid comhad a thomhas roimh an rith Rith ar an leathanach seo

Faigh eochair API
Tencent Téacs go 3D #3d#hunyuan#text-to-3d

Gineann sé samhail 3D ó leid téacs suas le 1024 carachtar, le roghanna comhaireamh aghaidheanna agus PBR

Tencent · 3D

Beidh do chéad toradh anseo

Tóg iarratas thíos agus rith é le d’eochair API. Cóipeáiltear na haschuir chuig ár stóráil, coinnithe go deo nó ar feadh 7 lá saor in aisce.

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach 88 / 1024

Leid giniúna le huasfhad 1024 carachtar UTF-8, ag cur síos ar an ábhar 3D atá le cruthú.

réamhshocrú 500000

Líon inmhianaithe aghaidheanna polagáin, idir 40,000 agus 1,500,000. Is é 500,000 an réamhshocrú.

Ardleibhéal generate_type
generate_type réamhshocrú Normal

Roghnaigh idir samhail le huigeacht le Normal agus samhail bhán gan uigeacht, céimseata amháin, le Geometry. I v3.1, ní féidir LowPoly/Sketch a roghnú.

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

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Hunyuan 3D Pro Text to 3D

Táirgeann sé samhail 3D ó `prompt` suas le 1024 carachtar. Roghnaíonn `generate_type` toradh uigeach nó samhail gheoiméadrach bhán, cuireann `enable_pbr` uigeachtaí miotalachta, garbhaíochta agus normálta leis, agus réimsíonn `face_count` ó 40,000 go 1,500,000. Aschuirtear comhad GLB, URLanna formáide eile, síol agus mionsamhail.

Paraiméadair

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
≤ 1,024 gcarachtar
Leid giniúna le huasfhad 1024 carachtar UTF-8, ag cur síos ar an ábhar 3D atá le cruthú.
generate_typeroghnach
Cineálenum
RéamhshocrúNormal
NormalGeometry
Roghnaigh idir samhail le huigeacht le Normal agus samhail bhán gan uigeacht, céimseata amháin, le Geometry. I v3.1, ní féidir LowPoly/Sketch a roghnú.
enable_pbrroghnach
Cineálboolean
Réamhshocrúfalse
Scorán giniúna PBR, neamhghníomhach nuair is Geometry é generate_type. Mura bhfuil, cuireann a chumasú uigeachtaí miotalacha, garbha agus normálta leis na hábhair ginte.
face_countroghnach
Cineálinteger
Réamhshocrú500000
40,000 – 1,500,000
Líon inmhianaithe aghaidheanna polagáin, idir 40,000 agus 1,500,000. Is é 500,000 an réamhshocrú.
riachtanach

Aschur

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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
model_glb
object {url, content_type, file_name, file_size}Comhad GLB ina bhfuil an réad 3D ginte.
thumbnail
object {url, content_type, file_name, file_size} | nullMionsamhail a thaispeánann réamhamharc den tsamhail ginte.
model_urls
object {glb, fbx, obj, mtl, texture, usdz}Naisc chuig an tsamhail 3D i bhformáidí éagsúla.
seed
integer | nullLuach síl a úsáidtear le linn na giniúna.

Tuilleadh samhlacha: Téacs go 3D

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/hunyuan-3d/v3.1/pro/text-to-3d.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt