Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
通过 AI 从描述、主题或关键词生成歌词
POST /api/v1/lyrics/generate
task_id
prompt
topics
"爱情, 思念"
"love, summer"
moods
"悲伤, 治愈"
"happy, nostalgic"
style
"流行抒情"
"country ballad"
keyword
callback_url
retention_days
7
{ "code": 0, "message": "ok", "request_id": "req-1710000000000", "data": { "task_id": "64f3a1b2c8d9e0f1a2b3c4d5", "status": "queuing" } }
curl -X POST https://api.example.com/api/v1/lyrics/generate \ -H "Authorization: Bearer sk-mm-your-key" \ -H "Content-Type: application/json" \ -d '{ "topics": "思念, 离别, 重逢", "moods": "感伤, 温暖", "style": "流行抒情" }'
curl -X POST https://api.example.com/api/v1/lyrics/generate \ -H "Authorization: Bearer sk-mm-your-key" \ -H "Content-Type: application/json" \ -d '{ "topics": "heartbreak, rain, moving on", "moods": "melancholic, hopeful", "style": "indie folk" }'