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

# Meshy 7.1 3D

> Meshy 7.1 3D API 从文本、单张图像或 1–4 张图像生成 3D 网格，可选纹理、PBR 贴图、人形骨骼绑定和预设动画。文本和单图任务可使用 standard、2K 或 4K 几何精度；多图任务接受 standard 或 2K。

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

Meshy 7.1 通过三个公开 model ID 支持文生 3D、单图生 3D 和多图生 3D。同一个任务中可以同时请求纹理、骨骼绑定和动画。

## 模型

* **meshy-7.1-text-to-3d** - 从提示词生成 3D 模型
* **meshy-7.1-image-to-3d** - 从一张图像生成 3D 模型
* **meshy-7.1-multi-image-to-3d** - 从同一物体的 1-4 张图像生成 3D 模型

## 必填参数

* **model**：`meshy-7.1-text-to-3d`、`meshy-7.1-image-to-3d` 或 `meshy-7.1-multi-image-to-3d`
* **input.prompt**：`meshy-7.1-text-to-3d` 必填。长度 `1-600` 个字符，且须包含非空白文本。图像模型不传
* **input.image\_urls**：图像模型必填。`meshy-7.1-image-to-3d` 只能传 1 张图像，`meshy-7.1-multi-image-to-3d` 传 1-4 张图像。文生 3D 不传

图像输入和 `texture_image_url` 接受公开的 HTTP(S) 图像 URL 或图像 data URI。

## 可选参数

* **mode**：仅文生 3D。`preview` 只返回几何体；`full` 包含纹理。默认 `full`
* **model\_type**：仅文生 3D 和单图生 3D。`standard` 或 `smart-topology`。默认 `standard`。多图生成时不传。不支持 Lowpoly
* **geometry\_resolution**：文生 3D 和单图生 3D 在 `model_type` 为 `standard` 时可用 `standard`、`2k` 或 `4k`。`model_type` 为 `smart-topology` 时不传。多图生成只接受 `standard` 或 `2k`
* **topology**：`triangle` 或 `quad`。默认 `triangle`
* **target\_polycount**：目标多边形数量，范围 `100` 到 `300000`。默认 `30000`。文生 3D 和单图生 3D 在 `model_type=smart-topology` 时，范围为 `100-15000`，不传时默认 `4000`
* **should\_remesh**：是否启用重新网格化。默认 `true`
* **symmetry\_mode**：`off`、`auto` 或 `on`。默认 `auto`
* **should\_texture**：仅图像模型。是否生成纹理。默认 `true`。多图生成时，如果 `enable_pbr` 为 `true` 或提供了纹理引导，此项必须保持 `true`
* **enable\_pbr**：生成金属度、粗糙度、法线等 PBR 贴图。默认 `false`。多图生成需要 `should_texture=true`
* **pose\_mode**：`a-pose`、`t-pose`，或空字符串表示不指定姿势
* **seed**：仅文生 3D。整数种子。不传则自动选择种子
* **enable\_prompt\_expansion**：仅文生 3D。生成前是否扩写提示词。默认 `false`
* **texture\_prompt**：可选的纹理引导，最多 `600` 个字符。多图生成需要 `should_texture=true`
* **texture\_image\_url**：可选的纹理引导图像。多图生成需要 `should_texture=true`
* **enable\_rigging**：是否为人形角色绑定骨骼。默认 `false`。`enable_animation` 为 `true` 时必须为 `true`
* **rigging\_height\_meters**：启用骨骼绑定时的角色身高（米）。必须大于零。默认 `1.7`
* **enable\_animation**：是否应用动画预设。需要 `enable_rigging=true`。默认 `false`
* **animation\_action\_id**：动画预设 ID，范围 `0` 到 `696`。默认 `92`
* **enable\_safety\_checker**：是否启用输入安全检查。默认 `true`。关闭可能需要账户授权
* **callback\_url**：可选，任务完成通知的 Webhook URL

## 输出

任务结果以文件列表返回。可用条目可能包括：

* `file_type: 3d` 的 3D 资产
* 以图像形式返回的缩略图和纹理
* 启用相应选项且文件可用时，包括绑定骨骼的网格和动画资产

每个文件条目包括 `file_url` 和 `file_type`。

## 示例

### 文生 3D，带骨骼绑定和动画

```json theme={"dark"}
{
  "model": "meshy-7.1-text-to-3d",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "prompt": "A ceramic robot with a clean silhouette.",
    "enable_rigging": true,
    "enable_animation": true
  }
}
```

### 文生 3D，Smart Topology 预览

```json theme={"dark"}
{
  "model": "meshy-7.1-text-to-3d",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "prompt": "A ceramic robot.",
    "mode": "preview",
    "model_type": "smart-topology"
  }
}
```

### 单图生 3D

```json theme={"dark"}
{
  "model": "meshy-7.1-image-to-3d",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "image_urls": [
      "https://example.com/front.png"
    ],
    "enable_rigging": true,
    "enable_animation": true
  }
}
```

### 多图生 3D

```json theme={"dark"}
{
  "model": "meshy-7.1-multi-image-to-3d",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "image_urls": [
      "https://example.com/front.png",
      "https://example.com/back.png"
    ],
    "enable_rigging": true,
    "enable_animation": true
  }
}
```

## 注意事项

* `meshy-7.1-image-to-3d` 在 `image_urls` 中只接受一张图像。
* `meshy-7.1-multi-image-to-3d` 接受 1-4 张图像。这些图像应从不同角度展示同一物体。
* API 返回异步任务状态。请轮询统一的任务状态接口，或使用 `callback_url`。


## OpenAPI

````yaml zh/api-manual/3d-series/meshy-7-1-3d.json POST /api/generate/submit
openapi: 3.1.0
info:
  title: PoYo AI - Meshy 7.1 3D API
  description: 根据文本、单张图片或 1–4 张图片生成 3D 几何体或带纹理的模型，可选骨骼绑定和动画。
  version: 1.0.0
servers:
  - url: https://api.poyo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Meshy 7.1 3D
      summary: 提交 Meshy 7.1 3D 任务
      description: 根据文本、单张图片或 1–4 张图片生成 3D 几何体或带纹理的模型，可选骨骼绑定和动画。
      operationId: submit_meshy_7_1_3d
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              text-to-3d:
                summary: 文本生成 3D
                value:
                  model: meshy-7.1-text-to-3d
                  input:
                    prompt: A ceramic robot with a clean silhouette.
                    enable_rigging: true
                    enable_animation: true
              text-to-3d-preview:
                summary: 文本生成 3D — 智能拓扑预览
                value:
                  model: meshy-7.1-text-to-3d
                  input:
                    prompt: A ceramic robot.
                    mode: preview
                    model_type: smart-topology
              image-to-3d:
                summary: 图片生成 3D
                value:
                  model: meshy-7.1-image-to-3d
                  input:
                    image_urls:
                      - https://example.com/front.png
                    enable_rigging: true
                    enable_animation: true
              multi-image-to-3d:
                summary: 多图生成 3D
                value:
                  model: meshy-7.1-multi-image-to-3d
                  input:
                    image_urls:
                      - https://example.com/front.png
                      - https://example.com/back.png
                    enable_rigging: true
                    enable_animation: true
      responses:
        '200':
          description: 任务已受理；请查询任务获取最终文件。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: 请求参数无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: 未授权：API Key 无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      properties:
        model:
          type: string
          enum:
            - meshy-7.1-text-to-3d
            - meshy-7.1-image-to-3d
            - meshy-7.1-multi-image-to-3d
          description: >-
            文本输入选择 meshy-7.1-text-to-3d，恰好一张图片选择 meshy-7.1-image-to-3d，1–4 张图片选择
            meshy-7.1-multi-image-to-3d。
        input:
          $ref: '#/components/schemas/ModelInput'
        callback_url:
          type: string
          format: uri
          description: 可选的完成或失败回调 URL。
      allOf:
        - if:
            required:
              - model
            properties:
              model:
                const: meshy-7.1-text-to-3d
          then:
            properties:
              input:
                $ref: '#/components/schemas/TextTo3DInput'
        - if:
            required:
              - model
            properties:
              model:
                const: meshy-7.1-image-to-3d
          then:
            properties:
              input:
                $ref: '#/components/schemas/ImageTo3DInput'
        - if:
            required:
              - model
            properties:
              model:
                const: meshy-7.1-multi-image-to-3d
          then:
            properties:
              input:
                $ref: '#/components/schemas/MultiImageTo3DInput'
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          example: 200
          enum:
            - 200
            - 400
            - 401
            - 402
            - 403
            - 404
            - 408
            - 429
            - 500
            - 502
            - 503
          description: >-
            业务状态码。`200` 表示成功，其他值都表示请求失败。请务必检查这个字段：部分参数校验错误会以 HTTP 200 返回，响应体里的
            `code` 为 `400`。


            - `200`：成功

            - `400`：请求参数无效

            - `401`：API Key 缺失或无效

            - `402`：积分不足

            - `403`：没有权限

            - `404`：资源不存在

            - `408`：请求超时

            - `429`：请求频率超限

            - `500`：服务器内部错误

            - `502`：上游服务错误

            - `503`：服务暂不可用


            详见[错误码](/zh/api-manual/error-codes)。
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-unified-1757165031-uyujaw3d
            status:
              type: string
              enum:
                - not_started
                - running
                - finished
                - failed
              example: not_started
              description: >-
                任务状态。提交后立即返回时始终为
                `not_started`。后续状态请通过[查询任务状态](/zh/api-manual/task-management/status)接口或
                `callback_url` 获取。


                - `not_started`：排队中，等待处理

                - `running`：生成中

                - `finished`：已完成，结果在 `files` 或 `output` 中

                - `failed`：失败，详情见 `error_message`
            created_time:
              type: string
              format: date-time
              example: '2026-10-13T10:30:00+08:00'
    ErrorResponse:
      type: object
      required:
        - code
        - error
      properties:
        code:
          type: integer
          example: 400
          enum:
            - 200
            - 400
            - 401
            - 402
            - 403
            - 404
            - 408
            - 429
            - 500
            - 502
            - 503
          description: >-
            业务状态码。`200` 表示成功，其他值都表示请求失败。请务必检查这个字段：部分参数校验错误会以 HTTP 200 返回，响应体里的
            `code` 为 `400`。


            - `200`：成功

            - `400`：请求参数无效

            - `401`：API Key 缺失或无效

            - `402`：积分不足

            - `403`：没有权限

            - `404`：资源不存在

            - `408`：请求超时

            - `429`：请求频率超限

            - `500`：服务器内部错误

            - `502`：上游服务错误

            - `503`：服务暂不可用


            详见[错误码](/zh/api-manual/error-codes)。
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
              example: Invalid request parameters
            type:
              type: string
              example: invalid_request_error
    ModelInput:
      type: object
      description: 统一参数列表。必填字段、支持的取值和默认值因模型而异，见各参数说明。
      properties:
        prompt:
          type: string
          maxLength: 600
          minLength: 1
          description: 仅 meshy-7.1-text-to-3d 必填；图片模型请省略。长度 1–600 个字符，须包含非空白文本。
        image_urls:
          type: array
          items:
            type: string
            description: 公开图片 URL 或图片 data URI。
            format: uri
          minItems: 1
          maxItems: 4
          description: >-
            图片模型必填；meshy-7.1-text-to-3d 请省略。meshy-7.1-image-to-3d 要求恰好 1
            张图片；meshy-7.1-multi-image-to-3d 接受同一物体不同角度的 1–4 张图片。每项接受公开 HTTP(S)
            图片 URL 或图片 data URI。
        mode:
          enum:
            - preview
            - full
          type: string
          description: 仅限 meshy-7.1-text-to-3d。preview 只返回几何体；full 包含纹理。默认：full。
        model_type:
          enum:
            - standard
            - smart-topology
          type: string
          description: >-
            仅限 meshy-7.1-text-to-3d 和
            meshy-7.1-image-to-3d；meshy-7.1-multi-image-to-3d 请省略。接受
            standard（默认）或 smart-topology。不支持 Lowpoly。
        geometry_resolution:
          enum:
            - standard
            - 2k
            - 4k
          type: string
          description: >-
            仅当 model_type 为 standard（默认）时，meshy-7.1-text-to-3d 和
            meshy-7.1-image-to-3d 接受 standard、2k 或 4k；smart-topology
            时请省略。meshy-7.1-multi-image-to-3d 只接受 standard 或 2k，不支持 4k。
        topology:
          enum:
            - quad
            - triangle
          type: string
          default: triangle
          description: 所有模型的输出网格拓扑：triangle（默认）或 quad。
        target_polycount:
          type: integer
          minimum: 100
          maximum: 300000
          description: >-
            所有模型的目标面数：100–300000；默认 30000。meshy-7.1-text-to-3d 和
            meshy-7.1-image-to-3d 在 model_type=smart-topology 时：100–15000，省略时默认
            4000。
        should_remesh:
          type: boolean
          default: true
          description: 为所有模型启用重新网格化。默认：true。
        symmetry_mode:
          enum:
            - 'off'
            - auto
            - 'on'
          type: string
          default: auto
          description: 所有模型的网格对称行为：off、auto（默认）或 on。
        should_texture:
          type: boolean
          description: >-
            仅限 meshy-7.1-image-to-3d 和
            meshy-7.1-multi-image-to-3d；meshy-7.1-text-to-3d 请省略。生成纹理；默认
            true。多图生成时，若 enable_pbr=true 或提供了纹理引导，必须保持为 true。
        enable_pbr:
          type: boolean
          default: false
          description: >-
            为所有模型生成 PBR 纹理贴图。默认：false。meshy-7.1-multi-image-to-3d 要求
            should_texture=true。
        pose_mode:
          enum:
            - a-pose
            - t-pose
            - ''
          type: string
          default: ''
          description: 所有模型的角色姿势：a-pose、t-pose，或空字符串（默认）表示不指定姿势。
        seed:
          type: integer
          description: 仅限 meshy-7.1-text-to-3d。整数随机种子；省略则自动选择。
        enable_prompt_expansion:
          type: boolean
          default: false
          description: 仅限 meshy-7.1-text-to-3d。生成前扩写提示词。默认：false。
        texture_prompt:
          type: string
          maxLength: 600
          description: >-
            所有模型可选的纹理引导文本，最多 600 个字符。meshy-7.1-multi-image-to-3d 要求
            should_texture=true。
        texture_image_url:
          type: string
          description: >-
            所有模型可选的纹理引导图；接受公开 HTTP(S) 图片 URL 或图片 data
            URI。meshy-7.1-multi-image-to-3d 要求 should_texture=true。
          format: uri
        enable_rigging:
          type: boolean
          default: false
          description: 为所有模型生成的人形角色绑定骨骼。默认：false。enable_animation=true 时必须为 true。
        rigging_height_meters:
          exclusiveMinimum: 0
          type: number
          default: 1.7
          description: 所有模型启用骨骼绑定时的角色身高（米），必须大于 0。默认：1.7。
        enable_animation:
          type: boolean
          default: false
          description: 为所有模型应用动画；要求 enable_rigging=true。默认：false。
        animation_action_id:
          type: integer
          default: 92
          minimum: 0
          maximum: 696
          description: 所有模型的动画预设 ID：0 到 696 的整数。默认：92。
        enable_safety_checker:
          type: boolean
          default: true
          description: 为所有模型启用输入安全检查。默认：true。如适用，关闭此项需要账户授权。
      additionalProperties: false
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        所有 API 接口都需要 Bearer Token 认证。


        创建 API Key：登录 PoYo，进入 **仪表盘 → API
        密钥**（[poyo.ai/zh/dashboard/api-key](https://poyo.ai/zh/dashboard/api-key)），点击创建
        Key。


        在请求头中添加：


        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````

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