Udio
Generate AI music with Udio via API wrappers or browser automation, with prompt engineering and song extensions.
от clawic★ 23 звезды на GitHub
Установить Udio в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
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 ~/Clawic/data/udio/. See memory-template.md for structure.
~/Clawic/data/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');
const song = await client.createSong({
prompt: 'indie rock upbeat energetic guitar',
seed: 12345,
customLyrics: 'Optional lyrics'
});
const completed = await client.waitForCompletion(song.id);
console.log('Download URL:', completed.url);
Complete Song Sequence
# Generate intro + extensions + outro in one call
complete = udio.create_complete_song(
short_prompt="peaceful acoustic guitar melody",
extend_prompts=[
"add piano and soft strings",
"introduce light percussion, building"
],
outro_prompt="gentle resolution, fading",
num_extensions=2,
custom_lyrics_short="Opening verse...",
custom_lyrics_extend=["Middle section...", "Bridge..."],
custom_lyrics_outro="Final words..."
)
Browser Automation
When API isn't available or user prefers visual interaction:
Navigate to Udio
browser action=open targetUrl="https://www.udio.com" profile=openclaw
Get Auth Token (for API use)
- Open DevTools:
Cmd+Option+I(Mac) orF12(Windows) - Go to Application tab > Cookies > udio.com
- Find
sb-api-auth-token - Copy the value
Generate Music via UI
- Navigate to create page
- Enter prompt in text field
- Adjust settings (instrumental, duration)
- Click generate
- Wait for completion (~30-60 seconds)
- Download or extend
Prompt Patterns
By Genre
| Genre | Prompt Pattern |
|---|---|
| Electronic | electronic [subgenre] [mood] synth [texture] [era] |
| Rock | [sub]rock [energy] [guitars] [drums] [vocals] [decade] |
| Hip Hop | hip hop [subgenre] [beat style] [sample type] [era] |
| Jazz | jazz [subgenre] [instruments] [setting] [mood] |
| Classical | classical [period] [ensemble] [mood] [dynamics] |
Mood Combinations
| Energy | Mood Stack |
|---|---|
| High + Positive | euphoric energetic uplifting triumphant |
| Low + Positive | peaceful calm serene contemplative |
| High + Negative | aggressive chaotic intense dark |
| Low + Negative | melancholic somber mournful introspective |
| Complex | bittersweet nostalgic hopeful yearning |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
- api.md
- browser.md
- lyrics.md
- memory-template.md
- prompts.md
- setup.md
- styles.md
FAQ
Что делает скилл Udio?
Generate AI music with Udio via API wrappers or browser automation, with prompt engineering and song extensions.
Как установить скилл Udio?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Udio запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…