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

# 查询单个任务

> 按公开 task id 查询单个 Suno V2 任务。

**路径：** `GET https://api.omniall.ai/suno/v2/fetch/{task_id}`

鉴权：`Authorization: Bearer sk-...`



## OpenAPI

````yaml zh-CN/openapi/suno-v2.yaml GET /suno/v2/fetch/{id}
openapi: 3.1.0
info:
  title: Omniall AI — Suno V2
  version: 1.0.0
  description: >-
    Suno V2 异步音乐 API（`/suno/v2/*`）。


    流程：提交 → 返回 `data.task_id` → `GET /suno/v2/fetch/{task_id}` 或 `POST
    /suno/v2/fetch` 轮询至 `SUCCESS`。


    **模型版本 `mv`：** `chirp-v6`（默认）· `chirp-v6-wild` · `chirp-v6-mini`。


    **计费：** 按次，模型名与路径一致（如 `suno/music`）。开启 `max_mode`（且
    `custom=true`）时部分生成类接口价格翻倍。详见[模型广场](https://omniall.ai/pricing)。


    与旧版 `/suno/submit/*`（`suno_music` / `suno_lyrics`）相互独立。


    鉴权：`Authorization: Bearer sk-...`
servers:
  - url: https://api.omniall.ai
security: []
paths:
  /suno/v2/fetch/{id}:
    get:
      tags:
        - Suno V2
      summary: 查询单个任务
      description: |-
        按公开 task id 查询单个 Suno V2 任务。

        **路径：** `GET https://api.omniall.ai/suno/v2/fetch/{task_id}`

        鉴权：`Authorization: Bearer sk-...`
      operationId: sunoV2FetchById
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer sk-...
          description: Bearer API Key，例如 `Bearer sk-...`。
        - name: id
          in: path
          required: true
          schema:
            type: string
            example: task_xxxxxxxx
          description: 提交接口返回的公开 task id。
      responses:
        '200':
          description: 任务状态
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SunoV2FetchOneResponse'
              example:
                code: success
                data:
                  task_id: task_xxxxxxxx
                  action: music
                  model: suno/music
                  status: SUCCESS
                  progress: 100%
                  musics:
                    - id: music_1
                      audio_url: https://cdn.example.com/a.mp3
                      title: 示例
components:
  schemas:
    SunoV2FetchOneResponse:
      type: object
      properties:
        code:
          type: string
          example: success
        message:
          type: string
        data:
          type: object
          properties:
            task_id:
              type: string
            action:
              type: string
              description: 如 music / lyrics / cover 等。
            model:
              type: string
              description: 计费模型名，如 suno/music。
            status:
              type: string
              enum:
                - SUBMITTED
                - QUEUED
                - IN_PROGRESS
                - SUCCESS
                - FAILURE
            progress:
              type: string
              example: 100%
            fail_reason:
              type: string
            submit_time:
              type: integer
            finish_time:
              type: integer
            musics:
              type: array
              items:
                type: object
              description: 成功时的曲目列表（含 audio_url 等）。
            lyrics:
              type: array
              items:
                type: object
              description: 歌词任务结果。
            persona_id:
              type: string
            model_id:
              type: string

````

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