{"uid":"cap_Ye7rI38txRRnV5Vf2Ne80","slug":"agentutility-music-generate-9e8cc809","name":"AgentUtility Music Generate","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/music-generate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["prompt"],"properties":{"model":{"type":"string","description":"Override the Venice music model. Default 'ace-step-15'."},"lyrics":{"type":"string","description":"Optional lyrics. The model will sing them."},"prompt":{"type":"string","description":"Genre / mood / instrumentation description."},"duration_seconds":{"type":"number","description":"Requested length in seconds. ACE-Step rounds up to 60, 90, or 120 seconds. Default 60."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"model":{"type":"string"},"prompt":{"type":"string"},"source":{"type":"string"},"audio_url":{"type":"string"},"venice_queue_id":{"type":"string"},"duration_seconds":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"model":"ace-step-15","prompt":"Upbeat 80s synthwave with dreamy vocals about driving at night","source":"venice","audio_url":"https://v3.fal.media/files/abc/xyz/music.mp3","venice_queue_id":"ven_mus...","duration_seconds":60}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NrLqHaew0n1Z6j2WyO99l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates original AI music audio files from a text prompt describing genre, mood, and instrumentation, with optional lyrics, using the Venice ACE-Step model","exampleAgentPrompt":"Generate a 60-second upbeat 80s synthwave track with dreamy female vocals and heavy synth arpeggios — something that sounds like driving at night through a neon city.","exampleUseCases":[{"title":"Background music for a promo video","prompt":"Create a 90-second energetic indie pop track with an uplifting feel and acoustic guitar — no lyrics, just instrumental — for a product launch video."},{"title":"Custom song with sung lyrics","prompt":"Generate a 60-second folk-country song and have it sing these lyrics: 'Rolling down the highway, chasing golden light / nothing but the open road and stars to guide the night.'"},{"title":"Ambient music for a meditation app","prompt":"Compose a 120-second calming ambient track with soft pads, gentle rain sounds, and slow evolving textures — no vocals, very minimal, good for meditation or sleep."}],"resultDescription":"A JSON object containing a publicly accessible MP3 audio URL (hosted on a CDN), the model used (e.g. ace-step-15), the original prompt, a Venice queue ID for reference, and the actual duration in seconds rounded up to 60, 90, or 120.","failureModes":["Invalid or missing prompt field returns a validation error","Duration outside supported values may be rounded or rejected","Model override referencing a non-existent model name may fail","Network timeout if Venice queue is congested — retry may be needed","Lyrics too long may be truncated or cause generation errors","Insufficient USDC payment over x402 results in 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to generate original music audio programmatically without an API key or subscription — ideal for AI agents that need on-demand music creation payable per call in USDC. Best for agents building creative media pipelines, adding background music to content, or producing custom jingles with specific genre/mood/lyric requirements. The ACE-Step model supports durations of 60–120 seconds making it suitable for short-form content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:50:24.346Z","isFirstParty":false,"canonicalSlug":"agentutility-music-generate-9e8cc809"}