{"uid":"cap_OUhsKqKQsXPCmUUGJihvL","slug":"api-zeroclick-ac-elevenlabs-music-api-2d8874d5","name":"ElevenLabs Music API via ZeroClick","description":"Use this listing when an agent needs programmatic music generation. Supply either a natural-language 'prompt' or a structured 'composition_plan' (they are mutually exclusive). Validate response headers for 'song-id' and 'content-type'. If a timeout or upstream 5xx occurs, mark the call as failed and follow refund policy. Avoid sending copyrighted requests without rights. Refer to upstream docs for supported output_format values and limits.\n\nUse when: Generate short to long musical pieces programmatically (3s–600s).; When you need deterministic runs (use seed) or repeatable composition via composition_plan.; When different output formats (mp3/wav) are required for downstream playback or processing.\n\nDo not use when: When you need to reproduce an existing copyrighted song without rights or license.; For transient prompts that do not require an external audio artifact (text-only effects).; When the buyer requires guaranteed artist-identical vocals or licensed commercial samples without appropriate rights.\n\nFailure modes: Invalid buyer input (e.g., mutually exclusive fields provided).; Upstream rate limiting or 429 responses.; Upstream 5xx service failure.; Payment authorization failure.; Generation timeout (exceeds 30000 ms configured timeout).\n\nPrice: 0.05 USDC per request.","url":"https://api.zeroclick.ac/x402/elevenlabs-music-api-vq4khs","method":"POST","headers":{},"bodySchema":{"type":"object","required":[],"properties":{"seed":{"type":["integer","null"],"maximum":2147483647,"minimum":0,"description":"Optional random seed (0..2^31-1). When provided, generation may be deterministic. Do not provide together with prompt for seed-only workflows."},"prompt":{"type":["string","null"],"maxLength":4100,"description":"Natural-language prompt to guide the music generation (up to 4100 chars). Mutually exclusive with composition_plan."},"model_id":{"enum":["music_v1"],"type":"string","default":"music_v1","description":"Model identifier. Currently only 'music_v1' is supported by the upstream API."},"output_format":{"type":"string","description":"Desired audio format (e.g. 'mp3_44100_128', 'wav_48000'). Use formats supported by the upstream service."},"sign_with_c2pa":{"type":["boolean","null"],"default":false,"description":"If true and supported by upstream, attach a C2PA provenance signature to the artifact."},"music_length_ms":{"type":["integer","null"],"maximum":600000,"minimum":3000,"description":"Requested length in milliseconds (3,000–600,000). If omitted, the model will choose a suitable length."},"composition_plan":{"type":["object","null"],"description":"Structured composition plan describing sections, instruments, tempo, etc. Mutually exclusive with prompt."},"force_instrumental":{"type":["boolean","null"],"default":false,"description":"Request instrumental output where feasible (reduce or avoid vocals)."},"store_for_inpainting":{"type":["boolean","null"],"default":false,"description":"When true, instructs upstream to retain an artifact for potential inpainting workflows if supported."},"respect_sections_durations":{"type":["boolean","null"],"default":true,"description":"When composition_plan is provided, attempt to respect specified section durations."}},"additionalProperties":true},"responseSchema":{"type":"object","required":["contentType","byteLength","bodyBase64","responseHeaders"],"properties":{"bodyBase64":{"type":"string","description":"Base64-encoded audio bytes (decoded length equals byteLength)."},"byteLength":{"type":"integer","description":"Number of bytes in the decoded audio payload."},"contentType":{"type":"string","description":"MIME type of the audio (e.g., 'audio/mpeg', 'audio/wav')."},"responseHeaders":{"type":"object","required":["content-type","song-id"],"properties":{"song-id":{"type":"string","description":"Upstream song identifier returned by the service."},"content-type":{"type":"string","description":"Content-Type header value returned by the upstream service."}},"additionalProperties":true}},"additionalProperties":true},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.50","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_fznHBpCu4piC_KBwSJ0MZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_B6I5jnTqDbkXshgoNyigU","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"unknown","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"api.zeroclick.ac","brandSlug":"api-zeroclick-ac-mpp","brandBaseUrl":"https://api.zeroclick.ac","brandDocsUrl":null,"whatItDoes":"Generates original music audio files from a natural-language prompt or structured composition plan, returning base64-encoded MP3/WAV bytes with a song ID.","exampleAgentPrompt":"Generate a 45-second upbeat electronic dance track with no vocals — use the music_v1 model and return it as an mp3_44100_128 file so I can drop it into the video editor.","exampleUseCases":null,"resultDescription":"Returns an object containing base64-encoded audio bytes (bodyBase64), the byte count (byteLength), the MIME type (contentType such as 'audio/mpeg'), and response headers including a unique song-id and content-type assigned by the upstream ElevenLabs service.","failureModes":["Both prompt and composition_plan provided simultaneously — mutually exclusive fields error","music_length_ms out of range (below 3000ms or above 600000ms) — validation error","Unsupported output_format value — upstream rejection","Upstream ElevenLabs 429 rate limit — too many requests error","Upstream 5xx service failure — mark call as failed and follow refund policy","Generation timeout exceeding 30000ms configured limit","Payment authorization failure — transaction not completed","Copyright-violating prompt rejected by upstream policy"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate original music audio artifacts (not text descriptions) with control over length (3s–600s), output format (mp3/wav), and optionally reproducible output via seed or structured composition plans. Prefer this over text-to-speech or sound-effects APIs when the goal is full musical composition with melody, instrumentation, and structure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":7,"lastUsedAt":"2026-06-02T01:33:23.912Z","lastSuccessfullyRanAt":"2026-06-02T01:33:23.912Z","lastHealthCheckAt":"2026-09-15T06:39:09.575Z","isFirstParty":false}