v1VoicesVoiceIdEditPost method
Future<Response<EditVoiceResponseModel> >
v1VoicesVoiceIdEditPost({
- required String? voiceId,
- String? xiApiKey,
- required BodyEditVoiceV1VoicesVoiceIdEditPost body,
Edit Voice @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<EditVoiceResponseModel>> v1VoicesVoiceIdEditPost({
required String? voiceId,
String? xiApiKey,
required BodyEditVoiceV1VoicesVoiceIdEditPost body,
}) {
generatedMapping.putIfAbsent(
EditVoiceResponseModel,
() => EditVoiceResponseModel.fromJsonFactory,
);
return _v1VoicesVoiceIdEditPost(
voiceId: voiceId,
xiApiKey: xiApiKey?.toString(),
body: body,
);
}