Try MiniMax H3 Image: 4K Generate + Edit from Minimaxai →
Models
Agents
Workflows
Studio
PricingBlogDocs
ExploreDiscover models by categoryDiscoverModels and effects built by WiroBrowse All ModelsBrowse the complete catalogSee FavoritesSign in to view saved models
Generative Media AgentCreate and edit media by chattingWorkflow AgentBuild visual workflows with Agent
OverviewThe platform at a glanceLearnSkills, knowledge, guardrailsAnatomyWhat makes agents reasonBuild Your AgentPick connectors and skills, choose a plan, deploy
Pre-built AgentsBrowse the catalog
Agent Usecases
Ad Campaign ManagerApp Event ManagerApp Review RepliesBarber BookingCustomer Win-BackEcommerce ListingsRestaurant Reviews
Sign InStart Building
Explore models/
Music GenerationActive

MusicGen

bywiro

Generates instrumental music from a text description with Meta's MusicGen Large. A token budget sets clip length, about 20 seconds at the default, and guidance sets how closely it follows the prompt.

Music GenerationText to Music
Model ID
music_gen
Provider
wiro
Updated
Nov 7, 2026, 03:34
music_gen
0
Comments
Average rating : 0 (0 users)
Providerwiro
Modelmusic_gen
Music GenerationText to Music
wiro playground—wiro/music_gen

Write your music type you want to generate.

Your request will cost $0.0006 per second.

Running this model on Wiro costs approximately $0.061348 in total.

(Total cost varies depending on the request's execution time.)
Sample outputs
Loading preview…
wiro-music-gen-sample-1.txt
Loading preview…
wiro-music-gen-sample-3.txt
wiro-music-gen-sample-2.mp3
wiro-music-gen-sample-4.mp3
Updated Nov 7, 2026, 03:34

Overview

Meta released MusicGen in 300M, 1.5B and 3.3B sizes; this page runs the 3.3B Large checkpoint. A single-stage autoregressive Transformer predicts EnCodec audio tokens (32 kHz, four codebooks at 50 Hz) that are decoded into a waveform. The training set was 20,000 hours of licensed music with the vocals stripped out, so the output is instrumental.

What you can build

The license is non-commercial (see below), so think research and personal projects:

  • Prompting studies, such as how tempo or instrument words change a clip at fixed guidance.
  • Placeholder scores for game jams and student films.
  • Classroom demos of how wording changes genre and instrumentation.

Inputs

Describe the music in English: genre, instruments, mood, tempo. The default asks for a slow, wistful piano piece; another suggestion on the page is "90s rock song with electric guitar and heavy drums".

Tokens (0 to 2048, default 1024) is the generation budget. At about 50 tokens per second of audio, the default returns roughly 20 seconds. Guidance scale (1 to 20, default 3) weighs the prompt against an unconditioned pass, and 1 switches guidance off.

Outputs

One mono 32 kHz MP3 per run. The page samples pair a prompt with its clip: the default piano prompt gives about 20 seconds, the acoustic country prompt a shorter piece.

Recommended settings

Stay at guidance 3, the value the Transformers documentation recommends; higher values follow the prompt more closely, usually with poorer audio. Keep Tokens at 1503 or below although the field goes to 2048. The Transformers documentation puts MusicGen's limit at 30 seconds of audio (1503 tokens), set by its positional embeddings. Larger values still return longer clips, but nothing in that documentation covers quality past that point.

Limitations

From Meta's model card:

  • No realistic vocals.
  • Trained on English descriptions; other languages do worse.
  • Uneven quality across music styles and cultures.
  • Songs sometimes end by collapsing into silence.
  • Good results can take prompt engineering.

Safety & compliance

The weights are licensed CC-BY-NC 4.0, and Meta names research on AI-based music generation as the primary use. The card rules out downstream applications without further risk evaluation and mitigation, and deliberately making music that creates hostile or alienating environments or spreads stereotypes.

Example prompts

Great starting points for music_gen.

Sad and longing. The melody is slow and wistful creating a sense of melancholy and nostalgia. Simple arrangement on the piano.Music Generation
A cheerful country song with acoustic guitarsMusic Generation
90s rock song with electric guitar and heavy drumsMusic Generation
Lofi slow bpm electro chill with organic samplesMusic Generation
A high-energy alternative rock track with crunchy guitar riffs, live drums, and rebellious attitudeMusic Generation

API quick start

Run music_gen with a single API call.

POST https://api.wiro.ai/v1/Run/wiro/music-gen
{
  "prompt": "Sad and longing. The melody is slow and w…",
  "tokens": 1024,
  "scale": 3
}
curl
curl -X POST "https://api.wiro.ai/v1/Run/wiro/music-gen" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_WIRO_API_KEY" \
  --data-binary @- <<'JSON'
{
  "prompt": "Sad and longing. The melody is slow and w…",
  "tokens": 1024,
  "scale": 3
}
JSON

Other models you might like

Explore similar music generation models.

View all
text to music v2.5 inpainting
Music Generation

text to music v2.5 inpainting

elevenlabs

text-to-music-v2
Music Generation

text-to-music-v2

elevenlabs

text to music v2.5
Music Generation

text to music v2.5

elevenlabs

stable-audio-3-medium
Music Generation

stable-audio-3-medium

stabilityai

  • stable-audio-3-small-musicstabilityai
  • video-background-music-genwiro
  • video-background-music-v2wiro
  • text-to-music-v2-lyricselevenlabs
  • text to music v2.5 lyricselevenlabs
  • text-to-song-YuEwiro
  • image-to-song-with-reference-YuEwiro
  • Faceless-Video-Generatorwiro

Discover, test, and run AI models, build workflows and agents with one unified API.

All systems operational
WiroModelsAgentsMCP ServerLLM GatewayBrowser ExtensionIntegrationsPricingAboutBlogCareersContactPartnerChangelogStatusFAQ
CategoriesText to ImageImage to ImageImage EditingImage to TextText to VideoImage to VideoVideo to VideoText to SpeechSpeech to TextSpeech to SpeechVoice CloneRealtime ConversationMusic GenerationLLMUtilities
ModelsNano Banana 2GPT Image 2.5Seedream V5 ProSeedance 2.5Veo 3.1Kling V3FLUX 3FLUX.2 ProWan 3.0 PrimeGrok Imagine 1.5
PartnersGoogleOpenAIByteDanceBlack Forest LabsKling AIQwenAlibabaxAIMiniMaxElevenLabs
Getting StartedWiro ModelsWiro EffectsIntroductionAuthenticationProjectsCode ExamplesWiro MCP ServerSelf-Hosted MCPn8n IntegrationLLMs.txt
API ReferenceModelsRun a ModelModel ParametersTasksLLM & Chat StreamingWebSocketRealtime VoiceFiles
© 2026 Wiro AI. All rights reserved.
PrivacyTermsData Deletion