# AiSpace Audio Speech Synthesis

> AiSpace Audio Speech Synthesis is a paid API for AI agents from x402.aispace.bot, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Converts text input to spoken audio using AiSpace's Venice.ai-powered text-to-speech API

## Facts

- Endpoint: POST https://x402.aispace.bot/api/v1/audio/speech?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aispace-audio-speech-synthesis-1fcd9bc0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mLqjnlyJ1f3wHyMFaUMYx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aispace-audio-speech-synthesis-1fcd9bc0 -d '<json body>'
```

Example prompt: Can you convert this paragraph into spoken audio using AiSpace: 'Welcome to our platform. We are excited to have you here and hope you enjoy your experience.'

## When to prefer this

Choose this endpoint when you need privacy-focused text-to-speech synthesis backed by Venice.ai, especially when data privacy is a concern since AiSpace emphasizes on-device data handling. Suitable for lightweight per-call usage at $0.001 USDC with x402 micropayment support.

## Known failure modes

- Missing required 'input' field returns validation error
- Invalid HTTP method enum value causes schema rejection
- Empty or malformed text input may result in silent failure or error response
- Network timeout if audio generation takes too long
- Payment failure via x402 protocol if USDC balance is insufficient

## How this service works

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.

## Output

Returns a JSON response with an 'ok' boolean confirming successful speech synthesis; the actual audio data is expected to be delivered as part of the response payload or a linked resource.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "Text to speak."
  },
  "model": {
   "type": "string",
   "description": "Venice TTS model id. See GET /api/v1/models?type=tts (e.g. tts-kokoro, tts-elevenlabs-turbo-v2-5)."
  },
  "voice": {
   "type": "string",
   "description": "Voice id supported by the chosen model."
  },
  "response_format": {
   "enum": [
    "mp3",
    "opus",
    "aac",
    "flac",
    "wav",
    "pcm"
   ],
   "type": "string",
   "description": "Optional audio container (mp3|opus|aac|flac|wav|pcm). Must be in that model's model_spec.supported_formats; omit to use default_format."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aispace-audio-speech-synthesis-1fcd9bc0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.aispace.bot](https://www.zero.xyz/host/x402.aispace.bot/llms.txt)
