tools.elevenlabs_sfx module

Generate sound effects with ElevenLabs and upload to the current channel.

async tools.elevenlabs_sfx.run(prompt, filename, duration_seconds=None, prompt_influence=None, ctx=None)[source]

Execute this tool and return the result.

Parameters:
  • prompt (str) – The prompt value.

  • filename (str) – The filename value.

  • duration_seconds (float | None) – The duration seconds value.

  • prompt_influence (float | None) – The prompt influence value.

  • ctx (ToolContext | None) – Tool execution context providing access to bot internals.

Returns:

Result string.

Return type:

str