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