Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Generate AI music with Udio via API wrappers or browser automation, with prompt engineering and song extensions.
Generate AI music with Udio via API wrappers or browser automation, with prompt engineering and song extensions.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
On first use, read setup.md for integration guidelines.
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.
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
TopicFileSetupsetup.mdMemorymemory-template.mdAPI usageapi.mdBrowser automationbrowser.mdPrompt craftingprompts.mdStyle tagsstyles.mdLyrics guidelyrics.md
SituationMethodProgrammatic generation, batch jobsAPI wrapperUser wants to browse and listenBrowser automationJust need prompt helpPrompt engineering only
Udio has no official public API. Community wrappers use the internal API: Token: sb-api-auth-token cookie from udio.com Token expires: refresh if 401 errors occur See api.md for setup instructions
[genre] [subgenre] [mood] [instruments] [voice] [era/influence] Example: "indie folk melancholic acoustic guitar female vocals 90s"
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
Same prompt + different seed = different result. When close to desired output: Note the seed number Try adjacent seeds (seed +/- 1) Document working combinations
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'] )
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);
# 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..." )
When API isn't available or user prefers visual interaction:
browser action=open targetUrl="https://www.udio.com" profile=openclaw
Open DevTools: Cmd+Option+I (Mac) or F12 (Windows) Go to Application tab > Cookies > udio.com Find sb-api-auth-token Copy the value
Navigate to create page Enter prompt in text field Adjust settings (instrumental, duration) Click generate Wait for completion (~30-60 seconds) Download or extend
GenrePrompt PatternElectronicelectronic [subgenre] [mood] synth [texture] [era]Rock[sub]rock [energy] [guitars] [drums] [vocals] [decade]Hip Hophip hop [subgenre] [beat style] [sample type] [era]Jazzjazz [subgenre] [instruments] [setting] [mood]Classicalclassical [period] [ensemble] [mood] [dynamics]
EnergyMood StackHigh + Positiveeuphoric energetic uplifting triumphantLow + Positivepeaceful calm serene contemplativeHigh + Negativeaggressive chaotic intense darkLow + Negativemelancholic somber mournful introspectiveComplexbittersweet nostalgic hopeful yearning
# Female vocals female vocals ethereal soprano breathy # Male vocals male vocals deep baritone raspy emotional # Choir choir harmonies gospel powerful anthemic # No vocals instrumental only no singing no vocals
TrapProblemSolutionVague prompts"good music" = randomBe specific: genre, mood, instrumentsContradictions"upbeat sad" confuses modelPick consistent descriptorsToken expiry401 errorsRe-extract from browser cookiesToo many keywords20+ terms dilute focusUse 5-10 key descriptorsNo seed trackingCan't reproduce good resultsLog seeds for successful generationsAbrupt extensionsJarring transitionsMatch style/key in extend prompts
PhaseDurationPrompt AdditionsIntro0-30s"intro, building, atmospheric"Verse/Main30s-2mOriginal promptBridge2m-2:30"variation, bridge, key change"OutroFinal 30s"outro, ending, fade, resolution"
Add to final extend/outro: "fade out" / "fading" "song ending" / "conclusion" "final chorus" / "last verse" "resolution" / "outro"
This skill creates ~/udio/ on first use: memory file โ Preferences, successful prompts, token location reference projects folder โ Per-project tracking with seeds and URLs songs folder โ Downloaded audio files (optional) All data stays local. Auth tokens should be stored in system keychain, not plain text.
This skill does: Generate music via community API wrappers (requires auth token) Navigate udio.com with browser automation (user must be logged in) Craft optimized prompts for Udio's model (no token needed) Track projects, seeds, and successful patterns locally Download generated audio files to ~/udio/songs/ This skill does NOT: Store auth tokens in plain text (must use keychain/credential manager) Bypass Udio's rate limits or terms of service Access files outside ~/udio/ Auto-extract tokens without user guidance
Auth Token: The sb-api-auth-token cookie grants API access to your Udio account. Handle it like a password: Store in system keychain, never in plain text Token expires after ~7 days of inactivity Re-extract if you get 401 errors Community Wrappers: The Python and Node wrappers are community-maintained (not official Udio software). Review their source code before installing: Python: github.com/flowese/UdioWrapper Node: github.com/josephgodwinkimani/udio-wrapper Prompt-Only Mode: If you prefer not to use API or share tokens, this skill works in prompt-only mode โ just help with crafting effective prompts without any API calls.
EndpointData SentPurposeapi.udio.comPrompts, lyricsMusic generation (via wrappers)udio.comBrowser sessionDirect platform access Auth token is sent with API requests. No other data leaves the machine.
By using this skill with API wrappers, prompts and lyrics are sent to Udio's servers for music generation. Only use if you trust Udio with your creative content. Review Udio's terms of service at udio.com/terms.
Install with clawhub install <slug> if user confirms: audio โ Audio processing and editing video โ Combine music with video content ffmpeg โ Audio format conversion
If useful: clawhub star udio Stay updated: clawhub sync
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.