3,701 prompts from top AI collections
← Back to Market
[LIVE] [kuuhakuDev/google-tts-openai] 1 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,168 characters
Status: [LIVE] Endpoints found: https://console.cloud.google.com/apis/api/texttospeech.googleapis.com/quotas Source: https://github.com/kuuhakuDev/google-tts-openai # Google TTS Proxy [![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)](https://www.python.org/downloads/) [![FastAPI](https://img.shields.io/badge/FastAPI-0.115+-green.svg)](https://fastapi.tiangolo.com/) [![Google Cloud](https://img.shields.io/badge/Google%20Cloud-TTS-orange.svg)](https://cloud.google.com/text-to-speech) A local proxy that translates **OpenAI TTS API requests** to **Google Cloud Text-to-Speech API**, allowing any OpenAI-compatible client to use Google TTS as a backend. [En Español](README.es.md) --- ## Table of Contents - [How It Works](#how-it-works) - [Architecture](#architecture) - [Prerequisites](#prerequisites) - [Installation](#installation) - [Usage](#usage) - [Voice Mapping](#voice-mapping) - [Parameters](#parameters) - [Configuration](#configuration) - [Limitations](#limitations) - [Troubleshooting](#troubleshooting) --- ## How It Works Any application that uses the **OpenAI TTS SDK** (or calls `POST /v1/audio/speech` directly) can be pointed to this proxy instead of the OpenAI API. The proxy translates the request, sends it to Google Cloud TTS, and returns the audio in the same format OpenAI would. This means you can use **Google Cloud's Standard, WaveNet, or Neural2 voices** as a drop-in replacement for OpenAI TTS — without changing any client code. --- ## Architecture ``` ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────────┐ │ Client │ ──► │ Google TTS │ ──► │ Google Cloud TTS │ │ (OpenAI SDK) │ ◄── │ Proxy │ ◄── │ API │ │ │ │ (FastAPI) │ │ │ └─────────────────┘ └─────────────────┘ └────
Download .txt