Skip to content

webcpu/openai-fm

Repository files navigation

OpenAI.fm

Live Demo →

An interactive demo for developers to try the new text-to-speech model in the OpenAI API. Built with Next.js, React, Tailwind CSS, and shadcn/ui components.


✨ Features

  • Voice Selection: Choose from a variety of OpenAI TTS voices, including premium options.
  • Vibe Selection: Pick a conversational style ("vibe") for the generated speech, such as Sincere, Santa, Sympathetic, Sports Coach, or Calm.
  • Script Editor: Edit the text to be spoken, with live character count.
  • Play Demo: Simulate playback of the generated speech (API integration placeholder).
  • Responsive UI: Modern, accessible, and mobile-friendly design.

🚀 Getting Started

1. Install dependencies

pnpm install # or npm install or yarn install

2. Run the development server

pnpm dev # or npm run dev or yarn dev

Visit http://localhost:3000 to view the app.


🛠️ Tech Stack


📁 Project Structure

  • app/ — Next.js app directory (entry point: page.tsx)
  • components/ — UI components (voice selector, vibe selector, script editor, etc.)
  • public/ — Static assets (placeholders, logos)
  • lib/, hooks/ — Utilities and custom hooks

⚠️ Notes

  • This is a UI demo. The Play button simulates TTS playback; actual API integration is not included.

📄 License

MIT


🌐 Demo

https://v0.dev/chat/openai-fm-01ByWbSmHcE

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published