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

# Meshy 6 文生 3D

> Meshy 6 API 根据文本生成 3D 资产，可控制网格拓扑、材质和纹理，并支持可选的骨骼绑定和动画。

> [!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)接口获取结果。

使用 Meshy 6 文生 3D 根据文本生成 3D 资产，可控制网格拓扑、材质和纹理，并支持可选的骨骼绑定和动画。

## 模型

* **meshy/v6/text-to-3d** - 根据文本提示词生成 3D 模型。

## 功能

* 根据文本提示词生成 3D 模型。
* 从任务结果中获取模型资源，以及可用的预览图或辅助文件。
* 可选添加纹理、骨骼绑定和动画。

## 输出选项

### 模式

* `mode`：可选。可选值：`preview`、`full`。默认：`full`。

### 目标面数

* `target_polycount`：可选。设置目标面数。整数。默认：`30000`。

### 拓扑

* `topology`：可选。选择网格拓扑。可选值：`quad`、`triangle`。默认：`triangle`。

## 高级参数

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

将下列参数放在 `input` 内。图片和纹理参考使用可公开访问的 HTTP(S) URL。

* `enable_animation: true` 要求 `enable_rigging: true`。

### 提示词

* `prompt`：必填。描述所需的 3D 物体。长度：**1-600 个字符**。
* 描述物体本身、形状和材质。

### 种子

* `seed`：可选。设置生成种子。整数。

### 重网格化

* `should_remesh`：可选。控制是否重网格化。使用 `true` 或 `false`。默认：`true`。

### 对称模式

* `symmetry_mode`：可选。选择对称处理方式。可选值：`off`、`auto`、`on`。默认：`auto`。

### PBR

* `enable_pbr`：可选。控制基于物理的渲染（PBR）材质。使用 `true` 或 `false`。

### 姿势模式

* `pose_mode`：可选。选择姿势，或传空字符串表示不指定姿势。可选值：`a-pose`、`t-pose`、`""`。默认：`""`。

### 启用提示词扩写

* `enable_prompt_expansion`：可选。控制是否自动扩写提示词。使用 `true` 或 `false`。

### 纹理提示词

* `texture_prompt`：可选。描述期望的纹理。

### 纹理图片 URL

* `texture_image_url`：可选。提供纹理参考 URL，使用可公开访问的 HTTP(S) URL。

### 骨骼绑定

* `enable_rigging`：可选。为生成的模型请求骨骼绑定。使用 `true` 或 `false`。

### 骨骼绑定身高

* `rigging_height_meters`：可选。设置骨骼绑定的身高（米）。数值。默认：`1.7`。

### 动画

* `enable_animation`：可选。请求生成动画；必须同时启用骨骼绑定。使用 `true` 或 `false`。

### 动画动作 ID

* `animation_action_id`：可选。选择动画动作。整数。默认：`1001`。

### 安全检查

* `enable_safety_checker`：可选。控制安全检查。使用 `true` 或 `false`。默认：`true`。

## 输出文件

* 读取返回的 `files` 数组中的每一项。
* 模型资源为 `file_type: "3d"`；预览图为 `file_type: "image"`。
* 读取 `file_type: "other"` 的辅助文件，以及返回的纹理、动画资源和文件元数据。


## OpenAPI

````yaml zh/api-manual/3d-series/meshy-v6-text-to-3d.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: Vidgo API - Meshy 6 文生 3D
  description: 使用 Meshy 6 根据文本生成 3D 资产，可控制网格拓扑、材质和纹理，并支持可选的骨骼绑定和动画。
  version: 1.0.0
servers:
  - url: https://api.vidgo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - 3D Series
      summary: Meshy 6 文生 3D
      description: >-
        将下列参数放在 input 内。图片和纹理参考使用可公开访问的 HTTP(S) URL。启用动画时须将 enable_rigging 设为
        true。生成的模型、预览图、纹理和动画资源从 files 读取；每一项包含 file_url 和 file_type，有文件元数据时一并返回。
      operationId: submit_meshy_v6_text_to_3d
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - input
              additionalProperties: true
              properties:
                model:
                  type: string
                  example: meshy/v6/text-to-3d
                input:
                  type: object
                  properties:
                    prompt:
                      type: string
                      maxLength: 600
                      minLength: 1
                      description: 描述物体、形状和材质，1–600 个字符。
                    mode:
                      type: string
                      enum:
                        - preview
                        - full
                      default: full
                      description: 选择 preview 仅生成几何体，或选择 full 运行完整生成流程。默认：full。
                    seed:
                      type: integer
                      description: 设置整数种子，以复现某次生成配置。
                    topology:
                      type: string
                      enum:
                        - quad
                        - triangle
                      default: triangle
                      description: 选择 triangle 或 quad 网格拓扑。默认：triangle。
                    target_polycount:
                      type: integer
                      default: 30000
                      description: 以整数设置目标面数。默认：30000。
                    should_remesh:
                      type: boolean
                      default: true
                      description: 启用重网格化阶段，以应用网格拓扑和面数目标。默认：true。
                    symmetry_mode:
                      type: string
                      enum:
                        - 'off'
                        - auto
                        - 'on'
                      default: auto
                      description: 选择 off、auto 或 on 控制对称性。默认：auto。
                    enable_pbr:
                      type: boolean
                      description: 为 PBR 材质生成金属度、粗糙度和法线贴图。
                    pose_mode:
                      type: string
                      enum:
                        - a-pose
                        - t-pose
                        - ''
                      default: ''
                      description: 选择 a-pose、t-pose 或空字符串作为模型姿势。默认：空字符串。
                    enable_prompt_expansion:
                      type: boolean
                      description: 自动扩写文本提示词以引导生成。
                    texture_prompt:
                      type: string
                      description: 描述颜色、表面图案和材质，用于引导纹理生成。
                    texture_image_url:
                      type: string
                      format: uri
                      description: 提供可公开访问的 HTTP(S) 图片 URL，用于引导纹理生成。
                    enable_rigging:
                      type: boolean
                      description: 为人形角色添加骨骼，用于摆姿势和动画。
                    rigging_height_meters:
                      type: number
                      default: 1.7
                      description: 启用骨骼绑定时设置角色身高（米）。默认：1.7。
                    enable_animation:
                      type: boolean
                      description: 应用动画预设，需将 enable_rigging 设为 true。
                    animation_action_id:
                      type: integer
                      default: 1001
                      description: 设置整数动画预设 ID。默认：1001。
                    enable_safety_checker:
                      type: boolean
                      default: true
                      description: 对生成输入启用安全检查。默认：true。
                  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: meshy/v6/text-to-3d
                  input:
                    prompt: >-
                      A quiet forest under soft morning light, with natural
                      detail.
                    mode: full
                    topology: triangle
                    target_polycount: 30000
                    should_remesh: true
                    symmetry_mode: auto
                    pose_mode: ''
                    rigging_height_meters: 1.7
                    animation_action_id: 1001
                    enable_safety_checker: true
              callback:
                summary: 接收完成回调
                value:
                  model: meshy/v6/text-to-3d
                  input:
                    prompt: >-
                      A quiet forest under soft morning light, with natural
                      detail.
                    mode: full
                    topology: triangle
                    target_polycount: 30000
                    should_remesh: true
                    symmetry_mode: auto
                    pose_mode: ''
                    rigging_height_meters: 1.7
                    animation_action_id: 1001
                    enable_safety_checker: true
                  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: 超出频率限制或 API Key 积分限额
          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.