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:
parent
86111526b3
commit
dca0fbb4a1
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue