Api Endpoint

x402Factory Solana TTS

Paid text-to-speech API for Solana agents with fixed-tier USDC billing (0.44 USDC for 44 units, ~0.0006 USDC/char).

Open interactive test console

Offering

Provider
x402factory.ai
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402factory.ai/solana/tts/44
MIME type
Not provided
First seen
2026-10-16T02:00:03.055Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.44 USDC
Atomic price: 440000 · Network: solana · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "440000",
    "payTo": "AGENTxr77msTPAmGk4DwdumueVAa3SvtyrpTf6tWMeWD"
  }
]

Observed health

Status
Healthy
Latest latency
1253 ms
Average latency
603 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "http",
  "method": "POST",
  "bodyType": "json",
  "bodyFields": {
    "text": {
      "type": "string",
      "required": false,
      "description": "Text to convert to speech when action is omitted (TTS mode). Required for paid TTS calls."
    },
    "action": {
      "enum": [
        "list"
      ],
      "type": "string",
      "required": false,
      "description": "Optional action. Omit for TTS. Use 'list' to list available voices instead of generating speech."
    },
    "voice_id": {
      "type": "string",
      "required": false,
      "description": "Optional ElevenLabs voice_id. If omitted, a default narrator voice is used."
    }
  }
}

Output schema

{
  "ok": {
    "type": "boolean",
    "description": "True on success"
  },
  "chars": {
    "type": "number",
    "description": "Number of characters used for pricing in TTS calls."
  },
  "action": {
    "type": "string",
    "description": "Action performed: 'tts' for text-to-speech, 'list' for voice listing."
  },
  "voices": {
    "type": "array",
    "description": "For action=list: available voices with trimmed metadata (voice_id, name, accent, descriptive, age, language, use_case)."
  },
  "tts_url": {
    "type": "string",
    "description": "Public URL of the generated audio file hosted on ImageKit (TTS only)."
  },
  "voice_id": {
    "type": "string",
    "description": "Voice ID used for the TTS call (TTS only)."
  },
  "price_usdc": {
    "type": "number",
    "description": "Price charged for this call in USDC (6 decimals, rounded up). Minimum is 0.001 USDC."
  }
}