Skip to main content

HFStudio

A modern Text-to-Speech studio that supports both local and API-based model execution. Built with Svelte and FastAPI.

Features

  • 🎙️ Text-to-Speech Generation - Convert text to natural-sounding speech
  • 🔄 Dual Mode Operation - Switch between API and local model execution
  • 🎛️ Voice Controls - Adjust speed, stability, and similarity parameters
  • 📦 Multiple TTS Models - Support for HuggingFace, Coqui TTS, and more
  • 🎵 Audio Playback - Built-in audio player with download capability
  • 🚀 Fast & Responsive - Modern web interface with real-time feedback

Quick Start

API Mode (No Installation Required)

  1. Visit the web interface
  2. Enter your text
  3. Select a voice and click "Generate"

Local Mode

Install the Python package:

pip install hfstudio

Start the server:

hfstudio

The application will be available at http://localhost:8000

Development Setup

Prerequisites

  • Node.js 18+ and npm
  • Python 3.8+
  • Git

Frontend Development

cd frontend
npm install
npm run dev

Backend Development

cd backend
pip install -e .
hfstudio --dev

Architecture

  • Frontend: SvelteKit + TailwindCSS
  • Backend: FastAPI + Transformers/Coqui TTS
  • Communication: REST API with async support

Configuration

Create a .env file in the frontend directory:

PUBLIC_API_URL=http://localhost:8000
PUBLIC_DEFAULT_MODE=api

Create a config.yaml in the backend directory for advanced settings.

API Documentation

Once the server is running, visit:

  • API Docs: http://localhost:8000/docs
  • ReDoc: http://localhost:8000/redoc

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

MIT License - see LICENSE for details.

Roadmap

  • Basic TTS functionality
  • Mode switching (API/Local)
  • Voice cloning support
  • Batch processing
  • Real-time streaming
  • Desktop application (Electron)

Support

For issues and feature requests, please use the GitHub Issues page.

Metadata

Release files for hfstudio 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hfstudio 0.1.3
File Size Uploaded
hfstudio-0.1.3.tar.gz 3.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for hfstudio 0.1.3
File Interpreter ABI Platform
hfstudio-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.3 MB

Release files / hfstudio-0.1.3.tar.gz

Download URL hfstudio-0.1.3.tar.gz
Size 3.7 MB
Tags Source
SHA-256 checksum
How to use checksums
fcd1a04bf43a7f8a5548e128e8f989d29e06d504f28762d7bf23887e213d6868
BLAKE2b-256 checksum
How to use checksums
fba9028519df804d2a88210f2794aa95e80dc5360a392e3e3362ef0c7e2c4f41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release files / hfstudio-0.1.3-py3-none-any.whl

Download URL hfstudio-0.1.3-py3-none-any.whl
Size 3.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4fcbe71e420a83eefa5f15ed7f719718cab9eaf01549e6e9f9e1fdefad513e4b
BLAKE2b-256 checksum
How to use checksums
0c9cf21af8b3572f0e7fafa381c610cdc37a1cf990cb88a3317be7324348a8cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page