File size: 1,044 Bytes
ca28249
 
 
 
 
 
 
 
 
 
95ea58e
 
ca28249
95ea58e
 
ca28249
 
 
95ea58e
 
 
 
ca28249
 
 
 
 
03296ee
ca28249
 
 
 
 
 
 
54e4069
ca28249
 
 
95ea58e
03296ee
ca28249
95ea58e
ca28249
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
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](https://huggingface.co/spaces/Hameed13/Huggingface_News_Podcast)