Léim chuig an ábhar

Hunyuan3d V3 · Text to 3D

Comhtháthú

Aitheantas na samhla hunyuan3d-v3/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/hunyuan3d-v3/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

Hunyuan3D V3 téacs go 3D le haschur Normal, LowPoly nó Geometry agus rogha 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 ina gceadaítear suas le 1024 carachtar UTF-8 chun an t-ábhar 3D atá le cruthú a shonrú.

generate_type réamhshocrú Normal

Mód giniúna: cruthaíonn `Normal` samhail uigeach; laghdaíonn `LowPoly` líon na bpolagán; cruthaíonn `Geometry` samhail bhán gan uigeacht.

réamhshocrú 500000

Líon inmhianaithe na n-aghaidheanna, idir 40,000 agus 1,500,000.

Ardleibhéal polygon_type · enable_safety_checker
polygon_type réamhshocrú triangle

Cineál polagáin, curtha i bhfeidhm ach nuair atá `GenerateType` socraithe mar `LowPoly`.

POST /run/hunyuan3d-v3/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/hunyuan3d-v3/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 Hunyuan3d V3 · Text to 3D

Gineann sé samhail 3D ó `prompt` suas le 1024 carachtar, gan íomhá a bheith riachtanach. Roghnaíonn `generate_type` samhail Normal uigeach, laghdú LowPoly nó samhail Geometry bhán; socraíonn `polygon_type` triangle nó quadrilateral do LowPoly. Cuireann `enable_pbr` ábhair PBR leis agus réimsíonn `face_count` ó 40000 go 1500000.

Paraiméadair

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
≤ 1,024 gcarachtar
Leid giniúna ina gceadaítear suas le 1024 carachtar UTF-8 chun an t-ábhar 3D atá le cruthú a shonrú.
enable_safety_checkerroghnach
Cineálboolean
Réamhshocrútrue
Is féidir an scagadh a mhaolú trí false a shocrú, ar choinníoll go bhfuil údarú ag an nglaoiteoir.
enable_pbrroghnach
Cineálboolean
Réamhshocrúfalse
Scorán chun ábhair PBR a ghiniúint.
face_countroghnach
Cineálinteger
Réamhshocrú500000
40,000 – 1,500,000
Líon inmhianaithe na n-aghaidheanna, idir 40,000 agus 1,500,000.
generate_typeroghnach
Cineálenum
RéamhshocrúNormal
NormalLowPolyGeometry
Mód giniúna: cruthaíonn `Normal` samhail uigeach; laghdaíonn `LowPoly` líon na bpolagán; cruthaíonn `Geometry` samhail bhán gan uigeacht.
polygon_typeroghnach
Cineálenum
Réamhshocrútriangle
trianglequadrilateral
Cineál polagáin, curtha i bhfeidhm ach nuair atá `GenerateType` socraithe mar `LowPoly`.
riachtanach

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "hunyuan3d-v3/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
      },
      "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, 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/hunyuan3d-v3/text-to-3d.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt