AI music generation API - pay per track with USDC on Base
AI music generation API - pay per track with USDC on Base
106000 (raw units)
price
8
calls / 30d
3
unique payers
2026-09-17
updated
Provider
blockrun.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xe9030014F5DAe217d0A152f02A043567b16c1aBf",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "106000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"bodyFields": {
"duration_seconds": {
"description": "Target duration in seconds (5-240, default 30)",
"type": "integer"
},
"instrumental": {
"description": "Generate instrumental (no vocals)",
"type": "boolean"
},
"lyrics": {
"description": "Optional lyrics for the track",
"type": "string"
},
"model": {
"description": "Audio model ID (e.g., minimax/music-2.5+)",
"type": "string"
},
"prompt": {
"description": "Music style or description prompt",
"type": "string"
}
},
"discoverable": true,
"method": "POST",
"type": "http"
},
"output": null
},
"schema": {
"properties": {
"input": {
"properties": {
"body": {
"properties": {
"duration_seconds": {
"description": "Target duration in seconds (5-240, default 30)",
"type": "integer"
},
"instrumental": {
"description": "Generate instrumental (no vocals)",
"type": "boolean"
},
"lyrics": {
"description": "Optional lyrics for the track",
"type": "string"
},
"model": {
"description": "Audio model ID (e.g., minimax/music-2.5+)",
"type": "string"
},
"prompt": {
"description": "Music style or description prompt",
"type": "string"
}
},
"required": [
"prompt"
],
"type": "object"
}
},
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"duration_seconds": {
"type": "number"
},
"lyrics": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://blockrun.ai/api/v1/audio/generations" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://blockrun.ai/api/v1/audio/generations");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://blockrun.ai/api/v1/audio/generations")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/855.json, and this resource appears in /discovery/resources and /discovery/search.