tools.generate_music module

GameGirl Color – Music/SFX generation tool.

Generates short game music loops and sound effects using ElevenLabs sound effects API. # 🎵💀 CORRUPTED AUDIO PIPELINE

async tools.generate_music.run(prompt, duration_seconds=5.0, ctx=None)[source]

Generate audio via ElevenLabs sound generation.

Parameters:
  • prompt (str) – Description of the sound to generate.

  • duration_seconds (float) – Duration in seconds (0.5-22).

  • ctx (ToolContext | None) – Tool execution context.

Returns:

JSON result.

Return type:

str