# AI Music Generation

Generate AI music and songs with ElevenLabs, Diffrythm, Tencent Song Generation via...

- Repository: https://github.com/inference-sh/skills (795 stars)
- Category: Marketing
- License: see repository
- Last updated: 2026-10-15
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add inference-sh/skills --skill ai-music-generation -g -a claude-code -y`
Codex: `npx skills add inference-sh/skills --skill ai-music-generation -g -a codex -y`
Cursor: `npx skills add inference-sh/skills --skill ai-music-generation -g -a cursor -y`
Gemini CLI: `npx skills add inference-sh/skills --skill ai-music-generation -g -a gemini-cli -y`

## Description

Generate AI music and songs with ElevenLabs, Diffrythm, Tencent Song Generation via inference.sh CLI. Models: ElevenLabs Music (up to 10 min, commercial license), Diffrythm (fast song generation), Tencent Song Generation (full songs with vocals). Capabilities: text-to-music, song generation, instrumental, lyrics to song, soundtrack creation. Use for: background music, social media content, game soundtracks, podcasts, royalty-free music. Triggers: music generation, ai music, generate song, ai composer, text to music, song generator, create music with ai, suno alternative, udio alternative, ai song, ai soundtrack, generate soundtrack, ai jingle, music ai, beat generator, elevenlabs music, eleven labs music

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

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

# AI Music Generation

Generate music and songs via [inference.sh](https://inference.sh) CLI.

![AI Music Generation](https://cloud.inference.sh/u/4mg21r6ta37mpaz6ktzwtt8krr/01jz01qvx0gdcyvhvhpfjjb6s4.png)

## Quick Start

> Requires inference.sh CLI (`belt`). [Install instructions](https://raw.githubusercontent.com/inference-sh/skills/refs/heads/main/cli-install.md)

```bash
belt login

# Generate a song
belt 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

```bash
belt app list --category audio
```

## Examples

### Instrumental Track

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

### Song with Vocals

```bash
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

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

### Podcast Intro

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

### Game Soundtrack

```bash
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

The rest: https://github.com/inference-sh/skills/blob/HEAD/tools/audio/ai-music-generation/SKILL.md
