v1VoicesVoiceIdSettingsGet method

Future<Response<VoiceSettingsResponseModel>> v1VoicesVoiceIdSettingsGet({
  1. required String? voiceId,
  2. String? xiApiKey,
})

Get 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<VoiceSettingsResponseModel>>
v1VoicesVoiceIdSettingsGet({required String? voiceId, String? xiApiKey}) {
  generatedMapping.putIfAbsent(
    VoiceSettingsResponseModel,
    () => VoiceSettingsResponseModel.fromJsonFactory,
  );

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