What is CassetteAI?
CassetteAI is a generative audio API that produces music and sound effects at 44.1 kHz stereo for developers integrating audio into games, creator apps, and real-time pipelines. It renders a 30-second sample in under 2 seconds and a full 3-minute track in under 10 seconds. Access requires an API key through the fal.ai SDK or cURL, while a guest playground allows testing without signup.
What are the features of CassetteAI?
- Adaptive music generationProduces 1- to 4-minute tracks from prompts specifying mood, genre, or reference, outputting 44.1 kHz stereo .wav files with deterministic seeds.
- Sound effect generationCreates loopable clips from 100 milliseconds to 30 seconds based on text descriptions, supporting per-frame re-rolls.
- Unified API structureUses a single call shape via
fal.subscribe()to switch between theCassetteAI/music-generatorandcassetteai/sound-effects-generatormodel identifiers. - Guest playgroundProvides a web interface with preset prompts to generate and download .wav samples without creating an account.
- Text-to-speech (upcoming)A planned modality featuring zero-shot voice cloning from a 10-second sample and inline emotion tags.
What are the use cases of CassetteAI?
- Game developmentStreaming adaptive background music or generating per-frame sound effects during gameplay using edge inference.
- Real-time media pipelinesIntegrating generated audio into video tools or AR/VR applications requiring low-latency outputs.
How to use CassetteAI?
- Import the clientLoad the
@fal-ai/clientpackage in JavaScript to access the API. - Call the endpointUse
fal.subscribe()with eitherCassetteAI/music-generatororcassetteai/sound-effects-generator, passing a text prompt and duration. - Retrieve the fileAccess the resulting audio URL from the response object's
audio_fileproperty.
CassetteAI Pricing Information:
- Music generation$0.02 per output minute; supports durations of 10 to 180 seconds per call.
- Sound effects generation$0.01 per generation; supports durations of 1 to 30 seconds per call.
- Text-to-speechPricing to be determined upon launch.









