AgentSkillsCN

ai-music-generation

通过 inference.sh CLI,利用 Diffrythm、腾讯歌曲生成等模型创作 AI 音乐与歌曲。 支持的模型:Diffrythm(快速生成歌曲)、腾讯歌曲生成(含完整人声的歌曲)。 功能特性:文生音乐、歌曲生成、纯音乐创作、歌词谱曲、配乐制作。 适用场景:背景音乐、社交媒体内容、游戏原声、播客、免版税音乐。 触发器:音乐生成、AI 音乐、生成歌曲、AI 作曲家、文生音乐、歌曲生成器、 用 AI 创作音乐、Suno 替代方案、Udio 替代方案、AI 歌曲、AI 配乐、 生成配乐、AI 背景音乐、音乐 AI、节拍生成器

SKILL.md
--- frontmatter
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: 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
allowed-tools: Bash(infsh *)

AI Music Generation

Generate music and songs via 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

ModelApp IDBest For
Diffrythminfsh/diffrythmFast song generation
Tencent Songinfsh/tencent-song-generationFull 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/agent-skills@inference-sh

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

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

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

Browse all apps: infsh app list

Documentation