{"uid":"cap_II7VCVhtYqeOB-rrI45tu","slug":"blockrun-audio-generation-dfdd55da","name":"BlockRun Audio Generation","description":"Pay for the outcome. One endpoint for every model, tool and data source an agent needs — each call priced before it runs, at the best value per dollar. 103 models and 100 data and tool APIs.","url":"https://blockrun.ai/api/v1/audio/generations","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Audio model ID (e.g., minimax/music-2.5+)"},"lyrics":{"type":"string","description":"Optional lyrics for the track"},"prompt":{"type":"string","description":"Music style or description prompt"},"instrumental":{"type":"boolean","description":"Generate instrumental (no vocals)"},"duration_seconds":{"type":"integer","description":"Target duration in seconds (5-240, default 30)"}}},"responseSchema":null,"example":{"request":{"model":"minimax/music-2.5+","prompt":"upbeat electronic dance music with synthesizers","instrumental":true,"duration_seconds":30},"response":{"data":[{"url":"https://minimax-algeng-chat-tts-us.oss-us-east-1.aliyuncs.com/music%2Fprod%2Ftts-20260612130250-NeirSDEMsOHsARsJ.mp3?Expires=1781326974&OSSAccessKeyId=LTAI5tCpJNKCf5EkQHSuL9xg&Signature=qSipNy7vdOc0h0aGFwVML87UpFQ%3D","duration_seconds":158}],"model":"minimax/music-2.5+","created":1781240575}},"exampleRequest":{"model":"minimax/music-2.5+","prompt":"upbeat electronic dance music with synthesizers","instrumental":true,"duration_seconds":30},"tags":["x402"],"displayCostAmount":"0.105","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.105/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.106","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.106","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9TGfh5hAnQK_McaOiE1E9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.106","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates AI music tracks from a text prompt and optional lyrics, with configurable duration and instrumental mode, billed per-call in USDC.","exampleAgentPrompt":"Generate a 60-second upbeat electronic instrumental track with a futuristic synthwave vibe — no vocals, just pure background music for a product demo video.","exampleUseCases":null,"resultDescription":"An AI-generated audio file (music track) matching the requested style, lyrics, and duration. The call is billed at $0.105 USDC per generation, settled on Base or Solana.","failureModes":["Invalid or unsupported model ID returns an error","Duration outside the 5–240 second range is rejected","Missing required prompt field causes a validation error","Insufficient USDC balance or failed x402 payment results in 402 Payment Required","Overly long or malformed lyrics may cause generation failure"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call AI music generation without managing API keys, and want settlement in USDC on Base or Solana. Ideal for agents that need to generate music tracks on demand from style prompts or lyrics, especially within a crypto-native or x402-compatible payment workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T09:15:31.338Z","isFirstParty":false}