Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1010 Bytes

File metadata and controls

34 lines (23 loc) · 1010 Bytes

Hume Text-to-Speech Using Phoneme Timestamp for Lip Sync |

Sync mouth animations with Hume's TTS API!

Overview

This project demonstrates how to consume the phoneme-level timestamps from Hume's Text-to-Speech API to create synchronized mouth animations.

Prerequisites

Get your API key from the Hume portal and add it to a .env file:

VITE_HUME_API_KEY="<YOUR_API_KEY>"

See .env.example for reference.

Run

  1. pnpm i
  2. pnpm dev
  3. Visit localhost:5173

Usage

Enter text and click "Synthesize" to generate speech with a synchronized animated mouth.