CosyVoice icon indicating copy to clipboard operation
CosyVoice copied to clipboard

是否支持双向流式输入和输出?

Open mmxuan18 opened this issue 9 months ago • 6 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

mmxuan18 avatar Apr 18 '25 10:04 mmxuan18

支持,我用的官方API没问题。

jetsonearth avatar May 02 '25 12:05 jetsonearth

支持,我用的官方API没问题。

大佬啊 有代码参考一下吗 我用WS服务流式输入貌似CosyVoice 对象不能复用,必须有连接就得NEW一个

maxgameone avatar May 26 '25 05:05 maxgameone

支持,我用的官方API没问题。

自己部署本地服务能支持双向吗?

mmxuan18 avatar May 26 '25 07:05 mmxuan18

支持,我用的官方API没问题。

自己部署本地服务能支持双向吗?

支持的

maxgameone avatar May 26 '25 07:05 maxgameone

支持,我用的官方API没问题。

自己部署本地服务能支持双向吗?

支持的

研究了下没有找到具体的设置步骤,有使用指引吗,非常感谢

mmxuan18 avatar May 27 '25 01:05 mmxuan18

@mmxuan18 @maxgameone 这里有demo code for python

https://github.com/aliyun/alibabacloud-bailian-speech-demo/tree/master/samples/speech-synthesizer/synthesize_speech_from_text_by_streaming_mode

我没有简单的local test示范代码,因为我都写到我产品的后端去了,good luck

jetsonearth avatar May 27 '25 01:05 jetsonearth