Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.replit.com/llms.txt

Use this file to discover all available pages before exploring further.

Add sound to your apps with Agent’s audio generation capabilities. Ask Agent to create background music, sound effects, or spoken narration, and it adds the audio directly to your project. Audio generation helps you build richer experiences without recording studios, voice actors, or external tools. Whether you are making a game, a guided tutorial, or an app that needs a voice, Agent creates audio that fits your project.

What you can create

Agent can generate three kinds of audio:
  • Music: Background tracks and theme music in the mood and style you describe.
  • Sound effects: Short clips like clicks, alerts, whooshes, and game sounds.
  • Speech: Natural-sounding narration and voice-overs from text you provide.

Usage

Audio generation is built into Agent, so there’s nothing to toggle on. Open any Replit App with Agent and describe the audio you need. Agent decides when to generate audio based on your request, creates the clip, and adds it to your project.

When Agent generates audio

Agent generates audio when you ask for sound in your project:
Use caseExample prompt
Background music”Add calm background music to my meditation app”
Game sound effects”Create a coin-collect sound and a jump sound for my game”
Voice narration”Generate a friendly voice that reads my onboarding steps out loud”
Alerts and notifications”Make a short chime that plays when a new message arrives”

Example prompts

Try these prompts to get started:

How audio fits into your app

Agent adds generated audio to your project the same way it handles other assets:
  • Automatic file creation: Generated audio files are saved directly to your project.
  • Code updates: Agent wires the audio into your app so it plays at the right moment.
  • Iteration: Ask Agent to adjust the mood, length, voice, or style, and it regenerates the audio.

Billing

Audio generation is an Agent service. Agent bills at the provider’s rate, deducted from your Replit credits. Charges appear on your usage page.
Replit’s audio generation is powered by ElevenLabs, which produces high-quality music, sound effects, and speech.

Next steps

Image Generation

Create custom images, icons, and illustrations with Agent.

Connectors

See every integration and Agent service available to your apps.