unity-audio-generator
Installation
SKILL.md
Unity Audio Generator
Generate game audio with ElevenLabs, then import it as Unity AudioClips with settings tuned for mobile.
API key & script
Key resolution: --api-key, then ELEVENLABS_API_KEY. Probe / built-in probe:
bash $UNITY_GAME_SKILLS_HOME/unity-game-director/scripts/probe_asset_credentials.sh # ELEVENLABS_API_KEY=SET|MISSING
python3 $UNITY_GAME_SKILLS_HOME/unity-audio-generator/scripts/unity_audio_asset.py probe
Subcommands: sfx (effects/ambience from a prompt), tts (spoken line), isolate (clean/isolate speech), voice-change (convert a performance to a target voice), loopify (local seamless-loop crossfade), normalize (target-LUFS loudness). Write outputs under Assets/<Game>/Audio/.
# UI / gameplay SFX
python3 $UNITY_GAME_SKILLS_HOME/unity-audio-generator/scripts/unity_audio_asset.py sfx \
--prompt "bright cheerful coin pickup blip, short, casual mobile game" \
--out Assets/<Game>/Audio/SFX/sfx_coin_pickup.mp3