mcpField
A
ai-music-generation

ai-music-generation

github.com/magentoshCreative & media442 installsUpdated 12w ago
Repository

About ai-music-generation

A belt CLI skill for generating music and songs through inference.sh. It describes several model options and prompt approaches for instrumentals, vocal tracks, and music for media.

Key features

  1. 01Instrumental music generation
  2. 02Song generation with vocals
  3. 03Multiple model options
  4. 04Prompting by genre, mood, and instruments
  5. 05Music for podcasts, videos, and games

Use cases

  1. 01Create a podcast intro jingle
  2. 02Make background music for videos
  3. 03Generate a game soundtrack
  4. 04Produce songs with supplied lyrics

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/magentosh/superpowers --skill ai-music-generation

After installing, type/ai-music-generationin Claude Code to confirm it loaded.

Details

From the project README

Install the belt CLI skill: npx skills add belt-sh/cli

AI Music Generation

Generate music and songs via inference.sh CLI.

AI Music Generation

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

# Generate a song
belt app run infsh/diffrythm --input '{"prompt": "upbeat electronic dance track"}'

Available Models

ModelApp IDBest For
ElevenLabs Musicelevenlabs/musicUp to 10 min, commercial license
Diffrythminfsh/diffrythmFast song generation
Tencent Songinfsh/tencent-song-generationFull songs with vocals

Browse Audio Apps

belt app list --category audio

Examples

Instrumental Track
belt app run infsh/diffrythm --input '{
  "prompt": "cinematic orchestral soundtrack, epic and dramatic"
}'
Song with Vocals
belt app sample infsh/tencent-song-generation --save input.json

# Edit input.json:
# {
#   "prompt": "pop song about summer love",
#   "lyrics": "Walking on the beach with you..."
# }

belt app run infsh/tencent-song-generation --input input.json
Background Music for Video
belt app run infsh/diffrythm --input '{
  "prompt": "calm lo-fi hip hop beat, study music, relaxing"
}'
Podcast Intro
belt app run infsh/diffrythm --input '{
  "prompt": "short podcast intro jingle, professional, tech themed, 10 seconds"
}'
Game Soundtrack
belt app run infsh/diffrythm --input '{
  "prompt": "retro 8-bit video game music, adventure theme, chiptune"
}'

Prompt Tips

Genre keywords: pop, rock, electronic, jazz, classical, hip-hop, lo-fi, ambient, orchestral

Mood keywords: happy, sad, energetic, calm, dramatic, epic, mysterious, uplifting

Instrument keywords: piano, guitar, synth, drums, strings, brass, choir

Structure keywords: intro, verse, chorus, bridge, outro, loop

Use Cases

  • Social Media: Background music for videos
  • Podcasts: Intro/outro jingles
  • Games: Soundtracks and effects
  • Videos: Background scores
  • Ads: Commercial jingles
  • Content Creation: Royalty-free music

Related Skills

# ElevenLabs music (up to 10 min, commercial license)
npx skills add inference-sh/skills@elevenlabs-music

# ElevenLabs sound effects (combine with music)
npx skills add inference-sh/skills@elevenlabs-sound-effects

# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

# Text-to-speech
npx skills add inference-sh/skills@text-to-speech

# Video generation (add music to videos)
npx skills add inference-sh/skills@ai-video-generation

# Speech-to-text
npx skills add inference-sh/skills@speech-to-text

Browse all apps: belt app list

Documentation

Comments

Markdown supported