Music Generations
Minimum-discount routing: Prefix the path with a min{N} segment (e.g. /min30/v1/music/generations) to require marketplace seller offers to meet a minimum estimated buyer discount before routing. Buyer-owned providers are not covered. See Minimum-Discount Routing.
Async music and text-to-audio generation via the marketplace. Same flow as video: submit, poll, retrieve.
Submit Job
Auth: API key required (Authorization: Bearer ***).
- Name
model- Type
- string
- required
- Description
- Model ID, e.g.
venice-ace-step-15; legacyvenice-music-genmaps to ACE-Step
- Name
prompt- Type
- string
- required
- Description
- Prompt or narration text (max 2000 chars)
- Name
duration_seconds- Type
- integer
- Description
- Track/audio duration. Optional; omitted values use the model's default duration when known
- Name
lyrics_prompt- Type
- string
- Description
- Lyrics text (max 5000 chars) for models that support lyrics
- Name
force_instrumental- Type
- boolean
- Description
- Generate without vocals when supported
- Name
voice- Type
- string
- Description
- Voice selection for TTS-like audio models
- Name
language_code- Type
- string
- Description
- Language for lyrics or speech models when supported
- Name
webhook_url- Type
- string
- Description
- URL for terminal state callbacks
- Name
metadata- Type
- object
- Description
- Client pass-through metadata
Current Venice-backed examples include venice-ace-step-15, venice-elevenlabs-music, venice-minimax-music-v26, venice-stable-audio-25, venice-elevenlabs-sound-effects-v2, venice-mmaudio-v2-text-to-audio, and Venice audio TTS models. Query /v1/models and /api/markets for the live catalog and active order book.
Poll Status
Auth: API key OR X-Job-Token header.
Cancel Job
Same as video.
Differences from Video
- Default expiry: 15 minutes.
- Poll schedule is faster: 2s initial, 10s cap.
- Supports
lyrics_prompt,force_instrumental,voice, andlanguage_codewhere the selected Venice model supports them. - Seller validation and offer health use
/audio/quoteso onboarding does not spend provider credits on full generations. - Download artifacts are cached/proxied for buyer access. Default artifact retention is 3 hours (
MEDIA_ARTIFACT_TTL_SECONDScan override it).