{
  "x402Version": 2,
  "id": 35622,
  "slug": "35622",
  "resource": "https://agentsvc.io/api/v1/proxy/tts",
  "description": "Convert text to natural speech audio (MP3, WAV or OGG) with neural Piper voices: en-female, en-male (US English) and de-male (German); all voices public domain or CC0, so the audio can be used commercially. Params: text (required, max 2000 characters), voice (default en-female, or picked from language), language (en or de), speed (0.5 to 2, default 1), format (mp3 default, wav, ogg). Returns audio_base64 and duration.",
  "type": "http",
  "serviceName": "Text to Speech",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
  "resourceType": "Web Intelligence",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "40000",
      "amountUsd": 0.04,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5JzPS5qpEwUM1vTC9GG7uqvwJdHzbEwfoPHf2Ki977tg",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "40000",
      "amountUsd": 0.04,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "40000",
      "amountUsd": 0.04,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x622efA6Ceb83a5b6EdBC931332f4db68B7f74F27",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "40000",
      "amountUsd": 0.04,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "data": {
            "properties": {
              "audio_base64": {
                "type": "string"
              },
              "characters": {
                "type": "integer"
              },
              "duration_seconds": {
                "type": "number"
              },
              "format": {
                "type": "string"
              },
              "gender": {
                "type": "string"
              },
              "language": {
                "type": "string"
              },
              "mime_type": {
                "type": "string"
              },
              "size_bytes": {
                "type": "integer"
              },
              "voice": {
                "type": "string"
              },
              "voice_license": {
                "type": "string"
              }
            },
            "required": [
              "format",
              "duration_seconds",
              "audio_base64"
            ],
            "type": "object"
          },
          "success": {
            "type": "boolean"
          }
        },
        "required": [
          "success",
          "data"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "text",
      "info": {
        "input": {
          "body": {
            "text": "Hello from agentsvc. Your report is ready.",
            "voice": "en-female"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "audio_base64": "SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2…",
              "characters": 42,
              "duration_seconds": 2.93,
              "format": "mp3",
              "gender": "female",
              "language": "en-US",
              "mime_type": "audio/mpeg",
              "size_bytes": 23658,
              "voice": "en-female",
              "voice_license": "public domain"
            },
            "success": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "format": {
                    "default": "mp3",
                    "enum": [
                      "mp3",
                      "wav",
                      "ogg"
                    ],
                    "type": "string"
                  },
                  "language": {
                    "enum": [
                      "en",
                      "de"
                    ],
                    "type": "string"
                  },
                  "speed": {
                    "default": 1,
                    "maximum": 2,
                    "minimum": 0.5,
                    "type": "number"
                  },
                  "text": {
                    "type": "string"
                  },
                  "voice": {
                    "enum": [
                      "en-female",
                      "en-male",
                      "de-male"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "text"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "properties": {
                      "audio_base64": {
                        "type": "string"
                      },
                      "characters": {
                        "type": "integer"
                      },
                      "duration_seconds": {
                        "type": "number"
                      },
                      "format": {
                        "type": "string"
                      },
                      "gender": {
                        "type": "string"
                      },
                      "language": {
                        "type": "string"
                      },
                      "mime_type": {
                        "type": "string"
                      },
                      "size_bytes": {
                        "type": "integer"
                      },
                      "voice": {
                        "type": "string"
                      },
                      "voice_license": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "format",
                      "duration_seconds",
                      "audio_base64"
                    ],
                    "type": "object"
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "success",
                  "data"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "tts",
        "speech",
        "audio",
        "voice",
        "mp3",
        "text-to-speech",
        "speech-synthesis"
      ]
    },
    "builder-code": {
      "info": {
        "a": "bc_q6wi3opd"
      }
    }
  },
  "tags": [
    "tts",
    "speech",
    "audio",
    "voice",
    "mp3",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "agentsvc.io",
  "lastUpdated": "2026-10-11T11:57:42.798Z",
  "quality": {
    "calls30d": 11,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-11T11:57:42.595Z"
  },
  "metadata": {
    "serviceName": "Text to Speech",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791462963/bazaar-icons/243ff0b79dbee242.png",
    "extensions": {
      "bazaar": {
        "category": "text",
        "info": {
          "input": {
            "body": {
              "text": "Hello from agentsvc. Your report is ready.",
              "voice": "en-female"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "audio_base64": "SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2…",
                "characters": 42,
                "duration_seconds": 2.93,
                "format": "mp3",
                "gender": "female",
                "language": "en-US",
                "mime_type": "audio/mpeg",
                "size_bytes": 23658,
                "voice": "en-female",
                "voice_license": "public domain"
              },
              "success": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "format": {
                      "default": "mp3",
                      "enum": [
                        "mp3",
                        "wav",
                        "ogg"
                      ],
                      "type": "string"
                    },
                    "language": {
                      "enum": [
                        "en",
                        "de"
                      ],
                      "type": "string"
                    },
                    "speed": {
                      "default": 1,
                      "maximum": 2,
                      "minimum": 0.5,
                      "type": "number"
                    },
                    "text": {
                      "type": "string"
                    },
                    "voice": {
                      "enum": [
                        "en-female",
                        "en-male",
                        "de-male"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "text"
                  ]
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "data": {
                      "properties": {
                        "audio_base64": {
                          "type": "string"
                        },
                        "characters": {
                          "type": "integer"
                        },
                        "duration_seconds": {
                          "type": "number"
                        },
                        "format": {
                          "type": "string"
                        },
                        "gender": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string"
                        },
                        "mime_type": {
                          "type": "string"
                        },
                        "size_bytes": {
                          "type": "integer"
                        },
                        "voice": {
                          "type": "string"
                        },
                        "voice_license": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "format",
                        "duration_seconds",
                        "audio_base64"
                      ],
                      "type": "object"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "data"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        },
        "tags": [
          "tts",
          "speech",
          "audio",
          "voice",
          "mp3",
          "text-to-speech",
          "speech-synthesis"
        ]
      },
      "builder-code": {
        "info": {
          "a": "bc_q6wi3opd"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentsvc.io",
    "manifest_name": "agentsvc.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "data": {
        "audio_base64": "string",
        "characters": 0,
        "duration_seconds": 0,
        "format": "string",
        "gender": "string",
        "language": "string",
        "mime_type": "string",
        "size_bytes": 0,
        "voice": "string",
        "voice_license": "string"
      },
      "success": true
    },
    "type": "string"
  }
}