v1VoicesPvcVoiceIdSamplesPost method

Future<Response<List<SampleResponseModel>>> v1VoicesPvcVoiceIdSamplesPost({
  1. required String? voiceId,
  2. String? xiApiKey,
  3. required BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIdSamplesPost body,
})

Add Samples To 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<List<SampleResponseModel>>>
v1VoicesPvcVoiceIdSamplesPost({
  required String? voiceId,
  String? xiApiKey,
  required BodyAddSamplesToPVCVoiceV1VoicesPvcVoiceIdSamplesPost body,
}) {
  generatedMapping.putIfAbsent(
    SampleResponseModel,
    () => SampleResponseModel.fromJsonFactory,
  );

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