feat: audio speech function add param volume and speed (#49)

Co-authored-by: yuhongxiao <hongxiao.yu@aminer.cn>
Co-authored-by: Tom <tomsun28@outlook.com>
This commit is contained in:
iceAndFireisFailed 2025-09-09 19:19:54 +08:00 committed by GitHub
parent 86111526b3
commit dca0fbb4a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,4 +50,14 @@ public class AudioSpeechRequest extends CommonRequest implements ClientRequest<A
@JsonProperty("watermark_enabled")
private Boolean watermarkEnabled;
/**
* Voice speed for speech generation
*/
private Float speed;
/**
* Volume of the generated speech file
*/
private Float volume;
}