{"uid":"cap_r_V1D_bwMudomgchSZ3Ro","slug":"music-x402-press-music-generator-fe2ff0ca","name":"music.x402.press Music Generator","description":"Generate an AI instrumental music track from a text prompt","url":"https://music.x402.press/music/generate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bpm":{"type":"integer","default":0,"description":"Beats per minute (0 = auto)"},"key":{"type":"string","default":"","description":"Musical key (e.g. C, Am; blank = auto)"},"method":{"type":"string","const":"POST"},"prompt":{"type":"string","description":"Natural language description of the music to generate"},"duration":{"type":"integer","default":180,"description":"Target duration in seconds (30+). Default 180"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.10175","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.106125/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.106125","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.106125","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_giXtLmUmNuBvBqml61xi8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.106125","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an AI instrumental music track from a text prompt, delivered as an audio file, for $0.10 USDC per call via the x402 payment protocol","exampleAgentPrompt":"Generate an AI instrumental track for me — something with a calm, lo-fi chill-hop vibe with soft piano and mellow beats, good for studying.","exampleUseCases":null,"resultDescription":"An AI-generated instrumental audio track corresponding to the input text prompt, returned as an audio file or URL to the generated music.","failureModes":["Invalid or missing text prompt returns an error","Payment not provided or insufficient USDC balance causes 402 Payment Required","Ambiguous or unsupported style description may yield unexpected results","Network or server errors may cause generation failures","Rate limiting if too many requests are made concurrently"],"whenToPreferThis":"Use this endpoint when you need to programmatically generate custom AI instrumental music from a text description, especially within x402 payment-enabled agent workflows. Prefer this over manual music licensing or stock music libraries when you need unique, on-demand AI-composed tracks for a specific mood or style at a low per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:56:21.606Z","isFirstParty":false}