AI/ML

ai-music-generation

inferen-sh/skills · updated Apr 8, 2026

$npx skills add https://github.com/inferen-sh/skills --skill ai-music-generation
summary

Generate music and songs via three AI models through the inference.sh CLI.

  • Three models available: ElevenLabs Music (up to 10 min with commercial license), Diffrythm (fast generation), and Tencent Song Generation (full songs with vocals)
  • Supports text-to-music, instrumental tracks, lyrics-to-song, and soundtrack creation via simple CLI commands
  • Prompt-based generation using genre, mood, instrument, and structure keywords for precise control
  • Ideal for social media content, podcasts
skill.md

AI Music Generation

Generate music and songs via inference.sh CLI.

AI Music Generation

Quick Start

Requires inference.sh CLI (infsh). Install instructions

infsh login

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

Available Models

Model App ID Best For
ElevenLabs Music elevenlabs/music Up to 10 min, commercial license
Diffrythm infsh/diffrythm Fast song generation
Tencent Song infsh/tencent-song-generation Full songs with vocals

Browse Audio Apps

infsh app list --category audio

Examples

Instrumental Track

infsh app run infsh/diffrythm --input '{
  "prompt": "cinematic orchestral soundtrack, epic and dramatic"
}'

Song with Vocals

infsh 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..."
# }

infsh app run infsh/tencent-song-generation --input input.json

Background Music for Video

infsh app run infsh/diffrythm --input '{
  "prompt": "calm lo-fi hip hop beat, study music, relaxing"
}'

Podcast Intro

infsh app run infsh/diffrythm --input '{
  "prompt": "short podcast intro jingle, professional, tech themed, 10 seconds"
}'

Game Soundtrack

infsh 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 150+ 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: infsh app list

Documentation

general reviews

Ratings

4.510 reviews
  • Shikha Mishra· Oct 10, 2024

    ai-music-generation is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Piyush G· Sep 9, 2024

    Keeps context tight: ai-music-generation is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Chaitanya Patil· Aug 8, 2024

    Registry listing for ai-music-generation matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Sakshi Patil· Jul 7, 2024

    ai-music-generation reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Ganesh Mohane· Jun 6, 2024

    I recommend ai-music-generation for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Oshnikdeep· May 5, 2024

    Useful defaults in ai-music-generation — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Dhruvi Jain· Apr 4, 2024

    ai-music-generation has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Rahul Santra· Mar 3, 2024

    Solid pick for teams standardizing on skills: ai-music-generation is focused, and the summary matches what you get after install.

  • Pratham Ware· Feb 2, 2024

    We added ai-music-generation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Yash Thakker· Jan 1, 2024

    ai-music-generation fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.