TextToAudio / README.md
vidhi0405's picture
auth
e88ed83
metadata
title: tts Text To Speech
emoji: 🌍
colorFrom: yellow
colorTo: pink
sdk: docker
sdk_version: 5.25.2
python_version: 3.11.0
app_file: app.py
pinned: false
short_description: FastAPI text-to-speech service with Firebase auth
license: apache-2.0

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

Required environment variables

  • MONGO_URI
  • FIREBASE_API_KEY (required for /audio/by-id token verification)

API endpoints

  • GET /health
  • POST /audio/by-id (requires audio_id and firebase_id_token)
  • GET /audio/{audio_id}.opus