Tools / Music Generator
Music Generator icon

Music Generator

Original AI music from text prompts

Generate original music from a text description — specify genre, mood, instruments, tempo, and style. Perfect for content creators, game developers, and anyone needing background music. Tracks from 3 seconds to 10 minutes in MP3 or PCM, with instrumental-only mode and reproducible seeds.

1 skillv0.02
Generate Music

Generate an original music track from a text description using AI. Describe the genre, mood, instruments, tempo, and style to shape the output. Returns a downloadable audio file.

Returns: Audio file path (auto-uploaded as a downloadable asset), prompt used, duration, format, seed, and file size
Parameters
prompt *stringText description of the music. Specify genre, mood, instruments, tempo (e.g. "upbeat lo-fi hip hop with jazzy piano and vinyl crackle, 85 BPM").
duration_secondsnumberDuration of the generated track in seconds (3-600). Defaults to 30.
force_instrumentalbooleanGuarantee instrumental-only output with no vocals or singing. Defaults to false.
seednumberRandom seed for reproducible results. Same seed and prompt will produce similar output.
output_formatstringAudio output format (e.g. "mp3_44100_128", "pcm_44100"). Defaults to "mp3_44100_128".
Example
Generate a lo-fi hip hop beat
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "music-generator",
  "skill": "generate_music",
  "input": {
    "prompt": "Chill lo-fi hip hop beat with jazzy piano chords, warm vinyl crackle, and a slow relaxing groove at 80 BPM",
    "duration_seconds": 60,
    "force_instrumental": true
  }
}' \
  https://api.toolrouter.com/v1/tools/call
Loading reviews...
Loading activity...
v0.022026-03-22
  • Added subtitle, expanded description, and agent instructions
v0.012026-03-20
  • Initial release

Quick Start

MCP (Claude Code)
claude mcp add --transport stdio \
  --env TOOLROUTER_API_KEY=YOUR_API_KEY \
  toolrouter -- npx -y toolrouter-mcp
REST API
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{"tool":"music-generator","skill":"generate_music","input":{}}' \
  https://api.toolrouter.com/v1/tools/call

Use Cases

Open Create Background Music for Videos

Create Background Music for Videos

Generate custom background music tracks that perfectly match the mood and pacing of your video content.

Music Generator icon
Music Generator
4 agent guides
Open Generate Podcast Jingles

Generate Podcast Jingles

Create custom theme music and transition jingles that give your podcast a distinctive, professional sound.

Music Generator icon
Music Generator
4 agent guides
Open Dub Marketing Videos

Dub Marketing Videos

Translate and dub your marketing videos into multiple languages to reach international audiences.

Audio Dubber icon
Audio Dubber
4 agent guides
View all use cases for Music Generator

Workflows

Open Full Video Production

Full Video Production

End-to-end AI video production with generated footage, professional voiceover, and custom background music.

Generate Video icon
Generate Video
Video Editor icon
Video Editor
Voice Generator icon
Voice Generator
Music Generator icon
Music Generator
4 steps4 tools
Open Podcast Production

Podcast Production

Complete podcast production pipeline with AI voice generation, audio cleanup, custom music, and sound effects.

Voice Generator icon
Voice Generator
Audio Isolator icon
Audio Isolator
Music Generator icon
Music Generator
Sound Effect Generator icon
Sound Effect Generator
4 steps4 tools
Open Social Video Factory

Social Video Factory

Produce scroll-stopping social media videos with AI-generated clips, custom visuals, and trending music.

Generate Video icon
Generate Video
Video Editor icon
Video Editor
Music Generator icon
Music Generator
Generate Image icon
Generate Image
4 steps4 tools
Open Audiobook Production

Audiobook Production

Transform written content into professional audiobooks with AI narration, audio cleanup, and ambient music.

Voice Generator icon
Voice Generator
Audio Isolator icon
Audio Isolator
Music Generator icon
Music Generator
3 steps3 tools
View all 12workflows →

Frequently Asked Questions

What should I include in the music prompt?

Be specific about genre, mood, instruments, tempo, and style. BPM helps when you want exact timing.

Can I generate instrumental-only music?

Yes. Set `force_instrumental: true` if you want to avoid vocals.

Can I make the result reproducible?

Yes. Set a seed when you want the same prompt to produce a consistent result again.

How long can a track be?

Tracks can run from 3 seconds to 10 minutes, with MP3 or PCM output depending on your use case.