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

# 生成歌词

> 创建 Suno 歌词任务。

**路径：** `POST https://api.omniall.ai/suno/submit/lyrics`

`prompt` 必填。用 `GET /suno/fetch/{task_id}` 查询。

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



## OpenAPI

````yaml zh-CN/openapi/suno-audio.yaml POST /suno/submit/lyrics
openapi: 3.1.0
info:
  title: Omniall AI — Suno音乐
  version: 1.0.0
  description: >-
    Suno 异步音乐 / 歌词。


    **创建：** `POST https://api.omniall.ai/suno/submit/music` · `POST
    /suno/submit/lyrics`


    **查询：** `GET /suno/fetch/{task_id}` · 批量 `POST /suno/fetch`


    计费模型 ID：`suno_music`、`suno_lyrics`（以[模型广场](https://omniall.ai/pricing)为准）。


    鉴权：`Authorization: Bearer sk-...`
servers:
  - url: https://api.omniall.ai
security: []
paths:
  /suno/submit/lyrics:
    post:
      tags:
        - Suno
      summary: 生成歌词
      description: |-
        创建 Suno 歌词任务。

        **路径：** `POST https://api.omniall.ai/suno/submit/lyrics`

        `prompt` 必填。用 `GET /suno/fetch/{task_id}` 查询。

        鉴权：`Authorization: Bearer sk-...`
      operationId: sunoCreateLyrics
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer sk-...
          description: Bearer API Key，例如 `Bearer sk-...`。
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - prompt
              properties:
                prompt:
                  type: string
                  description: 歌词主题 / 创意描述。
                  example: 一首安静的离别曲，关于黎明时分离开海边小镇
            examples:
              生成歌词:
                summary: 生成歌词
                value:
                  prompt: 一首安静的离别曲，关于黎明时分离开海边小镇
      responses:
        '200':
          description: 任务已受理
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SunoSubmitResponse'
              example:
                code: success
                message: ''
                data: task_xxxxxxxx
components:
  schemas:
    SunoSubmitResponse:
      type: object
      properties:
        code:
          type: string
          example: success
        message:
          type: string
        data:
          type: string
          description: 公开 task id（`task_xxxx`）。
          example: task_xxxxxxxx

````

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