Skip to content

生成歌曲(续写模式)

OpenAPI Specification

yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /suno/submit/music:
    post:
      summary: 生成歌曲(续写模式)
      deprecated: false
      description: ''
      tags:
        - 文生音乐 Suno/任务提交
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Accept
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Authorization
          in: header
          description: ''
          required: false
          example: Bearer {{YOUR_API_KEY}}
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                prompt:
                  type: string
                  description: 续写部分要唱的具体歌词
                mv:
                  type: string
                  description: 模型版本号
                title:
                  type: string
                  description: 歌词标题
                tags:
                  type: string
                  description: 风格标签
                continue_at:
                  type: integer
                  description: 续写时间点
                continue_clip_id:
                  type: string
                  description: 续写音频id
                task:
                  type: string
                  description: 任务类型,默认“续写”
              required:
                - prompt
                - mv
                - title
                - continue_at
                - continue_clip_id
                - task
              x-apifox-orders:
                - prompt
                - mv
                - title
                - tags
                - continue_at
                - continue_clip_id
                - task
            example:
              prompt: |-
                [Verse]
                Move your paws
                Left and right
                Jump around
                Feel the light
                Whiskers twitch
                Tails in the air
                Dancing cats
                Everywhere

                [Chorus]
                Cat dance
                Oh
                Let's go!
                Swing your tails
                Don’t say no (don’t say no!)
                Purr and twirl
                Like a show
                Cat dance
                Let's steal the glow

                [Verse 2]
                Tiptoe steps
                Soft and sweet
                Tiny paws
                Unbeatable beat
                Meow to the rhythm
                Claws precise
                Every move
                Feline paradise

                [Chorus]
                Cat dance
                Oh
                Let's go!
                Swing your tails
                Don’t say no (don’t say no!)
                Purr and twirl
                Like a show
                Cat dance
                Let's steal the glow

                [Bridge]
                Ooh-ooh
                Bounce and sway (ooh-ooh!)
                Moonlit grooves
                Night turns to day
                Lean and stretch
                Strike your pose
                Every kitty steals the show

                [Chorus]
                Cat dance
                Oh
                Let's go!
                Swing your tails
                Don’t say no (don’t say no!)
                Purr and twirl
                Like a show
                Cat dance
                Let's steal the glow
              mv: chirp-v4
              title: Cat Dance
              tags: romantic raga
              continue_at: 123
              continue_clip_id: 4c4c80c4-6318-48c7-a314-71dd03ba3a11
              task: extend
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  data:
                    type: string
                  message:
                    type: string
                required:
                  - code
                  - data
                  - message
          headers: {}
          x-apifox-name: 成功
      security:
        - bearer: []
      x-apifox-folder: 文生音乐 Suno/任务提交
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5443236/apis/api-305049317-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://www.anyapi.vip
    description: 正式环境
security:
  - bearer: []

AnyAPI — 专业的 AI 接口聚合服务