Udio
Generate AI music with Udio via API wrappers or browser automation, with prompt engineering and song extensions.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/ivangdavila/udioSetup
On first use, read setup.md for integration guidelines.
When to Use
User wants to generate music with Udio. Agent can use API wrappers for programmatic generation, browser automation for direct platform interaction, or guide prompt engineering.
Architecture
Memory at ~/udio/. See memory-template.md for structure.
~/udio/
├── [memory.md] # Created on first use: preferences, auth token location
├── [projects/] # Per-project song tracking
└── [songs/] # Downloaded audio files
Quick Reference
| Topic | File |
|---|---|
| Setup | setup.md |
| Memory | memory-template.md |
| API usage | api.md |
| Browser automation | browser.md |
| Prompt crafting | prompts.md |
| Style tags | styles.md |
| Lyrics guide | lyrics.md |
Core Rules
1. Choose the Right Approach
| Situation | Method |
|---|---|
| Programmatic generation, batch jobs | API wrapper |
| User wants to browse and listen | Browser automation |
| Just need prompt help | Prompt engineering only |
2. API Requires Auth Token
Udio has no official public API. Community wrappers use the internal API:
- Token:
sb-api-auth-tokencookie from udio.com - Token expires: refresh if 401 errors occur
- See
api.mdfor setup instructions
3. Structure Prompts in Layers
[genre] [subgenre] [mood] [instruments] [voice] [era/influence]
Example: "indie folk melancholic acoustic guitar female vocals 90s"
4. Extend Songs Strategically
Udio generates ~30 second clips. Build full songs:
- Create initial clip with strong hook
- Extend 2-3 times with consistent style
- Add outro with ending indicators
- Target 2-4 minutes total
5. Save Successful Seeds
Same prompt + different seed = different result. When close to desired output:
- Note the seed number
- Try adjacent seeds (seed +/- 1)
- Document working combinations
API Integration
Python Wrapper (Recommended)
pip install udio_wrapper
from udio_wrapper import UdioWrapper
# Initialize with auth token
udio = UdioWrapper("your-sb-api-auth-token")
# Create a song
song = udio.create_song(
prompt="electronic ambient downtempo dreamy synth pads",
seed=-1, # -1 for random
custom_lyrics="Optional lyrics here"
)
# Extend the song
extended = udio.extend(
prompt="add drums and bass, building energy",
audio_conditioning_path=song['song_path'],
audio_conditioning_song_id=song['id']
)
# Add outro
outro = udio.add_outro(
prompt="gentle fade out, conclusion",
audio_conditioning_path=extended['song_path'],
audio_conditioning_song_id=extended['id']
)
TypeScript/Node Wrapper
npm install udio-wrapper
import { createUdioWrapper } from 'udio-wrapper';
const client = await createUdioWrapper('your-auth-token');
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-ivangdavila-udio": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
Animations
Create performant web animations with proper accessibility and timing.
Arduino
Develop Arduino projects avoiding common wiring, power, and code pitfalls.
Bulgarian
Write Bulgarian that sounds human. Not formal, not robotic, not AI-generated.
Arabic
Write Arabic that sounds human. Not formal, not robotic, not AI-generated.
Assistant
Manage tasks, communications, and scheduling with proactive and organized support.