Docs/Music

Writing assist

Draft lyrics or fill in track settings.

POSThttps://api.vaelor.chat/v1/music/assist

Uses a language model to draft lyrics or fill in track settings from a partial configuration. Use it to turn a one-line idea into a complete Create a track request.

Body#

actionenumRequired

lyrics writes lyrics that fit the description, genre and mood. settings suggests a title, genre, mood, instruments, vocal style, key and tempo.

configurationobjectRequired

A track configuration with at least description set. Fields you've already filled in are kept as constraints.

Response#

suggestionobject

Suggested values: title, lyrics, description, genre, mood, instruments, vocalStyle, key and bpm. Merge the fields you want into your configuration.

creditCostinteger
Credits charged, at Flash token rates.
usageRemaininginteger
Your remaining balance.

Example#

curl https://api.vaelor.chat/v1/music/assist \
  -H "Authorization: Bearer $VAELOR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "settings",
    "configuration": {
      "mode": "custom",
      "description": "A rainy-day song about leaving your hometown",
      "duration": 150,
      "language": "en",
      "instrumental": false,
      "guidanceScale": 7,
      "think": false
    }
  }'

Response200

JSON
{
  "suggestion": {
    "title": "Last Train North",
    "lyrics": "",
    "description": "A rainy-day song about leaving your hometown",
    "genre": "indie folk",
    "mood": "bittersweet, reflective",
    "instruments": "fingerpicked acoustic guitar, upright piano, soft brushes",
    "vocalStyle": "warm male baritone",
    "key": "D major",
    "bpm": 84
  },
  "creditCost": 1,
  "usageRemaining": 419
}

Errors#

StatusWhen
400Invalid action or configuration.
402Not enough credits.
502The model provider failed. You weren't charged.

Was this page helpful?

Questions? Contact support

Last updated October 20, 2026