> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vidgo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Hunyuan 3D 3.6 文生 3D

> Hunyuan 3D 3.6 文生 3D API 根据文本提示词生成最高 200 万面的高模 3D 资产，支持 2K/4K/8K 贴图、PBR 材质和五种风格。

> [!TIP]
>
> 1. 提交后会返回 `task_id`。如果提供了 `callback_url`，当任务状态变为 `finished` 或 `failed` 时，系统会向 `callback_url` 发送 POST 请求。
> 2. 无论是否提供 `callback_url`，都可以通过统一的[查询任务状态](https://docs.vidgo.ai/zh/api-manual/task-management/status.md)接口获取结果。

Hunyuan 3D 3.6 文生 3D 是腾讯混元推出的生产级文本生成 3D 模型，可生成最高 2,000,000 面的高精度网格，提供清晰部件边界、2K/4K/8K 贴图、PBR 材质贴图及五种内置贴图风格。

如需单图或多视图输入，请使用 [Hunyuan 3D 3.6 图生 3D](https://docs.vidgo.ai/zh/api-manual/3d-series/hunyuan-3d-v3-6-image-to-3d.md)（`hunyuan-3d/v3.6/image-to-3d`）。

## 模型

* **hunyuan-3d/v3.6/text-to-3d** — 根据文本提示词生成高模 3D 资产。

## 功能

* 支持 `1,000` 到 `2,000,000` 目标面数，并可开启精确面数模式（`face_strict_mode`）。
* 支持 `2k`、`4k`、`8k` 贴图分辨率，格式可选 `png`、`jpeg`、`jpg`、`webp`。
* 可选 PBR 材质贴图（`enable_pbr`）与无缝贴图（`seamless_texture`）。
* 支持带贴图模型（`Normal`）或无贴图白模（`Geometry`）。
* 内置五种风格：`qinghuaci`、`china_style`、`sculpture`、`cartoon`、`cyberpunk`。
* 返回 GLB 模型与 PNG 预览图；`Normal` 任务同时附带包含 OBJ/MTL/贴图的 ZIP 压缩包。

## 必填参数

* `prompt` (string)：描述目标 3D 物体的文本，1–1024 个字符。

## 可选参数

* `generate_type` (string)：`Normal`（默认，带贴图模型）或 `Geometry`（无贴图白模）。
* `face_count` (integer)：目标面数，范围 `1000` 到 `2000000`，默认 `2000000`。
* `face_strict_mode` (boolean)：`true` 严格逼近 `face_count`；`false`（默认）按物体细节自适应。
* `enable_pbr` (boolean)：`true` 生成金属度、粗糙度和法线贴图，默认 `false`。
* `texture_resolution` (string)：`2k`、`4k`（默认）或 `8k`。
* `texture_format` (string)：`png`、`jpeg`（默认）、`jpg` 或 `webp`。
* `seamless_texture` (boolean)：`true` 减少贴图接缝，默认 `false`。
* `style` (string)：可选风格：`qinghuaci`、`china_style`、`sculpture`、`cartoon` 或 `cyberpunk`。

## 输出

任务完成后在 `files` 数组中返回：

* GLB 格式 3D 模型（`file_type`: `3d`，`.glb`）
* `Normal` 任务：包含 OBJ、MTL 与贴图的 ZIP 压缩包（`file_type`: `3d`，`.zip`）
* PNG 预览图（`file_type`: `image`，`.png`）

## 示例

* **默认高模贴图资产**：仅传 `prompt`，生成 200 万面 4K 贴图模型。
* **风格化 PBR 资产**：设置 `style: "qinghuaci"` 并开启 `enable_pbr: true`。
* **白模资产**：设置 `generate_type: "Geometry"`、`face_count: 300000`、`face_strict_mode: true`。

## 注意事项

* 贴图相关选项（`enable_pbr`、`texture_resolution`、`texture_format`、`seamless_texture`）适用于 `Normal` 任务。
* 默认 200 万面带贴图 GLB 文件通常在 65–75 MB 左右（另含 40–47 MB 的 OBJ ZIP）；如需更轻量资产可适当调低 `face_count`。
* 积分仅取决于 `generate_type`（`Normal` 与 `Geometry`），PBR、贴图分辨率和 `face_count` 不改变价格。任务失败全额退还。当前价格见[定价页](https://vidgo.ai/apis/api-pricing)。


## OpenAPI

````yaml zh/api-manual/3d-series/hunyuan-3d-v3-6-text-to-3d.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Hunyuan 3D 3.6 文生 3D
  description: >-
    Hunyuan 3D 3.6 文生 3D API 根据文本提示词生成最高 200 万面的高模 3D 资产，支持 2K/4K/8K 贴图、PBR
    材质和五种风格。
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
    description: 生产环境服务器
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Hunyuan 3D 3.6 Text to 3D
      summary: 提交 Hunyuan 3D 3.6 文生 3D 任务
      operationId: submitHunyuan3dV36TextTo3dTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              default:
                summary: 高模贴图资产
                value:
                  model: hunyuan-3d/v3.6/text-to-3d
                  callback_url: https://your-domain.com/callback
                  input:
                    prompt: >-
                      A battle-worn dwarf blacksmith in a layered leather apron
                      over chainmail, holding a forging hammer
              styledPbr:
                summary: 风格化 PBR 资产
                value:
                  model: hunyuan-3d/v3.6/text-to-3d
                  input:
                    prompt: >-
                      A round teapot with a dragon-shaped spout and lotus bud
                      lid knob
                    style: qinghuaci
                    enable_pbr: true
                    texture_resolution: 4k
              geometry:
                summary: 无贴图白模
                value:
                  model: hunyuan-3d/v3.6/text-to-3d
                  input:
                    prompt: >-
                      A carved wooden chess knight with a flowing mane on a
                      ringed base
                    generate_type: Geometry
                    face_count: 300000
                    face_strict_mode: true
      responses:
        '200':
          description: 任务提交结果。任务 ID 标识一项异步任务；生成可能仍在进行中。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: 请求参数无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: 未授权
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      additionalProperties: false
      properties:
        model:
          type: string
          example: hunyuan-3d/v3.6/text-to-3d
        callback_url:
          type: string
          format: uri
          description: 可选的 Webhook URL，用于接收完成或失败通知。
          example: https://your-domain.com/callback
        input:
          type: object
          required:
            - prompt
          additionalProperties: false
          properties:
            prompt:
              type: string
              minLength: 1
              maxLength: 1024
              description: 描述目标 3D 物体的文本，最多 1024 个字符。
            generate_type:
              type: string
              enum:
                - Normal
                - Geometry
              default: Normal
              description: Normal（默认）生成带贴图模型；Geometry 生成无贴图白模。
            face_count:
              type: integer
              minimum: 1000
              maximum: 2000000
              default: 2000000
              description: 目标面数，1000 到 2000000，默认 2000000。
            face_strict_mode:
              type: boolean
              default: false
              description: true 严格逼近 face_count；false（默认）按细节自适应。
            enable_pbr:
              type: boolean
              default: false
              description: true 生成金属度、粗糙度和法线贴图，默认 false。
            texture_resolution:
              type: string
              enum:
                - 2k
                - 4k
                - 8k
              default: 4k
              description: 贴图分辨率：2k、4k（默认）或 8k。
            texture_format:
              type: string
              enum:
                - png
                - jpeg
                - jpg
                - webp
              default: jpeg
              description: 贴图文件格式：png、jpeg（默认）、jpg 或 webp。
            seamless_texture:
              type: boolean
              default: false
              description: true 减少贴图接缝，默认 false。
            style:
              type: string
              enum:
                - qinghuaci
                - china_style
                - sculpture
                - cartoon
                - cyberpunk
              description: 可选内置贴图风格。
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-example-001
            status:
              type: string
              example: not_started
            created_time:
              type: string
              format: date-time
              example: '2026-11-29T10:30:00'
    ErrorResponse:
      type: object
      required:
        - detail
      properties:
        detail:
          type: string
          description: 错误信息。参见[错误码](/zh/api-manual/error-codes)。
          example: prompt is required
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: '使用 `Authorization: Bearer VIDGO_API_KEY`。'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.