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

# 生成结果

<Note>
  注：该接口用于查询3D生成任务状态和结果，仅支持异步模式的3D生成资产获取。
</Note>


## OpenAPI

````yaml openapi.yaml GET /image3ds/{task_id}
openapi: 3.1.0
info:
  title: 极客智坊 API文档
  description: 极客智坊 API 消息接口规范文档
  version: 1.0.0
servers:
  - url: https://geekai.co/api/v1
    description: 国内代理入口
  - url: https://geekai.dev/api/v1
    description: 海外代理入口
security:
  - bearerAuth: []
  - apiKeyAuth: []
paths:
  /image3ds/{task_id}:
    get:
      tags:
        - Image3d
      summary: 3D生成结果查询接口
      description: 根据任务ID查询3D生成任务的状态和结果
      operationId: getImage3dResult
      parameters:
        - name: task_id
          in: path
          required: true
          description: 任务ID
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: 成功响应
          content:
            application/json:
              schema:
                type: object
                required:
                  - model
                  - task_id
                  - task_status
                properties:
                  model:
                    type: string
                    description: 使用的3D模型
                    example: hunyuan-3d
                  task_id:
                    type: string
                    description: 任务ID（3D生成接口返回的 task_id 值）
                    format: uuid
                  task_status:
                    type: string
                    description: >-
                      任务状态： - pending：任务排队中 - running：任务执行中 - succeed：任务生成成功 -
                      failed：任务生成失败
                    enum:
                      - pending
                      - running
                      - succeed
                      - failed
                    example: succeed
                  data:
                    type: array
                    description: 生成的3D文件列表(仅在task_status=succeed时返回)
                    items:
                      type: object
                      required:
                        - url
                      properties:
                        type:
                          type: string
                          description: 3D文件类型
                          enum:
                            - OBJ，GLB，STL，USDZ，FBX，MP4
                        url:
                          type: string
                          description: 3D文件URL
                          format: uri
                        preview_url:
                          type: string
                          description: 3D预览图URL
                          format: uri
                  error:
                    type: object
                    description: 错误信息(仅在生成失败时返回)
                    properties:
                      code:
                        type: string
                        description: 错误代码
                      message:
                        type: string
                        description: 错误描述
                      details:
                        type: object
                        description: 详细错误信息
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: 任务不存在
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          $ref: '#/components/responses/StandardError'
components:
  responses:
    ValidationError:
      description: 参数验证错误
      content:
        application/json:
          schema:
            type: object
            properties:
              code:
                type: string
                example: validation_error
              message:
                type: string
                example: 参数验证失败
              details:
                type: object
                additionalProperties:
                  type: string
                example:
                  field: 错误描述
    Unauthorized:
      description: 未授权
      content:
        application/json:
          schema:
            type: object
            properties:
              code:
                type: string
                example: unauthorized
              message:
                type: string
                example: Invalid API key or token
    StandardError:
      description: 标准错误响应
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: 错误代码
          example: invalid_request
        message:
          type: string
          description: 错误信息描述
          example: 请求参数不合法
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: API认证token
    apiKeyAuth:
      type: apiKey
      in: header
      name: GeekAI-API-Key
      description: API密钥认证

````