> ## 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 将单张正面图或最多 8 视图转为最高 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 可根据单张正面图或正面图加最多 7 张其他角度视图，重建最高 2,000,000 面的生产级 3D 网格，支持 2K/4K/8K 贴图、PBR 材质、光照烘焙和多视图环境光遮蔽控制。

如需纯文本生成，请使用 [Hunyuan 3D 3.6 文生 3D](https://docs.vidgo.ai/zh/api-manual/3d-series/hunyuan-3d-v3-6-text-to-3d.md)（`hunyuan-3d/v3.6/text-to-3d`）。

## 模型

* **hunyuan-3d/v3.6/image-to-3d** — 根据单张正面图或最多 8 视图生成高模 3D 资产。

## 功能

* 支持单图或最多 8 视图重建（可选附加 `back`、`left`、`right`、`top`、`bottom`、`left_front`、`right_front` 七个方向视图）。
* 支持 `1,000` 到 `2,000,000` 目标面数及 `face_strict_mode`。
* 支持 `2k`、`4k`、`8k` 贴图分辨率和 `png`/`jpeg`/`jpg`/`webp` 格式，可选 `enable_pbr` 与 `seamless_texture`。
* 默认输出无光照 Albedo 贴图，可设 `bake_lighting: true` 保留原图光影，并通过 `ao_strength`（`0–1`）调节多视图环境光遮蔽。
* 返回 GLB 模型与 PNG 预览图；`Normal` 任务同时附带包含 OBJ/MTL/贴图的 ZIP 压缩包。

## 必填参数

* `image_urls` (string\[])：仅包含 1 个公开可访问 HTTP(S) 正面图 URL 的数组（JPG、PNG 或 WEBP，单边 128–5000 px，10 MB 以内）。

## 可选参数

* `back_image_url`、`left_image_url`、`right_image_url`、`top_image_url`、`bottom_image_url`、`left_front_image_url`、`right_front_image_url` (string)：同一物体的其他角度视图 URL（JPG 或 PNG，单边 128–5000 px）。
* `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`。
* `bake_lighting` (boolean)：`true` 在贴图中保留输入图光影；`false`（默认）输出无光照 Albedo 贴图。
* `ao_strength` (number)：多视图环境光遮蔽强度，范围 `0`（默认）到 `1`。

## 输出

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

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

## 示例

* **单图生 3D**：在 `image_urls` 传入一张正面图并开启 `enable_pbr: true`。
* **多视图生 3D**：正面图搭配 `back_image_url`、`left_image_url`，并设 `ao_strength: 0.5`。
* **白模资产**：单张正面图搭配 `generate_type: "Geometry"` 与 `face_count: 300000`。

## 注意事项

* `prompt` 和 `style` 仅限文生 3D 接口使用，在本接口传入会返回 400。
* 建议使用背景干净、主体完整的正面图；附加多视图必须展示同一物体。
* 积分取决于单图/多视图（是否传入任意附加视图字段）以及 `generate_type`（`Normal` 与 `Geometry`），PBR、贴图分辨率和 `face_count` 不改变价格。任务失败全额退还。当前价格见[定价页](https://vidgo.ai/apis/api-pricing)。


## OpenAPI

````yaml zh/api-manual/3d-series/hunyuan-3d-v3-6-image-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 将单张正面图或最多 8 视图转为最高 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 Image to 3D
      summary: 提交 Hunyuan 3D 3.6 图生 3D 任务
      operationId: submitHunyuan3dV36ImageTo3dTask
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              singleView:
                summary: 单图生 3D
                value:
                  model: hunyuan-3d/v3.6/image-to-3d
                  input:
                    image_urls:
                      - https://example.com/owl-front.png
                    enable_pbr: true
              multiView:
                summary: 多视图生 3D
                value:
                  model: hunyuan-3d/v3.6/image-to-3d
                  input:
                    image_urls:
                      - https://example.com/owl-front.png
                    back_image_url: https://example.com/owl-back.png
                    left_image_url: https://example.com/owl-left.png
                    ao_strength: 0.5
      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/image-to-3d
        callback_url:
          type: string
          format: uri
          description: 可选的 Webhook URL，用于接收完成或失败通知。
          example: https://your-domain.com/callback
        input:
          type: object
          required:
            - image_urls
          additionalProperties: false
          properties:
            image_urls:
              type: array
              minItems: 1
              maxItems: 1
              items:
                type: string
                format: uri
              description: >-
                仅含 1 个公开 HTTP(S) 正面图 URL 的数组（JPG、PNG 或 WEBP，单边 128–5000 px，10 MB
                以内）。
            back_image_url:
              type: string
              format: uri
              description: 可选公开 HTTP(S) 背面视图 URL。
            left_image_url:
              type: string
              format: uri
              description: 可选公开 HTTP(S) 左侧视图 URL。
            right_image_url:
              type: string
              format: uri
              description: 可选公开 HTTP(S) 右侧视图 URL。
            top_image_url:
              type: string
              format: uri
              description: 可选公开 HTTP(S) 顶部视图 URL。
            bottom_image_url:
              type: string
              format: uri
              description: 可选公开 HTTP(S) 底部视图 URL。
            left_front_image_url:
              type: string
              format: uri
              description: 可选公开 HTTP(S) 左前 45° 视图 URL。
            right_front_image_url:
              type: string
              format: uri
              description: 可选公开 HTTP(S) 右前 45° 视图 URL。
            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。
            bake_lighting:
              type: boolean
              default: false
              description: true 在贴图中保留原图光影；false（默认）输出无光照 Albedo 贴图。
            ao_strength:
              type: number
              minimum: 0
              maximum: 1
              default: 0
              description: 多视图任务的环境光遮蔽强度，0（默认）到 1。
    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.