Skip to content
Fourohtwo

Solana music generation endpoint paid via x402

x402factory.ai/solana/music/90

Solana music generation endpoint paid via x402. Generates a song from a prompt and returns a hosted mp3 URL (ImageKit). Pricing: 0.02 USDC per second. Allowed duration: 10–500 seconds. This is a fixed-duration tier: '/solana/music/90' charges exactly 1.800000 USDC.

SolanaAnswering
POSThttps://x402factory.ai/solana/music/90

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://x402factory.ai/solana/music/90" \
  -d '{"prompt":{"type":"string","required":true,"description":"Music prompt. Required for paid calls."},"seconds":{"type":"number","required":false,"description":"Desired duration in seconds (integer 10–500). Default: 90."}}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "prompt": {
    "type": "string",
    "required": true,
    "description": "Music prompt. Required for paid calls."
  },
  "seconds": {
    "type": "number",
    "required": false,
    "description": "Desired duration in seconds (integer 10–500). Default: 90."
  }
}