Back to skills
SKILL.md
Ai Music Generation
CSecurity'Generate AI music and songs with Diffrythm, Tencent Song Generation
- 6 stars
- 0 votes
- 0 copies
- 1 view
- Added September 10, 2026
Works with
Security analysis
71/100- Pipes output to a shell interpreter
- Uses curl or wget to download content
- Downloads and executes remote scripts — classic supply chain attack
npx -y skills add JantonioFC/skillsbank --skill ai-music-generation --agent claude-codeAre you the author of Ai Music Generation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/jantoniofc-ai-music-generation)---
name: ai-music-generation
description: 'Generate AI music and songs with Diffrythm, Tencent Song Generation
via inference.sh CLI. Models: 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: ba...'
allowed-tools: Bash(infsh *)
risk: safe
source: community
license: MIT
---
# AI Music Generation
## When to Use
Use this skill as needed to perform the specified automation task.
Generate music and songs via [inference.sh](https://inference.sh) CLI.

## Quick Start
```bash
# Install CLI
curl -fsSL https://cli.inference.sh | sh && infsh login
# Generate a song
infsh app run infsh/diffrythm --input '{"prompt": "upbeat electronic dance track"}'
```
## Available Models
| Model | App ID | Best For |
|-------|--------|----------|
| Diffrythm | `infsh/diffrythm` | Fast song generation |
| Tencent Song | `infsh/tencent-song-generation` | Full songs with vocals |
## Browse Audio Apps
```bash
infsh app list --category audio
```
## Examples
### Instrumental Track
```bash
infsh app run infsh/diffrythm --input '{
"prompt": "cinematic orchestral soundtrack, epic and dramatic"
}'
```
### Song with Vocals
```bash
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
```bash
infsh app run infsh/diffrythm --input '{
"prompt": "calm lo-fi hip hop beat, study music, relaxing"
}'
```
### Podcast Intro
```bash
infsh app run infsh/diffrythm --input '{
"prompt": "short podcast intro jingle, professional, tech themed, 10 seconds"
}'
```
### Game Soundtrack
```bash
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
```bash
# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@inference-sh
# 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
- [Running Apps](https://inference.sh/docs/apps/running) - How to run apps via CLI
- [Content Pipeline Example](https://inference.sh/docs/examples/content-pipeline) - Building media workflows
- [Apps Overview](https://inference.sh/docs/apps/overview) - Understanding the app ecosystem
Attribution
Comments
Loading comments…