ai-music-generation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AI Music Generation

AI音乐生成

Generate music and songs via inference.sh CLI.
通过inference.sh CLI生成音乐与歌曲。

Quick Start

快速开始

bash
undefined
bash
undefined

Install CLI

安装CLI

curl -fsSL https://cli.inference.sh | sh && infsh login
curl -fsSL https://cli.inference.sh | sh && infsh login

Generate a song

生成歌曲

infsh app run infsh/diffrythm --input '{"prompt": "upbeat electronic dance track"}'
undefined
infsh app run infsh/diffrythm --input '{"prompt": "upbeat electronic dance track"}'
undefined

Available Models

可用模型

ModelApp IDBest For
Diffrythm
infsh/diffrythm
Fast song generation
Tencent Song
infsh/tencent-song-generation
Full songs with vocals
模型App ID最佳适用场景
Diffrythm
infsh/diffrythm
快速生成歌曲
Tencent Song
infsh/tencent-song-generation
带人声的完整歌曲

Browse Audio Apps

浏览音频应用

bash
infsh app list --category audio
bash
infsh app list --category audio

Examples

示例

Instrumental Track

纯音乐曲目

bash
infsh app run infsh/diffrythm --input '{
  "prompt": "cinematic orchestral soundtrack, epic and dramatic"
}'
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
bash
infsh app sample infsh/tencent-song-generation --save input.json

Edit input.json:

编辑input.json:

{

{

"prompt": "pop song about summer love",

"prompt": "pop song about summer love",

"lyrics": "Walking on the beach with you..."

"lyrics": "Walking on the beach with you..."

}

}

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

Background Music for Video

视频背景音乐

bash
infsh app run infsh/diffrythm --input '{
  "prompt": "calm lo-fi hip hop beat, study music, relaxing"
}'
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"
}'
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"
}'
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
流派关键词:流行、摇滚、电子、爵士、古典、嘻哈、lo-fi、氛围音乐、管弦乐
情绪关键词:快乐、悲伤、充满活力、平静、戏剧化、宏大、神秘、振奋
乐器关键词:钢琴、吉他、合成器、鼓、弦乐、铜管乐、合唱团
结构关键词:开场、主歌、副歌、桥段、结尾、循环

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

Full platform skill (all 150+ apps)

全平台技能(包含150+应用)

npx skills add inference-sh/skills@inference-sh
npx skills add inference-sh/skills@inference-sh

Text-to-speech

文本转语音

npx skills add inference-sh/skills@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
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`
npx skills add inference-sh/skills@speech-to-text

浏览所有应用:`infsh app list`

Documentation

文档