Skip to main content

ElevenLabsSfx

20 tools in this family (folder Editor/Tools/ElevenLabsSfx/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
sfxgen_clear_api_keydestructiveWipe the stored ElevenLabs API key from EditorPrefs. DESTRUCTIVE and irreversible: the key is
sfxgen_emit_ambient_mixerread-onlyEmit a 3-layer ambient mixer MonoBehaviour: a looping bed,
sfxgen_emit_footstep_controllerread-onlyEmit a footstep cascade MonoBehaviour that wires Animation
sfxgen_emit_impact_managerread-onlyEmit a per-material impact manager that picks light/medium/
sfxgen_emit_tts_narratorread-onlyEmit a TTS narrator MonoBehaviour that plays pre-rendered
sfxgen_estimate_costread-onlyEstimate the credit cost of an SFX or TTS request. SFX is
sfxgen_export_setupread-onlyExport a JSON descriptor of the current bridge configuration
sfxgen_generatewritesGenerate a single SFX clip via POST /v1/sound-generation.
sfxgen_generate_ambientwritesGenerate a longer ambient bed (4..22s) and, when requested,
sfxgen_generate_batchwritesGenerate N SFX clips back-to-back. Accepts an array of prompts
sfxgen_generate_footstepswritesGenerate a footstep set for one surface. Produces N variations
sfxgen_generate_impactwritesGenerate a 3-clip impact set (light / medium / heavy) for one
sfxgen_get_account_inforead-onlyFetch the ElevenLabs account snapshot (tier, character_count,
sfxgen_import_to_unitywritesCopy a generated audio file into the Unity project and trigger
sfxgen_initread-onlyInitialize the elevenlabs_sfx_* family. Verifies Newtonsoft.Json +
sfxgen_list_clipsread-onlyList every clip recorded in clips_log.jsonl (mock store).
sfxgen_list_voicesread-onlyList voices from /v1/voices (live mode) or the cached mock
sfxgen_set_api_keywritesPersist an ElevenLabs API key in EditorPrefs (XOR + per-machine
sfxgen_text_to_speechwritesSynthesize narration via POST /v1/text-to-speech/<voice_id>.
sfxgen_trim_loop_pointswritesCompute loop points (start_sec / end_sec / crossfade_sec) for