v1VoicesPvcVoiceIdPost method

Future<Response<AddVoiceResponseModel>> v1VoicesPvcVoiceIdPost({
  1. required String? voiceId,
  2. String? xiApiKey,
  3. required BodyEditPVCVoiceV1VoicesPvcVoiceIdPost? body,
})

Edit Pvc 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<AddVoiceResponseModel>> v1VoicesPvcVoiceIdPost({
  required String? voiceId,
  String? xiApiKey,
  required BodyEditPVCVoiceV1VoicesPvcVoiceIdPost? body,
}) {
  generatedMapping.putIfAbsent(
    AddVoiceResponseModel,
    () => AddVoiceResponseModel.fromJsonFactory,
  );

  return _v1VoicesPvcVoiceIdPost(
    voiceId: voiceId,
    xiApiKey: xiApiKey?.toString(),
    body: body,
  );
}