● Music and sound effects
AI music and sound effects API
Describe a song and get two versions back, or supply your own lyrics, title and style. A separate endpoint creates sound effects from a text description, from half a second to 30 seconds, including seamless loops.
Who it is for
- Video and game creators who need background music and effects
- Apps that generate soundtracks
- Podcasters who need intros and stingers
How it works
- Describe the music (simple mode) or send lyrics and tags (custom mode).
- Each music request returns two versions in output.clips.
- Sound effects take a prompt and an optional duration_seconds and loop flag.
Endpoints
| Method | Path | What it does |
|---|---|---|
POST | /v1/audio/music | Songs and instrumentals |
POST | /v1/audio/sound-effects | Sound effects |
Models
Pass one of these as model (or voice_id for voices). The full, current list with prices is at /v1/models.
ai33/sunoai33/eleven_text_to_sound_v2
Example
curl https://omni-api.rcinc.app/v1/audio/music \
-H "Authorization: Bearer $OMNI_KEY" -H "content-type: application/json" \
-d '{"prompt":"Lo-fi beat for a late-night coding stream","instrumental":true}'Pricing
A song typically costs under one cent on Omni against about $0.02 a song on Suno's Pro plan; a five-second sound effect costs under a tenth of a cent against about $0.01 at ElevenLabs. See the pricing page for the full comparison.
Limits
- Prompts are limited to 500 characters (music) and 450 characters (sound effects).
- Only generate music you are allowed to use commercially under the providers' terms.
Related
Try music and sound effects with $5 of credit. No subscription.
Get your API key →