简体中文 / 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.
- 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
- You need a valid phone number.
- Visit StepFun Official Website and register using your phone number.
- Go to User Center - Account Management - API Key to copy your key.
- Upon successful registration, you will receive a default bonus of 15 CNY credits.
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 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
# 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.
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.