Skip to main content
POST
generate lyrics
这是一个异步任务。响应包含一个 taskId — 使用获取任务状态轮询以获取生成的歌词。

模型

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
lyrics_model
enum<string>
必填

The model to use for generating lyrics.

可用选项:
default,
remi-v1
示例:

"default"

prompt
string
必填

The prompt to use for generating lyrics.

示例:

"A happy song about a girl and a boy."

响应

201 - application/json
taskId
string
必填

task id. Use this id to query task status.

示例:

"15c257ff-43f7-4678-bd41-202ad6b8488b"