LibreSpark / LibreSpark/LibreTTS

求教怎么设置音色?

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
383
Forks
334
Avg merge
1m
Merged PRs (30d)
1

Description

用new-api搭了个tts-1的中转,通过LibreTTS webui 在自定义讲述人列表里面添加了 echo,结果webui网页请求的时候是
{"model":"echo","input":"如果这个项目对你有帮助","voice":"alloy","response_format":"mp3"}

正确的请求应该是
{"model":"tts-1","input":"如果这个项目对你有帮助","voice":"echo","response_format":"mp3"}

请问应该如何设置才能正确使用 echo 音色?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the LibreTTS web UI's custom narrator configuration and the code that assembles its request payload. Reproduce the request using the configured echo narrator and compare the model and voice fields with the examples in the issue. Done means the web UI sends model tts-1 and voice echo for this narrator.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.