生成歌曲(自定义模式)
OpenAPI Specification
yaml
openapi: 3.0.1
info:
title: ''
description: "本页接口说明详见下方接口定义;参数取值与返回以本平台实测为准。"
version: 1.0.0
paths:
/suno/submit/music:
post:
summary: 生成歌曲(自定义模式)
deprecated: false
description: "本页接口「生成歌曲(自定义模式)」对应 POST /suno/submit/music(归属:音频接口/Suno文生歌)。"
tags:
- 音频接口/Suno文生歌
parameters:
- name: accept
in: header
description: "该字段的取值与含义以本平台实际返回为准。"
required: false
example: '*/*'
schema:
type: string
- name: content-type
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
default: Bearer {{YOUR_API_KEY}}
requestBody:
content:
application/json:
schema:
type: object
properties:
prompt:
type: string
mv:
type: string
title:
type: string
tags:
type: string
continue_at:
type: integer
continue_clip_id:
type: string
task:
type: string
make_instrumental:
type: boolean
required:
- prompt
- mv
- title
- tags
- continue_at
- continue_clip_id
- task
- make_instrumental
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: 9c1e0a2b-7d44-4f10-9a53-2b1c8e6d0f11
task: extend
responses:
'200':
description: "该字段的取值与含义以本平台实际返回为准。"
content:
application/json:
schema:
type: object
properties: {}
headers: {}
security: []
components:
schemas: {}
securitySchemes: {}
servers: []
security: []
使用提示:本页接口的 Base URL 为
https://api.allyang.cn,请求头需携带Authorization: Bearer <令牌>(令牌在控制台「令牌管理」中创建)。示例中的任务 ID、时间戳与文件地址均为示意值,实际以平台返回为准。模型名请在「模型广场」复制后填入,不要手输;计费、限流与在售清单以平台实测为准(部分数值待补)。