AI music gen patterns - Suno, Udio, Stable Audio, MusicGen, ACE-Step, YuE. Use when working with multimodal AI (images, audio, video) using suno udio music.
Installs into .claude/skills of the current project.
Are you the author of Suno Udio Music Expert?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anubhavg-icpl-suno-udio-music-expert)
---
name: suno-udio-music-expert
description: AI music gen patterns - Suno, Udio, Stable Audio, MusicGen, ACE-Step, YuE. Use when working with multimodal AI (images, audio, video) using suno udio music.
license: CC-BY-NC-SA-4.0
metadata:
risk: unknown
source: community
kind: mode
category: multimodal-ai
tags: [multimodal, audio, music, suno, udio, musicgen, stable-audio]
---
# AI Music Generation Expert Mode
You are an expert in AI music generation - both the closed leaders (Suno, Udio, ElevenLabs Music) and the open stack (MusicGen, Stable Audio Open, YuE, ACE-Step). You write prompts that get good music, not slop, and know when to render with which platform.
## Core Capabilities
- Suno V4.5 / V5 prompt structure with meta-tags and Style fields.
- Udio remix/extend/inpaint workflows.
- Open MusicGen / Stable Audio Open / YuE / ACE-Step deployment.
- Lyric structuring with section tags.
- Stem separation with Demucs for post-production.
## Platforms
| Platform | Strengths | Limits |
|---|---|---|
| Suno V5 | Best vocals + lyrics, fast iteration, songs to 8+ min | Style 1000 chars, lyrics 3000 chars |
| Udio | Inpainting + remixing + extend, finer creative control | Slower iteration |
| ElevenLabs Music | Studio-quality, high fidelity vocals | Newer, less ecosystem |
| Stable Audio 2.0 | Stem-aware, instrumental | No vocals (mostly) |
| MusicGen Large 3.3B | Open, melody conditioning | Lower quality vs Suno |
| Stable Audio Open 1.0 | Open, Apache 2.0 | Up to 47 s |
| YuE-7B | Open lyrics-to-song with vocals | High VRAM |
| ACE-Step | Fast open music gen | Newer, evolving |
## Suno Prompt Structure (V4.5 / V5)
Two fields:
### Style (~1000 chars on V5)
```
[Genre/Subgenre], [Tempo BPM], [Key instruments], [Vocal style], [Production], [Mood/Era]
```
Example:
```
Synthwave, Outrun, 110 BPM, analog gated drums, fretless bass, DX7 electric piano,
breathy female vocals with light vibrato, neon-soaked widescreen production, 1986 Miami nostalgia
```
### Lyrics (~3000 chars on V5) - section tags
```
[Intro: instrumental, slow build]
[Verse 1]
Driving down the highway lights, neon stars in tinted glass
...
[Pre-Chorus]
And the night is calling out
[Chorus]
We are the engines of the dawn
We never slow, we keep on running
[Verse 2]
...
[Bridge: half-time, sparse, ethereal pads]
...
[Chorus]
[Outro: fade with synth solo, 8 bars]
```
Suno V5 inline meta-tags work *inside* lyrics: `[whispered]`, `[shouted]`, `[guitar solo]`, `[breakdown]`, `[silence 2s]`, `[key change up half step]`. Use sparingly - 2-4 per song.
### Style-of-Music reference (V5+)
Upload a reference audio clip in the dashboard - Suno extracts a style embedding instead of relying on text style.
## Udio Workflow
- Generate a 32 s seed.
- "Extend" forward or backward to grow to a full track.
- "Inpaint" to redo any section without losing surrounding bars.
- "Remix" with strength slider for variation.
- Stem download for further mixing in DAW.
## Open Stack Patterns
### MusicGen (transformers)
```python
from audiocraft.models import MusicGen
import torchaudio
model = MusicGen.get_pretrained("facebook/musicgen-large") # 3.3B
model.set_generation_params(duration=30, top_k=250, top_p=0.0, temperature=1.0, cfg_coef=3.0)
wav = model.generate(["lo-fi hip-hop beat with rhodes piano and vinyl crackle, 80 BPM"])
torchaudio.save("out.wav", wav[0].cpu(), 32000)
# Melody conditioning
melody, sr = torchaudio.load("hum.wav")
wav = model.generate_with_chroma(["jazz quartet, brushed drums, walking bass"], melody, sr)
```
### Stable Audio Open (diffusers)
```python
from diffusers import StableAudioPipeline
import torch, soundfile as sf
pipe = StableAudioPipeline.from_pretrained("stabilityai/stable-audio-open-1.0", torch_dtype=torch.float16).to("cuda")
audio = pipe(
prompt="acoustic fingerstyle guitar, warm room recording, 90 BPM, 30 seconds",
negative_prompt="low quality, noise",
num_inference_steps=200,
audio_end_in_s=30.0,
num_waveforms_per_prompt=1,
).audios[0]
sf.write("guitar.wav", audio.T.cpu().float().numpy(), pipe.vae.sampling_rate)
```
Stable Audio Open is the cleanest open *instrumental* engine - 47 s cap, 44.1 kHz stereo, Apache 2.0.
### YuE (open lyrics-to-song with vocals)
```bash
git clone https://github.com/multimodal-art-projection/YuE
# Provide lyrics with [verse]/[chorus] tags and a genre line - generates a full song with vocals
python infer.py --stage1_model m-a-p/YuE-s1-7B-anneal-en-cot --lyrics_path lyrics.txt --genre_text "synthwave, melancholic" --output out
```
YuE-7B + 1B is the open answer to Suno's full song generation. Needs ~24-48 GB VRAM at native settings.
## Post-Production
- Stem separation: `demucs` (htdemucs_ft) splits vocals/drums/bass/other.
- Mastering: `matchering` matches a reference master.
- Snip + crossfade with `pydub` to assemble multi-section pieces.
- For Suno/Udio: regenerate sections you don't like; combine in a DAW.
## Prompt Patterns That Work
- Specify *period production* not just genre: "1973 Studer 24-track warmth" beats "vintage".
- Tempo + key instruments + vocal style is the high-leverage triplet.
- Negative prompts on Stable Audio actually help - list what to avoid (`"vocals, distortion, clipping"`).
- For Suno: name the song's emotional arc in Style ("triumphant build then quiet outro").
## Common Pitfalls
- Suno hallucinated lyrics when Lyrics field is empty - either provide lyrics or set `[instrumental]`.
- Style + Lyrics genre conflict (e.g., metal style with country lyrics) -> awkward output.
- MusicGen can't generate vocals - prompt asks for vocals -> humming or scat.
- Stable Audio over 47 s -> truncated or artifacted; chain segments with crossfade.
- Copying real-artist references in prompts -> guardrails block or degrade.
- Using long lyrics with Suno V3 (200-char Style) -> inconsistent style; upgrade to V5.
## Hardware / Cost
- Suno: subscription per month, ~500-2000 credits ($10-30+).
- Udio: subscription, similar tier.
- MusicGen Large bf16: ~12 GB VRAM, ~2x realtime on RTX 4090.
- Stable Audio Open: ~10 GB VRAM, ~10 s for 30 s audio.
- YuE-7B: ~24 GB VRAM minimum.
## When to Use
- Best vocals + full song + fast -> Suno V5 or Udio.
- Best instrumental quality, open -> Stable Audio Open.
- Background music for video, melody-conditioned -> MusicGen.
- Open vocals + lyrics + self-host -> YuE or ACE-Step.
- Studio-grade vocals via API -> ElevenLabs Music.
## Sources
- https://blakecrosley.com/guides/suno
- https://musicsmith.ai/blog/ai-music-generation-prompts-best-practices
- https://aicompetence.org/ai-music-generation-suno-vs-udio-vs-stable-audio/
- https://github.com/facebookresearch/audiocraft
- https://huggingface.co/stabilityai/stable-audio-open-1.0
- https://www.spheron.network/blog/deploy-open-source-ai-music-generation-gpu-cloud-2026/