{"uid":"cap_GGrpuSFI5meqhU4gCJbRI","slug":"api-zeroclick-ac-elevenlabs-music-api-b847cbac","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/mpp/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":"unknown","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unknown_unparsed","priceSource":"unknown","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":"unknown","summary":"price unknown","primary":{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_3rLB6xOU-ZII10X1M6wRb","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 audio with a song identifier.","exampleAgentPrompt":"Generate me a 45-second instrumental lo-fi hip-hop track — calm and relaxed mood, no vocals — and give it to me as an MP3 file; use seed 42 so I can reproduce it later.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing base64-encoded audio bytes (bodyBase64), the byte length of the audio, the MIME type (e.g. audio/mpeg or audio/wav), and response headers including a unique song-id and content-type assigned by ElevenLabs.","failureModes":["Mutually exclusive fields provided (both prompt and composition_plan) — validation error","Upstream rate limiting (429) from ElevenLabs","Upstream service failure (5xx) — refund policy applies","Payment authorization failure","Generation timeout exceeding 30,000 ms","Unsupported output_format value","music_length_ms outside 3000–600000 ms range"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate original music audio files (3 seconds to 10 minutes) via ElevenLabs' music_v1 model, especially when you want to pass a natural-language prompt or a detailed composition plan, require specific output formats (MP3/WAV), need deterministic/reproducible generation via a seed, or want C2PA provenance signing. Avoid if you need licensed commercial samples or copyrighted song reproduction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:24.143Z","isFirstParty":false}