# Text to Music AI Models

> Generate full songs with vocals or instrumental tracks from a prompt and lyrics, with MiniMax Music, Google Lyria, ElevenLabs Music and Stable Audio.

Source: https://www.sandbase.ai/models/text-to-music

## Models

- [MiniMax Music 2.5](https://www.sandbase.ai/models/minimax/music/2.5.md): `minimax/music/2.5`; From $0.15 per run; MiniMax Music 2.5 composes a full song with vocals and accompaniment from a style prompt and lyrics, or an instrumental track without lyrics.
- [MiniMax Music 1.5](https://www.sandbase.ai/models/minimax/music/v1.5.md): `minimax/music/v1.5`; From $0.03 per run; MiniMax Music 1.5 composes a full song with vocals and accompaniment from a style prompt and structured lyrics, with selectable sample rate, bitrate, and file format.
- [MiniMax Music 01](https://www.sandbase.ai/models/minimax/minimax-music.md): `minimax/minimax-music`; From $0.35 per run; MiniMax Music 01 generates a full song with vocals and accompaniment from your lyrics, following the style and voice of a reference song longer than 15 seconds.
- [ACE-Step Prompt to Audio](https://www.sandbase.ai/models/ace/ace-step/prompt-to-audio.md): `ace/ace-step/prompt-to-audio`; From $0.01 per run; ACE-Step Prompt to Audio turns a plain-language music brief into a complete song up to 4 minutes, writing the genre tags and lyrics for you, or an instrumental track.
- [Google Lyria 3 Pro Preview](https://www.sandbase.ai/models/google/lyria-3-pro-preview.md): `google/lyria-3-pro-preview`; $0 per 1M input tokens, $0 per 1M output tokens; Lyria 3 Pro is Google's music generation model for full-length songs up to about three minutes, with verses, choruses, bridges, vocals, and timed lyrics. It generates 48 kHz stereo MP3 audio from a te...
- [Google Lyria 3.5](https://www.sandbase.ai/models/google/lyria-3.5.md): `google/lyria-3.5`; $0 per 1M input tokens, $0 per 1M output tokens; Lyria 3.5 is Google's flagship music generation model for full-length songs up to a few minutes, with verses, choruses, bridges, expressive vocals, timed lyrics, and rich instrumental arrangements. It...
- [Google Lyria 3 Clip Preview](https://www.sandbase.ai/models/google/lyria-3-clip-preview.md): `google/lyria-3-clip-preview`; $0 per 1M input tokens, $0 per 1M output tokens; Lyria 3 Clip is Google's music generation model for 30-second clips, loops, and previews, including vocals and lyrics. It generates 48 kHz stereo MP3 audio from a text prompt, optionally guided by an ...
- [ACE-Step](https://www.sandbase.ai/models/ace/ace-step.md): `ace/ace-step`; From $0.01 per run; ACE-Step generates a complete song up to 4 minutes from genre tags and optional lyrics, with vocals or as an instrumental.
- [Google Lyria 2](https://www.sandbase.ai/models/google/lyria-2.md): `google/lyria-2`; From $0.10 per run; Lyria 2 is Google's text-to-music model that generates a 30-second instrumental track as 48 kHz WAV audio from a description of genre, mood, instruments, and tempo.
- [MiniMax Music 2.6](https://www.sandbase.ai/models/minimax/music/2.6.md): `minimax/music/2.6`; From $0.15 per run; MiniMax Music 2.6 by MiniMax composes a full song with vocals and accompaniment from a style prompt and lyrics, or an instrumental track without lyrics.
- [MiniMax Music 3](https://www.sandbase.ai/models/minimax/music/3.md): `minimax/music/3`; From $0.12 per run; MiniMax Music 3 by MiniMax composes a complete song up to five minutes long with expressive vocals and evolving arrangements from a style prompt and lyrics.
- [MiniMax Music 2.0](https://www.sandbase.ai/models/minimax/music/v2.md): `minimax/music/v2`; From $0.03 per run; MiniMax Music 2.0 composes a full song with vocals and accompaniment from a style prompt and structured lyrics, with selectable sample rate, bitrate, and file format.
- [ElevenLabs Music](https://www.sandbase.ai/models/elevenlabs/music.md): `elevenlabs/music`; From $0.60 per run; Music is ElevenLabs's AI audio generation model. Produce high-quality music tracks, sound effects, and audio landscapes from natural language prompts.
- [Sonilo 1.1 Text to Music](https://www.sandbase.ai/models/sonilo/1.1/text-to-music.md): `sonilo/1.1/text-to-music`; From $0.23 per run; Sonilo 1.1 Text to Music generates an instrumental music track up to 10 minutes long from a text description of style, mood, and instruments.
- [CassetteAI Music Generator](https://www.sandbase.ai/models/cassetteai/music-generator.md): `cassetteai/music-generator`; From $0.01 per run; CassetteAI Music Generator creates instrumental music from a text prompt as 44.1 kHz stereo audio, from 10 seconds to 3 minutes long. A 30-second sample is ready in about 2 seconds.
- [ElevenLabs Music v2](https://www.sandbase.ai/models/elevenlabs/music/2.md): `elevenlabs/music/2`; From $0.75 per run; ElevenLabs Music v2 generates studio-quality songs and instrumentals with vocals from a text prompt, up to 10 minutes long.
- [ElevenLabs Music v2.5](https://www.sandbase.ai/models/elevenlabs/music/2.5.md): `elevenlabs/music/2.5`; From $0.75 per run; ElevenLabs Music v2.5 generates studio-quality songs and instrumentals with vocals from a text prompt, up to 10 minutes long.
- [Mureka 8 Instrumental](https://www.sandbase.ai/models/mureka/8/instrumental.md): `mureka/8/instrumental`; From $0.07 per run; Mureka 8 Instrumental generates instrumental music without vocals from a text description or from an uploaded instrumental reference.
- [Mureka 8 Song](https://www.sandbase.ai/models/mureka/8/song.md): `mureka/8/song`; From $0.30 per run; Mureka 8 Song generates a complete song with vocals from your lyrics or from a text description, with genre, vocal gender, reference music, cloned voice and melody controls.
- [Mureka 9.5 Instrumental](https://www.sandbase.ai/models/mureka/9.5/instrumental.md): `mureka/9.5/instrumental`; From $0.23 per run; Mureka 9.5 Instrumental generates instrumental music without vocals from a text description or from an uploaded instrumental reference.
- [Mureka 9.5 Song](https://www.sandbase.ai/models/mureka/9.5/song.md): `mureka/9.5/song`; From $0.75 per run; Mureka 9.5 Song generates a complete song with vocals from your lyrics or from a text description, with genre, vocal gender, reference music, cloned voice and melody controls.
- [Mureka 9 Instrumental](https://www.sandbase.ai/models/mureka/9/instrumental.md): `mureka/9/instrumental`; From $0.07 per run; Mureka 9 Instrumental generates instrumental music without vocals from a text description or from an uploaded instrumental reference.
- [Mureka 9 Song](https://www.sandbase.ai/models/mureka/9/song.md): `mureka/9/song`; From $0.30 per run; Mureka 9 Song generates a complete song with vocals from your lyrics or from a text description, with genre, vocal gender, reference music, cloned voice and melody controls.
- [Mureka Lyrics Generation](https://www.sandbase.ai/models/mureka/lyrics.md): `mureka/lyrics`; From $0.01 per run; Mureka Lyrics Generation writes a song title and complete structured lyrics from a topic, theme or title.
- [Mureka Lyrics Extension](https://www.sandbase.ai/models/mureka/lyrics/extend.md): `mureka/lyrics/extend`; From $0.003 per run; Mureka Lyrics Extension continues existing song lyrics while keeping their theme, structure and section labels.
- [Stability AI Stable Audio 3 Small Music Base Text to Audio](https://www.sandbase.ai/models/stability-ai/stable-audio/3/small/music/base/text-to-audio.md): `stability-ai/stable-audio/3/small/music/base/text-to-audio`; $0.03 per run; Stable Audio 3 Small Music Base by Stability AI generates music up to 2 minutes from a text prompt. It runs the non-distilled base checkpoint (50 sampling steps), which is slower and costs more than t...
- [Stability AI Stable Audio 3 Small Music](https://www.sandbase.ai/models/stability-ai/stable-audio/3/small/music/text-to-audio.md): `stability-ai/stable-audio/3/small/music/text-to-audio`; $0.02 per run; Stable Audio 3 Small Music by Stability AI is a fast, low-cost music generator producing tracks up to 2 minutes from a text prompt.

## Overview

### Songs and soundtracks from a prompt

Music models compose a track from a style prompt, and many also accept lyrics for sung vocals.

- **MiniMax Music 3:** complete songs up to five minutes with expressive vocals and evolving arrangements.
- **MiniMax Music 2.6:** full songs from a style prompt and lyrics, or instrumentals.
- **Lyria 3.5** (Google): full-length songs with verses, choruses and bridges.
- **ElevenLabs Music v2 and v2.5:** songs and instrumentals with vocals, up to 10 minutes.
- **Stable Audio 3 Small Music:** fast, low-cost tracks up to 2 minutes.

Need speech instead? See [text-to-speech models](https://www.sandbase.ai/models/text-to-speech).

## Start using Text to Music AI Models on SandBase

One API key and one request shape for every model on this page.

1. **Create an API key** Sign in to the SandBase Console and create a key on the API Keys page. Keep it in an environment variable and never commit it to source control.

```
export SANDBASE_API_KEY="YOUR_SANDBASE_API_KEY"
```

2. **Submit a run** Send a request to the Unified Run API with model minimax/music/2.6. Only the model field changes between models on this page.

```
curl https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "minimax/music/2.6", "prompt": "Upbeat indie pop, bright guitars, female vocal"}'
```

3. **Fetch the result** The response includes a run id. Poll it every few seconds until the status is completed, then download the output URL.

```
curl https://api.sandbase.ai/v1/run/$RUN_ID \
  -H "Authorization: Bearer $SANDBASE_API_KEY"
```

## FAQ

### Can I provide my own lyrics?

Yes, on models that accept lyrics, such as MiniMax Music. Other models write vocals from the prompt.

### How long can a track be?

Up to 2 minutes on Stable Audio 3 Small, about five minutes on MiniMax Music 3, and up to 10 minutes on ElevenLabs Music v2/v2.5.

### Can I generate instrumentals only?

Yes. Most models support instrumental output; describe it in the prompt or use the instrumental option.

### What format is returned?

An audio file URL, usually MP3.

## Use it through SandBase

- Base URL: `https://api.sandbase.ai/v1`, with `Authorization: Bearer $SANDBASE_API_KEY`.
- Language models use the OpenAI-compatible `POST /v1/chat/completions`; media models use `POST /v1/run`; data APIs use `POST /v1/api/{vendor}/{endpoint}`.
- AI agents can connect through the SandBase MCP server or CLI: https://www.sandbase.ai/skill.md
- Every model and API page has a Markdown twin at the same URL plus `.md`. Full index: https://www.sandbase.ai/llms.txt
