Skip to content

Owen's Cats TTS Web is a StepFun text-to-speech (TTS) web application. It can run locally or be deployed with your StepFun Key in just one click.Owen`s Cats TTS Web 是一个 StepFun 文本转语音(TTS)网页应用。可以在本地运行或使用你的 StepFun Key 一键部署。

License

Notifications You must be signed in to change notification settings

owenshen0907/tts-stepfun-web

Repository files navigation

TTS stepFun Web

简体中文 / English

Owen's Cats TTS Web is a StepFun text-to-speech (TTS) web application. It can run locally or be deployed with your StepFun Key in just one click.

Key Features:

  • Supports selecting gender and voice character.
  • Adjustable speed and volume.
  • Audio output download supported.
  • One-click deployment locally or on the cloud.

This project is designed for users who want to fully experience the features of StepFun TTS with minimal setup efforts.

Online Demo: http://tts.xjiojio.cn


Getting Started

Obtain Your API Key

  1. You need a valid phone number.
  2. Visit StepFun Official Website and register using your phone number.
  3. Go to User Center - Account Management - API Key to copy your key.
  4. Upon successful registration, you will receive a default bonus of 15 CNY credits.

One-Click Deployment on Vercel

Deploy with Vercel


Before starting development, create a new .env.local file in the project root directory and input your StepFun API key and URL:

# Stepfun API Key and URL
STEPFUN_API_KEY=YOUR_STEPFUN_APIKEY
STEPFUN_API_URL=https://api.stepfun.com/v1

docker Deployment

##
docker build -t tts-stepfun-web --build-arg STEPFUN_API_KEY=YOUR_STEPFUN_APIKEY --build-arg NODE_ENV=production .
docker run -d -p 3600:3000 --name tts-stepfun-web-container \
  tts-stepfun-web

One-Click Local Deployment

# Install yarn
npm i -g yarn
# Install dependencies
yarn
# Build for production
yarn build
# Run production server
PORT=3600 yarn start

Run the development server locally:

# Install yarn
npm i -g yarn
# Install dependencies
yarn
# Run the development server
PORT=3600 yarn dev

Open http://localhost:3600 in your browser to view the results.

Git Commit Guidelines

  • feat Add new business features.
  • fix Fix business issues/bugs.
  • perf Optimize performance.
  • style Code style changes that don’t affect the runtime result.
  • refactor Refactor the code.
  • revert Revert changes.
  • test Changes related to testing, no business logic changes.
  • docs Documentation and comments related changes.
  • chore Miscellaneous tasks like updating dependencies or modifying build scripts.
  • ci Continuous integration-related changes.

About

Owen's Cats TTS Web is a StepFun text-to-speech (TTS) web application. It can run locally or be deployed with your StepFun Key in just one click.Owen`s Cats TTS Web 是一个 StepFun 文本转语音(TTS)网页应用。可以在本地运行或使用你的 StepFun Key 一键部署。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •