Hameed13's picture
Upload README.md with huggingface_hub
03296ee verified
metadata
title: Nigerian Text-to-Speech API
emoji: 🎙️
colorFrom: green
colorTo: blue
sdk: docker
app_port: 7860
pinned: false

Nigerian Text-to-Speech API

A FastAPI-based Text-to-Speech API that generates Nigerian-accented speech from text input.

Features

  • Convert text to speech with Nigerian accents
  • RESTful API endpoints
  • Docker containerized deployment
  • Built with FastAPI and YarnGPT

API Endpoints

Health Check

  • GET / - Check API status

Text to Speech

  • POST /tts - Convert text to speech
    • Request body: {"text": "Your text here", "accent": "nigerian"}
    • Returns: Audio file (WAV format)

Audio Management

  • GET /list_files - List available audio files
  • GET /audio/{file_id} - Get specific audio file

Environment

  • Python 3.10
  • FastAPI
  • YarnGPT for TTS generation
  • Docker containerized

Last updated: 2025-04-22 13:39:07 Created by: Abdulhameed556

For more information about this project, visit Hugging Face Spaces