Мазмұнға өту

Hunyuan 3D Smart Topology

Интеграциялау

Модель идентификаторы hunyuan-3d/v3.1/smart-topology
# 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/smart-topology?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# 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"

Осы сұрау: ≈0,75 $ 750 API кредиті · ≈ 80,60 ₽ Осы бетте іске қосу

API кілтін алу
Tencent 3D #3d#hunyuan#topology

Бар GLB немесе OBJ торының топологиясын таңдалған полигон тығыздығымен үшбұрыштарға немесе төртбұрыштарға қайта құрады

Tencent · 3D

Алғашқы нәтижеңіз осында пайда болады

Төменде сұрау құрып, оны API кілтіңізбен іске қосыңыз. Шығыстар сақтау орнымызға көшіріліп, мәңгі немесе 7 күн тегін сақталады.

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

Қосымша input_file_type · polygon_type · face_level
input_file_type әдепкі glb

Кіріс 3D файлының пішімі.

polygon_type әдепкі triangle

Шығыстың бет түрі: triangle тек үшбұрышты беттерді қолданады; quadrilateral төртбұрышты және үшбұрышты беттерді біріктіреді.

face_level әдепкі medium

Қалаған полигон тығыздығы: high көбірек полигон мен деталь береді, medium теңгерім ұсынады, low азырақ полигон қолданады.

POST /run/hunyuan-3d/v3.1/smart-topology?wait=20 бағасы → 0,75 $
# 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/smart-topology?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

# 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"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

Hunyuan 3D Smart Topology туралы

Бар 3D торының топологиясын оңтайландырады. Кіріс форматын `input_file_type` арқылы орнатыңыз (glb немесе obj), `polygon_type` үшін triangle немесе quadrilateral таңдаңыз, ал полигон тығыздығына `face_level` арқылы high, medium немесе low мәнін белгілеңіз. Өңделген GLB және басқа форматтарға арналған URL мекенжайларын қайтарады.

Параметрлер

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
input_file_typeміндетті емес
Түріenum
Әдепкіglb
glbobj
Кіріс 3D файлының пішімі.
polygon_typeміндетті емес
Түріenum
Әдепкіtriangle
trianglequadrilateral
Шығыстың бет түрі: triangle тек үшбұрышты беттерді қолданады; quadrilateral төртбұрышты және үшбұрышты беттерді біріктіреді.
face_levelміндетті емес
Түріenum
Әдепкіmedium
highmediumlow
Қалаған полигон тығыздығы: high көбірек полигон мен деталь береді, medium теңгерім ұсынады, low азырақ полигон қолданады.
міндетті

Шығыс

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "hunyuan-3d/v3.1/smart-topology",
  "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": 750,
    "usd": "0.75",
    "charged": 750,
    "refunded": 0
  },
  "input": {},
  "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
    },
    "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
      }
    }
  },
  "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-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
model_glb
object {url, content_type, file_name, file_size}Топологиясы оңтайландырылған өңделген 3D модель сақталатын негізгі файл.
model_urls
object {glb, fbx, obj, mtl, texture, usdz}Әртүрлі пішімдердегі 3D модельге сілтемелер.

Қосымша модельдер: 3D

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/hunyuan-3d/v3.1/smart-topology.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt