{"uid":"cap_1mW4Uec4C6ArlqEs4veBU","slug":"api-zeroclick-ac-elevenlabs-music-generation-api-via-zeroclick-cacba034","name":"ElevenLabs Music Generation API (via ZeroClick)","description":"Generate music programmatically using the upstream 'music_v1' model. Supports prompt-driven generation or structured composition plans, configurable output format and length. Upstream behavior (formats, headers, and limits) must be respected by the caller.\n\nAgent instructions: Use this listing when an agent needs programmatic music generation. Supply either a natural-language 'prompt' or a str...[truncated]","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":null,"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.00","reviews":0,"stars":null,"state":"unrated"},"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"}]},"paymentMethods":[{"uid":"pm_BiOdUnonT-13DOYwGCflD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"api.zeroclick.ac","brandSlug":"api-zeroclick-ac-x402","brandBaseUrl":"https://api.zeroclick.ac","brandDocsUrl":null,"whatItDoes":"Generates music programmatically using ElevenLabs' music_v1 model, supporting prompt-driven generation or structured composition plans with configurable output format and length.","exampleAgentPrompt":"Generate a 30-second upbeat electronic track for a product launch video — use ElevenLabs music_v1 with the prompt 'energetic synth-driven beat with rising buildup' and return it as an mp3.","exampleUseCases":null,"resultDescription":"Returns a generated audio file (music track) in the configured output format, produced by ElevenLabs music_v1 based on the supplied prompt or structured composition plan.","failureModes":["Invalid or missing prompt returns 400 bad request","Unsupported output format triggers upstream rejection","Requested duration exceeds model limits returns error","Payment not provided or insufficient USDC balance returns 402","Upstream ElevenLabs service unavailable returns 503","Rate limit exceeded returns 429"],"whenToPreferThis":"Prefer this endpoint when you need to generate original music using ElevenLabs' music_v1 model specifically, especially when integrating into automated pipelines that support x402 micropayments. Choose over alternatives when ElevenLabs' particular style or model quality is required, or when you need structured composition plan support alongside prompt-driven generation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-07-29T00:17:31.848Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T17:51:18.197Z","isFirstParty":false}