AiSpace Venice · Audio Speech

by AiSpace Venice

POSTBaseSolana

$0.01

per call · USD Coin on Base

Text-to-speech on Venice voices (Kokoro, Qwen 3, xAI, Inworld, Chatterbox, Orpheus, ElevenLabs Turbo, MiniMax, Gemini Flash), paid per request in USDC on Base via x402, no API key. Resolve a model id from GET /api/v1/models?type=tts.

Endpoint

POST https://x402.aispace.bot/api/v1/audio/speech

14

Calls / 30d

4

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.aispace.bot/api/v1/audio/speech", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": "Welcome to AiSpace, pay-per-request AI for agents.",
    "model": "tts-kokoro",
    "voice": "af_sky"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://x402.aispace.bot/api/v1/audio/speech" \
  -H "Content-Type: application/json" \
  -d '{"input":"Welcome to AiSpace, pay-per-request AI for agents.","model":"tts-kokoro","voice":"af_sky"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "contentType": "audio/wav",
  "note": "Response body is raw binary media, not JSON. Trust the sniffed content type over the header.",
  "type": "binary"
}

Payment details

Pay to0xa7f3ad0e69f61864092fabba6cee00af6e584689
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Media & Generation and the homepage with a featured placement.

Get featured →

More from AiSpace Venice & similar services