Skip to main content

Generate Lyrics

POST 

/api/v1/lyrics

Generate creative lyrics content based on a text prompt.

Usage Guide

  • Use this endpoint to create lyrics for music composition
  • Multiple variations of lyrics will be generated for each request
  • Each generated lyric set includes title and structured verse/chorus sections

Parameter Details

  • prompt should describe the theme, style, or subject of the desired lyrics
  • A detailed prompt yields more targeted and relevant lyrics

Developer Notes

  • Generated lyrics are retained for 14 days
  • Callback occurs once with all generated variations when complete
  • Typically returns 2-3 different lyric variations per request
  • Each lyric set is formatted with standard section markers ([Verse], [Chorus], etc.)

Request

Responses

Request successful

Callbacks

POST 

{$request.body#/callBackUrl}

System will call this callback when lyrics generation is complete.

Callback Example

{
"code": 200,
"data": {
"callbackType": "complete",
"data": [
{
"error_message": "",
"status": "complete",
"text": "[Verse]\n月光洒满了窗台\n星星跳舞不分开\n夜风偷偷织梦来\n心里压抑全抛开\n\n[Verse 2]\n灯火映在你的眼\n像流星划过了天\n世界静止就一瞬间\n追逐未来不管多远\n\n[Chorus]\n星夜梦中找未来\n跳脱平凡别徘徊\n所有的梦都会盛开\n别害怕追去期待\n\n[Verse 3]\n脚步踏着影子走\n黑夜舞曲化解愁\n无声的美比喧嚣\n随心漂流是追求\n\n[Bridge]\n别让时钟锁住天\n别让怀疑把梦编\n逆着风也会更鲜艳\n陪你走过所有难关\n\n[Chorus]\n星夜梦中找未来\n跳脱平凡别徘徊\n所有的梦都会盛开\n别害怕追去期待",
"title": "星夜狂想"
},
{
"error_message": "",
"status": "complete",
"text": "[Verse]\n天边的云跳舞在风里\n追逐梦想越过山和溪\n每一步都写下新的故事\n心中燃烧永不熄的信念\n\n[Verse 2]\n城市的灯照亮午夜的街\n人潮散开我依旧不妥协\n破碎的梦拼凑新的世界\n每一次失败都是一种体验\n\n[Chorus]\n你好你好未来的自己\n你会感激今天的努力\n跌倒再站起笑对这天地\n燃烧吧青春像烈火不息\n\n[Verse 3]\n窗外的雨敲打着玻璃\n像是为我撑起一片绿地\n彷徨的路透过心的指引\n找到方向我无所畏惧\n\n[Bridge]\n耳边风吹散记忆的灰\n让过去成为最美的点缀\n未来的路上脚步更坚定\n看清自己的模样多么耀眼\n\n[Chorus]\n你好你好未来的自己\n你会感激今天的努力\n跌倒再站起笑对这天地\n燃烧吧青春像烈火不息",
"title": "你好"
}
],
"task_id": "3b66882fde0a5d398bd269cab6d9542b"
},
"msg": "All generated successfully."
}

Callbacks Responses

Callback received successfully