# GEDX402 Voice Session Initializer

> GEDX402 Voice Session Initializer is a paid API for AI agents from media.gedx402.com, paid per call via x402, $28.11/call, status unknown (last checked 2026-09-15).

Creates a prepaid voice session with TTS, ASR, and chat credits funded via a single x402 USDC micropayment — returns session token and route endpoints for a full voice loop.

## Facts

- Endpoint: GET https://media.gedx402.com/v1/voice/sessions
- Price: $28.11/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-voice-session-initializer-ef5325b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mpmu2aN8kfyqQ_kmUgtf_

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 gedx402-voice-session-initializer-ef5325b5
```

Example prompt: Start a GEDX402 voice session for me with 20 turns and 10 minutes of flux streaming — pay with USDC on Base, no API key needed.

## When to prefer this

Choose this endpoint when building a real-time voice AI loop that needs TTS, streaming ASR, and fast chat in a single prepaid session — especially when you want to avoid per-service API key management and pay once with USDC across multiple blockchain networks via the x402 protocol. Prefer over direct Workers AI integrations when crypto-native, keyless billing is required.

## Known failure modes

- Payment insufficient or rejected — x402 payment not accepted for the requested credit budget
- Invalid budget values — max_turns outside 1–360 or duration_minutes outside 1–60
- Session creation timeout — upstream Workers AI service unavailable
- Unsupported payment network — chain not among Base, Polygon, Arbitrum, World, Solana
- Malformed response if session quota is exhausted on provider side

## How this service works

Voice agent bundle — prepaid flux ASR, smart-turn, chat/fast, and TTS loop.

## Output

A JSON object containing a unique session_id, a session_token for authenticating subsequent voice loop calls, route URLs for TTS (aura-2-en), ASR flux streaming, fast chat, and smart-turn detection, plus remaining credit counts for each service type (e.g. 30 TTS credits, 30 chat turns, 300 flux seconds).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "budget": {
   "type": "object",
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "routes": {
   "tts": "/v1/tts/aura-2-en",
   "flux": "/v1/asr/flux",
   "chat_fast": "https://chat.gedx402.com/v1/chat/fast",
   "smart_turn": "/v1/asr/smart-turn-v2"
  },
  "credits": {
   "tts_remaining": 30,
   "chat_turns_remaining": 30,
   "smart_turns_remaining": 30,
   "flux_seconds_remaining": 300
  },
  "session_id": "550e8400-e29b-41d4-a716-446655440000",
  "session_token": "abc123…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-voice-session-initializer-ef5325b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from media.gedx402.com](https://www.zero.xyz/host/media.gedx402.com/llms.txt)
