{"uid":"cap_fSiDstO-aQHSfEXwOtV1x","slug":"pxbt-x402-music-generator-ed8e3a86","name":"pxbt x402 Music Generator","description":"Paid agent API: USDC on Base via x402.","url":"https://x402.pxbt.app/music?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"sec":{"type":"integer","description":"Track duration in seconds, 10-120, default 30"},"prompt":{"type":"string","description":"Music description in natural language"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"job_id":"ab12cd34","status":"queued","status_url":"https://x402.pxbt.app/music/status/ab12cd34"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QHOUM5Rliy-_6A3kyemu8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a short music track from a natural language description, returning a job ID and status URL for async retrieval, paid per-call via USDC on Base.","exampleAgentPrompt":"Generate a 45-second upbeat lo-fi hip-hop track with jazzy piano and soft drums — something good for studying.","exampleUseCases":[{"title":"Background music for a video","prompt":"Create a 60-second cinematic orchestral track that feels epic and dramatic, something I could use as background music for a trailer."},{"title":"Ambient mood music for a podcast","prompt":"Generate a 30-second calm, ambient track with gentle acoustic guitar and light nature sounds — I need it as an intro for my meditation podcast."},{"title":"Custom jingle for a brand","prompt":"Make a 20-second energetic and fun jingle with upbeat synths and a catchy beat, something that would work for a tech startup promo video."}],"resultDescription":"Returns a JSON object with a job_id string, a status string (e.g. 'queued'), and a status_url pointing to a polling endpoint where the agent can check progress and retrieve the final audio once generation is complete.","failureModes":["Missing or empty 'prompt' query parameter returns a validation error","Duration ('sec') outside 10–120 range may be rejected or clamped","Payment failure or insufficient USDC balance results in a 402 Payment Required response","Network or generation backend errors may result in a failed job status at the status_url","Polling the status_url may show a failed or timed-out job if the generation service is overloaded"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate short custom music tracks (10–120 seconds) from a natural language description and can pay per-call in USDC on Base via the x402 protocol. It is well-suited for agents building creative pipelines, content automation, or media production tools that require AI-generated audio without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:38:30.173Z","isFirstParty":false,"canonicalSlug":"pxbt-x402-music-generator-ed8e3a86"}