{"uid":"cap_aJAWQlUt-OeZ96JV_oOyw","slug":"animica-audio-generation-api-30c6b9a9","name":"Animica Audio Generation API","description":"Animica Python Cloud: deploy a Python function to animica.dev, get a public endpoint, and earn ANM every time someone runs it. Free AI (OpenAI-compatible, no key), free scheduled Workers, and an 80/20 developer split.","url":"https://animica.dev/x402/media/audio","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"kind":{"type":"string","description":"one of: audio, audio_stems, audio_isolate, audio_enhance, audio_master (aliases accepted, e.g. \"video\", \"music\", \"upscale\")"},"params":{"type":"object","description":"optional per-kind parameters, clamped by the renderer"},"prompt":{"type":"string","description":"what to render; required except for upload-driven kinds"},"upload_ids":{"type":"array","description":"ids from /api/mkt/v1/media/uploads, for image-to-video and the edit kinds"}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002495","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.002512/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002512","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002512","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_73_HS08kwiy7JbUB9m8JJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002512","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Asynchronously generates, isolates, enhances, masters, or stems-separates audio from a text prompt or uploaded audio file via x402 pay-per-call","exampleAgentPrompt":"Generate a relaxing lo-fi hip-hop background track — submit it as an 'audio' kind with the prompt 'chill lo-fi hip-hop beats, soft piano, rain ambiance' and poll for the result when it's ready.","exampleUseCases":[{"title":"AI music for a YouTube video","prompt":"I need a short upbeat electronic background music track for my product demo video — generate one from the description 'energetic electronic music with driving synths and a fast tempo'."},{"title":"Stem separation for remixing","prompt":"I've uploaded a song and want to split it into separate stems so I can remix it — run audio_stems on upload ID 'upl_abc123' and let me know when the stems are ready to download."},{"title":"Mastering a recorded podcast","prompt":"I have a rough audio recording I uploaded with ID 'upl_xyz789' — can you run audio_master on it to make it sound polished and broadcast-ready?"}],"resultDescription":"A JSON job handle containing job_id, kind, status, queue position, miners_online count, a poll_url for checking progress, and a message. The job is asynchronous — the agent must GET the poll_url repeatedly until status is 'done', then retrieve the rendered audio artifact.","failureModes":["Invalid 'kind' value returns an error — must be one of audio, audio_stems, audio_isolate, audio_enhance, audio_master","Missing 'prompt' for generation kinds (audio) causes a validation error","Invalid or expired upload_ids for upload-driven kinds (audio_isolate, audio_enhance, audio_master, audio_stems) causes failure","Payment not included or insufficient USDC (0.007632) via x402 protocol results in 402 Payment Required","No miners online may cause indefinite queue delay","Poll URL may eventually expire if artifact is not fetched promptly"],"whenToPreferThis":"Choose this endpoint when you need AI-generated audio, music, or audio processing (enhancement, mastering, stem separation, vocal isolation) via a pay-per-call model without requiring a separate API key. Prefer it for agentic workflows that need programmatic audio creation or transformation at low cost ($0.007632/call) using the x402 micropayment protocol on the Base/USDC stack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T09:15:16.968Z","isFirstParty":false}