blockrun_music
Generate a full-length MP3 music track from a text prompt describing style, mood, or genre. Payment settles only when the finished track is delivered as a permanent URL.
Instructions
Generate music tracks via BlockRun x402 (async, client-polled).
Generates a full-length ~3 minute MP3 track. Takes 1-3 minutes to complete. The tool submits the job and, for slower tracks, polls until it is ready. On the Base wallet payment settles only when a finished track is returned — if the job fails you are not charged; if this client gives up while a paid request is still in flight the gateway may still settle, and the error text says so. On Solana and on the account rail the job is billed when the gateway ACCEPTS it, so a job that later fails or outlives the poll budget is still charged — the error text says so and names the job, which stays claimable for ~48h.
Model: minimax/music-2.5+ ($0.1575/track, up to ~4 min)
Returns a permanent BlockRun-hosted URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Music model to use | minimax/music-2.5+ |
| lyrics | No | Custom lyrics. Cannot be used with instrumental: true | |
| prompt | Yes | Music style, mood, or description. E.g. 'upbeat synthwave with neon pads', 'chill lo-fi beats', 'epic orchestral film score' | |
| agent_id | No | Agent identifier for budget tracking and enforcement. | |
| instrumental | No | Generate without vocals (default: true) |