跳到正文
FunCoding

music-gen

Generate original local music and sound effects (WAV) with Lemonade ACE-Step and ThinkSound for games, interactive stories, videos, and audio assets.

Star
1,661
许可证
MIT
最近提交
2026年12月1日

hub/skills/music-gen/SKILL.md

在 GitHub 上查看

Music and sound effects

Call list_audio_generation_models() first to inspect downloaded models. Do not guess a model name or silently download a multi-GB model. Missing models should be reported so the user can choose whether to install them in Lemonade.

Generating audio can load a multi-GB generator and evict the chat model from GPU memory. Only generate when the user explicitly requests audio, and expect the chat model to reload afterwards. Do not pre-generate assets.

For music, call generate_music with an ACE-Step model. Describe style, character, instrumentation, mood and tempo in prompt. Leave lyrics blank for instrumental background music; for vocals, use [verse], [chorus] etc. and set vocal_language if known. Keep steps unset unless explicitly requested.

For sound effects, use generate_sound_effect with ThinkSound (or a supported OpenMOSS SFX model). Describe the physical sound and acoustic environment. cfg is a ThinkSound-specific knob and should be left unset otherwise.

Both tools write WAV files and return an absolute audio_path. When the user names where the file should go (a project folder, game/audio/, a file name), pass it as save_to: an absolute folder or a new .wav path. The result then adds saved_to, the user's copy; report that path. Don't copy the file with a separate file operation. Check status == "success" and the path before reporting a completed asset. For Ren'Py, save into game/audio/ and reference the relative path from Ren'Py scripts. Do not fabricate success, silently substitute a model, or retry indefinitely.

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 2,822 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 2,822 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,401 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps146k近 7 天新增 818 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 524 个 star