mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #145] [CLOSED] feat:add param instruction for tts interface
#181
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-plugin-sdks/pull/145
Author: @leslie2046
Created: 5/15/2025
Status: ❌ Closed
Base:
main← Head:tts-instruction📝 Commits (1)
070ba2efeat:add paraminstructionfor tts interface📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
python/dify_plugin/interfaces/model/openai_compatible/tts.py(+3 -0)📄 Description
https://platform.openai.com/docs/api-reference/audio/createSpeech
https://www.modelscope.cn/studios/iic/CosyVoice2-0.5B
Since some advanced TTS models supporting instruction control, we should support instruction control in the SDK as optional param.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.