TTS 返回语音优化
This commit is contained in:
@@ -53,7 +53,7 @@ public class ElevenLabsClient {
|
||||
Map<String, Object> payload = new HashMap<>();
|
||||
payload.put("text", text);
|
||||
payload.put("model_id", modelId);
|
||||
payload.put("voice_settings", new VoiceSettings(0.85, 0.5,1,0,0.9));
|
||||
payload.put("voice_settings", new VoiceSettings(0.85, 0.5,1.1,0,0.9));
|
||||
Gson gson = new Gson();
|
||||
StringEntity entity = new StringEntity(gson.toJson(payload), ContentType.APPLICATION_JSON);
|
||||
httpPost.setEntity(entity);
|
||||
|
||||
Reference in New Issue
Block a user