Audial tool

AI Text to Music: generate full songs from a prompt

Describe the track, add lyrics if you want them sung, and get finished audio back.

Text to Music generates a finished track from a prompt. Describe the genre, mood, instruments and vocal character, add lyrics if you want them sung, and the Audial music model renders the audio on Audial's hosted engine.

Length is yours to set, from 10 to 600 seconds, with 60 seconds as the default. Ask for up to 8 variations in a single call and keep the one that works. Output comes back as MP3 by default, or WAV, FLAC, OPUS or AAC. Lyrics accept section tags such as [verse] and [chorus], and an instrumental switch skips vocals entirely.

The same endpoint covers more than text to music: cover mode follows a reference track, while remix, extract, lego, complete and understand modes take a source file and rebuild, extend or describe it. Run any of it from the Music Generator tab, from audial.generate_music in Python, from /functions/run/music-generator, or as the generate_music MCP tool.

What you get

  • Full tracks from a text prompt, with or without lyrics
  • Lyrics support section tags like [verse] and [chorus], or go instrumental
  • 10 to 600 seconds per generation, 60 seconds by default
  • Up to 8 variations per call
  • MP3, WAV, FLAC, OPUS or AAC output
  • Cover, remix, extract, complete and understand modes work from a source or reference track

Use it from code

curl -X POST "https://api.audialmusic.ai/api/functions/run/music-generator" \
  -H "X-API-Key: your_api_key" -H "X-User-ID: your_user_id" \
  -F "userId=your_user_id" \
  -F "task_type=cover" \
  -F "prompt=acoustic folk cover, fingerpicked guitar, warm male vocal" \
  -F "referenceFile=@/path/to/reference.mp3"

Frequently asked questions

Yes. Pass lyrics along with the prompt and the vocal is sung as part of the track. Leave lyrics out, or set the instrumental flag, for an instrumental.

Related