mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[PR #1151] [MERGED] refactor(fishaudio): Use fish-audio-sdk to refactor fishaudio model provider #1739
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-official-plugins/pull/1151
Author: @leslie2046
Created: 6/24/2025
Status: ✅ Merged
Merged: 6/24/2025
Merged by: @crazywoola
Base:
main← Head:fishaudio📝 Commits (3)
3b1f9e6refactor(fishaudio): Use fish-audio-sdk to refactor fishaudio model provider,and remove useless code.54651a5refactor(fishaudio): Use fish-audio-sdk to refactor fishaudio model provider,and remove useless code.ec4e334Merge branch 'langgenius:main' into fishaudio📊 Changes
13 files changed (+71 additions, -355 deletions)
View changed files
➕
models/fishaudio/.env.example(+4 -0)📝
models/fishaudio/manifest.yaml(+1 -1)➖
models/fishaudio/models/common_fishaudio.py(+0 -83)📝
models/fishaudio/models/speech2text/speech2text.py(+7 -6)➖
models/fishaudio/models/tts/_position.yaml(+0 -0)➖
models/fishaudio/models/tts/fetch_models.py(+0 -55)➕
models/fishaudio/models/tts/s1.yaml(+11 -0)➕
models/fishaudio/models/tts/speech-1.5.yaml(+11 -0)➕
models/fishaudio/models/tts/speech-1.6.yaml(+11 -0)📝
models/fishaudio/models/tts/tts.py(+24 -61)➖
models/fishaudio/models/tts/tts.yaml(+0 -87)📝
models/fishaudio/provider/fishaudio.yaml(+0 -60)📝
models/fishaudio/requirements.txt(+2 -2)📄 Description
Includes:
Make the selection of whether to use the public speaker function effective(The previous version did not work)
private voicers

You can choose the TTS model now.

Remove useless adding cutomize model function.
Fix plugin install error due to empty models/fishaudio/models/tts/_position.yaml(Just remove it).

Use fish-audio-sdk to refactor
Related Issues or Context
https://openaudio.com/blogs/s1
https://docs.fish.audio/introduction
https://github.com/fishaudio/fish-audio-python
https://docs.fish.audio/emotion-control/tts-emotion-and-control-tags-user-guide
This PR contains Changes to Non-Plugin
This PR contains Changes to Non-LLM Models Plugin
This PR contains Changes to LLM Models Plugin
Version Control (Any Changes to the Plugin Will Require Bumping the Version)
VersionField, Not in Meta Section)Dify Plugin SDK Version
dify_plugin>=0.3.0,<0.4.0is in requirements.txt (SDK docs)Environment Verification (If Any Code Changes)
Local Deployment Environment
SaaS Environment
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.