AI Music API
Home
Home
  1. lyrics generation
  • Introduction
  • Credits Usage Guide
  • AI Music API FAQ & Troubleshooting
  • Special Scenarios
  • Error handling
  • Webhook Integration Guide
  • sonic
    • Sonic Instructions
    • create / extend / cover music
      POST
    • upload and extend music
      POST
    • upload and cover music
      POST
    • create persona
      POST
    • sample
      POST
    • mashup
      POST
    • get BPM
      POST
    • get VOX
      POST
    • get wav
      POST
    • get midi
      POST
    • get lyrics timeline
      POST
    • upsample tags
      POST
    • concat music
      POST
    • stems basic
      POST
    • stems full
      POST
    • remaster
      POST
    • replace section
      POST
    • add vocal
      POST
    • add instrumental
      POST
    • upload music
      POST
    • get music
      GET
  • riffusion(Deprecated)
    • Riffusion instructions
    • create music (with lyrics)
    • create music (with description)
    • cover music
    • extend music
    • replace music section
    • swap music sound
    • swap music vocals
    • upload
    • get music
  • producer
    • Producer Instructions
    • Complete Request Example
    • create music
    • upload
    • download
    • get music
  • nuro
    • Nuro Instruction
    • Error handling
    • create vocal music
    • create instrument music
    • get music
  • lyrics generation
    • Make Lyrics
      POST
  • get-credits
    GET
  • Schemas
    • 记录不存在
    • 参数不正确
  1. lyrics generation

Make Lyrics

POST
https://api.aimusicapi.ai/api/v1/sonic/lyrics
The core API to generate your music lyrics.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{ "description":"a song about sky" }

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.aimusicapi.ai/api/v1/sonic/lyrics' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data-raw '{ "description":"a song about sky" }'

Responses

🟢200success
application/json
Body

Example
{ "code": 200, "results": [ { "title": "Whisper of Shadows", "lyrics": "[Verse]\nIn the alley dark as night\nLonely whispers out of sight\nI hear footsteps cold and tight\nEchoes of a fearsome fright\n\n[Verse 2]\nCandles flicker in the rain\nShadows dance they feel my pain\nHollow hearts and silent chains\nIn this void we all remain\n\n[Chorus]\nScreaming in the silence deep\nMonsters in my tangled sleep\nIn the dark where secrets creep\nPromises we couldn't keep\n\n[Verse 3]\nWindows shattered whisper slow\nBroken dreams that never show\nFaces lost in undertow\nMemories of what we know\n\n[Bridge]\nHands that reach but never find\nHope is just a state of mind\nIn the night the stars aligned\nBut they left our souls behind\n\n[Chorus]\nScreaming in the silence deep\nMonsters in my tangled sleep\nIn the dark where secrets creep\nPromises we couldn't keep" }, { "title": "Midnight Shadows", "lyrics": "[Verse]\nMidnight shadows creeping up the wall\nVoices whisper secrets in the hall\nDarkness paints the sky with shades of fear\nHaunting echoes say the end is near\n\n[Verse 2]\nBroken mirrors shards scattered on the floor\nGhostly figures dance through every door\nCandlelight flickers casting twisted dreams\nNightmare visions tearing at the seams\n\n[Chorus]\nWe’re lost in the midnight maze alone\nTrapped by whispers cold as stone\nShadows wrap tight like a silent curse\nIn this blackened void it only gets worse\n\n[Verse 3]\nFalling deeper shadows swallow hope\nIn their endless grip we can’t cope\nHeartbeats racing drums in the dark\nNo escape just chasing dying sparks\n\n[Bridge]\nShattered souls calling from the abyss\nLost in time where nightmares kiss\nDarkness binds in its cruel embrace\nNo more light in this desolate place\n\n[Chorus]\nWe’re lost in the midnight maze alone\nTrapped by whispers cold as stone\nShadows wrap tight like a silent curse\nIn this blackened void it only gets worse" } ], "message": "success" }
Modified at 2025-12-25 08:20:34
Previous
get music
Next
get-credits
Built with