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

# Tripo3D H3.1 文生 3D

> Tripo3D H3.1 API 根据文本生成带纹理的 3D 物体，可控制网格细节、表面质量和 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)接口获取结果。

使用 Tripo3D H3.1 文生 3D 根据文本生成带纹理的 3D 物体，可控制网格细节、表面质量和 PBR 材质。

## 模型

* **tripo3d/h3.1/text-to-3d** - 根据文本提示词生成 3D 模型。

## 功能

* 根据文本提示词生成 3D 模型。
* 从任务结果中获取模型资源，以及可用的预览图或辅助文件。

## 输出选项

### 面数上限

* `face_limit`：可选。设置面数上限。`1000` 到 `2000000` 的整数。

### 几何质量

* `geometry_quality`：可选。可选值：`standard`、`detailed`。默认：`standard`。

## 高级参数

`model` 和可选的 `callback_url` 放在请求根级。所有工作流参数（包括输出选项）都放在 `input` 内。

本生成工作流使用下列输入参数。

### 提示词

* `prompt`：必填。描述所需的 3D 物体。长度：**1-1,024 个字符**。

### 负面提示词

* `negative_prompt`：可选。描述要避免的内容。最大长度：**1,024 个字符**。

### 纹理

* `texture`：可选。控制是否生成纹理。使用 `true` 或 `false`。默认：`true`。

### PBR

* `pbr`：可选。`texture` 为 `true` 时生成基于物理的渲染（PBR）材质。使用 `true` 或 `false`。

### 模型种子

* `model_seed`：可选。设置模型生成种子。整数。

### 图片种子

* `image_seed`：可选。设置图片生成种子。整数。

### 纹理种子

* `texture_seed`：可选。设置纹理生成种子。整数。

### 纹理质量

* `texture_quality`：可选。可选值：`standard`、`detailed`。默认：`standard`。

### 自动尺寸

* `auto_size`：可选。控制是否自动调整模型尺寸。使用 `true` 或 `false`。

### 四边形网格

* `quad`：可选。请求四边形拓扑。使用 `true` 或 `false`。默认：`false`。

## 输出文件

* 读取返回的 `files` 数组中的每一项。
* 模型资源为 `file_type: "3d"`；预览图为 `file_type: "image"`。
* 其他产物可能为 `file_type: "other"`。保留附带资源以及可用的 `label`、`format`、`content_type`、`file_name` 和 `file_size` 元数据。


## OpenAPI

````yaml zh/api-manual/3d-series/tripo3d-h3-1-text-to-3d.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Tripo3D H3.1 文生 3D
  description: 使用 Tripo3D H3.1 根据文本生成带纹理的 3D 物体，可控制网格细节、表面质量和 PBR 材质。
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - 3D Series
      summary: Tripo3D H3.1 文生 3D
      description: >-
        model ID 和可选的 callback_url 放在请求根级，生成参数放在 input 内。在 prompt 中描述 3D
        物体。读取返回的全部文件：3D 模型、预览图和附带资源，以及它们可用的元数据。
      operationId: submit_tripo3d_h3_1_text_to_3d
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - input
              additionalProperties: true
              properties:
                model:
                  type: string
                  example: tripo3d/h3.1/text-to-3d
                input:
                  type: object
                  properties:
                    prompt:
                      type: string
                      maxLength: 1024
                      minLength: 1
                      description: 描述 3D 物体，1–1,024 个字符。
                    negative_prompt:
                      type: string
                      maxLength: 1024
                      description: 描述文本生成的物体中要排除的特征。最多 1,024 个字符。
                    face_limit:
                      type: integer
                      minimum: 1000
                      maximum: 2000000
                      description: 目标面数，范围 1,000 到 2,000,000。
                    texture:
                      type: boolean
                      default: true
                      description: 生成纹理。默认：true。
                    pbr:
                      type: boolean
                      description: texture 为 true 时生成基于物理的渲染（PBR）材质。
                    model_seed:
                      type: integer
                      description: 模型生成的整数种子。
                    image_seed:
                      type: integer
                      description: 文生 3D 中间图片的整数种子。
                    texture_seed:
                      type: integer
                      description: 纹理生成的整数种子。
                    texture_quality:
                      type: string
                      enum:
                        - standard
                        - detailed
                      default: standard
                      description: texture 为 true 时的纹理细节：standard 或 detailed。默认：standard。
                    geometry_quality:
                      type: string
                      enum:
                        - standard
                        - detailed
                      default: standard
                      description: 几何细节：standard 或 detailed。默认：standard。
                    auto_size:
                      type: boolean
                      description: 自动缩放生成的模型。
                    quad:
                      type: boolean
                      default: false
                      description: 生成四边形网格拓扑。默认：false。
                  additionalProperties: false
                  required:
                    - prompt
                callback_url:
                  type: string
                  nullable: true
                  description: >-
                    可选的公开 HTTP(S) 地址，用于接收任务完成通知。建议使用 HTTPS。省略、设为 null
                    或空字符串即不发送回调。
              description: model 和可选的 callback_url 放在根级，生成参数放在 input 内。
            examples:
              basic:
                summary: 基础工作流
                value:
                  model: tripo3d/h3.1/text-to-3d
                  input:
                    prompt: >-
                      A quiet forest under soft morning light, with natural
                      detail.
                    texture: true
                    texture_quality: standard
                    geometry_quality: standard
                    quad: false
              callback:
                summary: 接收完成回调
                value:
                  model: tripo3d/h3.1/text-to-3d
                  input:
                    prompt: >-
                      A quiet forest under soft morning light, with natural
                      detail.
                    texture: true
                    texture_quality: standard
                    geometry_quality: standard
                    quad: false
                  callback_url: https://your-domain.com/callback
      responses:
        '200':
          description: 任务已提交
          content:
            application/json:
              schema:
                type: object
                required:
                  - code
                  - data
                properties:
                  code:
                    type: integer
                    enum:
                      - 200
                  data:
                    type: object
                    required:
                      - task_id
                      - status
                      - created_time
                    properties:
                      task_id:
                        type: string
                      status:
                        type: string
                        enum:
                          - not_started
                          - running
                          - finished
                          - failed
                      created_time:
                        type: string
                        format: date-time
              example:
                code: 200
                data:
                  task_id: task-unified-example
                  status: running
                  created_time: '2026-09-10T08:00:00'
        '400':
          description: 检查请求参数和账户状态后再重新提交。
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '401':
          description: 凭证无效
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '403':
          description: 拒绝访问
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '404':
          description: 模型不存在或已停用
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '408':
          description: 请求超时
          content:
            text/plain:
              schema:
                type: string
              example: Request timeout
        '422':
          description: JSON 无效或请求体不是对象
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '429':
          description: 请在请求限额重置后重试。
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '500':
          description: 内部错误
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '502':
          description: 任务创建失败，请重试。
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
        '503':
          description: 所请求的模型暂时不可用
          content:
            application/json:
              schema:
                type: object
                required:
                  - detail
                properties:
                  detail:
                    oneOf:
                      - type: string
                      - type: object
                        additionalProperties: true
                      - type: array
                        items: {}
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 使用 VIDGO_API_KEY。

````

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