Skip to main content
ScriptSpeech & Audio AIv1.0

Music Generation Script

by Meta AI · open-source · Last verified 2026-03-17

Generates royalty-free music from text prompts using Meta's MusicGen or AudioCraft, with controls for tempo, key, duration, and genre conditioning. Provides a CLI for batch generation and a streaming mode that writes 30-second chunks to disk or an S3 bucket.

https://github.com/facebookresearch/audiocraft
C+
C+Average
Adoption: BQuality: AFreshness: ACitations: C+Engagement: F

Specifications

License
CC-BY-NC-4.0
Pricing
open-source
Capabilities
text-to-music, genre-conditioning, batch-generation, s3-upload
Integrations
audiocraft, torch, boto3, soundfile
Use Cases
background-music-creation, game-soundtrack-generation, podcast-jingles
API Available
No
Language
python
Dependencies
audiocraft, torch, torchaudio, soundfile, boto3
Environment
Python 3.9+, CUDA 11.8+
Est. Runtime
30 seconds per 30-second clip on A100
Tags
music-generation, audiocraft, musicgen, text-to-music, generative-audio
Added
2026-03-17
Completeness
100%

Index Score

53.8
Adoption
62
Quality
80
Freshness
87
Citations
52
Engagement
0

Explore the full AI ecosystem on Agents as a Service