v1VoicesVoiceIdSettingsEditPost method
Future<Response<EditVoiceSettingsResponseModel> >
v1VoicesVoiceIdSettingsEditPost({
- required String? voiceId,
- String? xiApiKey,
- required VoiceSettingsResponseModel? body,
Edit Voice Settings @param voice_id Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Implementation
Future<chopper.Response<EditVoiceSettingsResponseModel>>
v1VoicesVoiceIdSettingsEditPost({
required String? voiceId,
String? xiApiKey,
required VoiceSettingsResponseModel? body,
}) {
generatedMapping.putIfAbsent(
EditVoiceSettingsResponseModel,
() => EditVoiceSettingsResponseModel.fromJsonFactory,
);
return _v1VoicesVoiceIdSettingsEditPost(
voiceId: voiceId,
xiApiKey: xiApiKey?.toString(),
body: body,
);
}