diff --git a/model_add_voice_response_model.go b/model_add_voice_response_model.go
deleted file mode 100644
index f7c6dcf..0000000
--- a/model_add_voice_response_model.go
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type AddVoiceResponseModel struct {
- VoiceId string `json:"voice_id"`
-}
diff --git a/model_all_of_body_text_to_speech_v1_text_to_speech__voice_id__post_voice_settings.go b/model_all_of_body_text_to_speech_v1_text_to_speech__voice_id__post_voice_settings.go
deleted file mode 100644
index a9cb86c..0000000
--- a/model_all_of_body_text_to_speech_v1_text_to_speech__voice_id__post_voice_settings.go
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-// Voice settings overriding stored setttings for the given voice. They are applied only on the given TTS request.
-type AllOfBodyTextToSpeechV1TextToSpeechVoiceIdPostVoiceSettings struct {
- Stability float64 `json:"stability"`
- SimilarityBoost float64 `json:"similarity_boost"`
-}
diff --git a/model_all_of_body_text_to_speech_v1_text_to_speech__voice_id__stream_post_voice_settings.go b/model_all_of_body_text_to_speech_v1_text_to_speech__voice_id__stream_post_voice_settings.go
deleted file mode 100644
index d648bc9..0000000
--- a/model_all_of_body_text_to_speech_v1_text_to_speech__voice_id__stream_post_voice_settings.go
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-// Voice settings overriding stored setttings for the given voice. They are applied only on the given TTS request.
-type AllOfBodyTextToSpeechV1TextToSpeechVoiceIdStreamPostVoiceSettings struct {
- Stability float64 `json:"stability"`
- SimilarityBoost float64 `json:"similarity_boost"`
-}
diff --git a/model_any_of_validation_error_loc_items.go b/model_any_of_validation_error_loc_items.go
deleted file mode 100644
index 806b2d1..0000000
--- a/model_any_of_validation_error_loc_items.go
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type AnyOfValidationErrorLocItems struct {
-}
diff --git a/model_body_add_voice_v1_voices_add_post.go b/model_body_add_voice_v1_voices_add_post.go
deleted file mode 100644
index 7b7fd1f..0000000
--- a/model_body_add_voice_v1_voices_add_post.go
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type BodyAddVoiceV1VoicesAddPost struct {
- // The name that identifies this voice. This will be displayed in the dropdown of the website.
- Name string `json:"name"`
- // One or more audio files to clone the voice from
- Files []*os.File `json:"files"`
- // How would you describe the voice?
- Description string `json:"description,omitempty"`
- // Serialized labels dictionary for the voice.
- Labels string `json:"labels,omitempty"`
-}
diff --git a/model_body_delete_history_items_v1_history_delete_post.go b/model_body_delete_history_items_v1_history_delete_post.go
deleted file mode 100644
index 91fd07b..0000000
--- a/model_body_delete_history_items_v1_history_delete_post.go
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type BodyDeleteHistoryItemsV1HistoryDeletePost struct {
- // A list of history items to remove, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint.
- HistoryItemIds []string `json:"history_item_ids"`
-}
diff --git a/model_body_download_history_items_v1_history_download_post.go b/model_body_download_history_items_v1_history_download_post.go
deleted file mode 100644
index 919bc56..0000000
--- a/model_body_download_history_items_v1_history_download_post.go
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type BodyDownloadHistoryItemsV1HistoryDownloadPost struct {
- // A list of history items to download, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint.
- HistoryItemIds []string `json:"history_item_ids"`
-}
diff --git a/model_body_edit_voice_v1_voices__voice_id__edit_post.go b/model_body_edit_voice_v1_voices__voice_id__edit_post.go
deleted file mode 100644
index a9a7114..0000000
--- a/model_body_edit_voice_v1_voices__voice_id__edit_post.go
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type BodyEditVoiceV1VoicesVoiceIdEditPost struct {
- // The name that identifies this voice. This will be displayed in the dropdown of the website.
- Name string `json:"name"`
- // Audio files to add to the voice
- Files []*os.File `json:"files,omitempty"`
- // How would you describe the voice?
- Description string `json:"description,omitempty"`
- // Serialized labels dictionary for the voice.
- Labels string `json:"labels,omitempty"`
-}
diff --git a/model_body_text_to_speech_v1_text_to_speech__voice_id__post.go b/model_body_text_to_speech_v1_text_to_speech__voice_id__post.go
deleted file mode 100644
index d941722..0000000
--- a/model_body_text_to_speech_v1_text_to_speech__voice_id__post.go
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type BodyTextToSpeechV1TextToSpeechVoiceIdPost struct {
- // The text that will get converted into speech. Currently only English text is supported.
- Text string `json:"text"`
- // Voice settings overriding stored setttings for the given voice. They are applied only on the given TTS request.
- VoiceSettings *AllOfBodyTextToSpeechV1TextToSpeechVoiceIdPostVoiceSettings `json:"voice_settings,omitempty"`
-}
diff --git a/model_body_text_to_speech_v1_text_to_speech__voice_id__stream_post.go b/model_body_text_to_speech_v1_text_to_speech__voice_id__stream_post.go
deleted file mode 100644
index 78ba951..0000000
--- a/model_body_text_to_speech_v1_text_to_speech__voice_id__stream_post.go
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type BodyTextToSpeechV1TextToSpeechVoiceIdStreamPost struct {
- // The text that will get converted into speech. Currently only English text is supported.
- Text string `json:"text"`
- // Voice settings overriding stored setttings for the given voice. They are applied only on the given TTS request.
- VoiceSettings *AllOfBodyTextToSpeechV1TextToSpeechVoiceIdStreamPostVoiceSettings `json:"voice_settings,omitempty"`
-}
diff --git a/model_extended_subscription_response_model.go b/model_extended_subscription_response_model.go
deleted file mode 100644
index fb46a4f..0000000
--- a/model_extended_subscription_response_model.go
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type ExtendedSubscriptionResponseModel struct {
- Tier string `json:"tier"`
- CharacterCount int32 `json:"character_count"`
- CharacterLimit int32 `json:"character_limit"`
- CanExtendCharacterLimit bool `json:"can_extend_character_limit"`
- AllowedToExtendCharacterLimit bool `json:"allowed_to_extend_character_limit"`
- NextCharacterCountResetUnix int32 `json:"next_character_count_reset_unix"`
- VoiceLimit int32 `json:"voice_limit"`
- ProfessionalVoiceLimit int32 `json:"professional_voice_limit"`
- CanExtendVoiceLimit bool `json:"can_extend_voice_limit"`
- CanUseInstantVoiceCloning bool `json:"can_use_instant_voice_cloning"`
- CanUseProfessionalVoiceCloning bool `json:"can_use_professional_voice_cloning"`
- AvailableModels []TtsModelResponseModel `json:"available_models"`
- CanUseDelayedPaymentMethods bool `json:"can_use_delayed_payment_methods"`
- Currency string `json:"currency"`
- Status string `json:"status"`
- NextInvoice *InvoiceResponseModel `json:"next_invoice"`
-}
diff --git a/model_feedback_response_model.go b/model_feedback_response_model.go
deleted file mode 100644
index d20a133..0000000
--- a/model_feedback_response_model.go
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type FeedbackResponseModel struct {
- ThumbsUp bool `json:"thumbs_up"`
- Feedback string `json:"feedback"`
- Emotions bool `json:"emotions"`
- InaccurateClone bool `json:"inaccurate_clone"`
- Glitches bool `json:"glitches"`
- AudioQuality bool `json:"audio_quality"`
- Other bool `json:"other"`
- ReviewStatus string `json:"review_status,omitempty"`
-}
diff --git a/model_fine_tuning_response_model.go b/model_fine_tuning_response_model.go
deleted file mode 100644
index fa5d6f6..0000000
--- a/model_fine_tuning_response_model.go
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type FineTuningResponseModel struct {
- ModelId string `json:"model_id"`
- IsAllowedToFineTune bool `json:"is_allowed_to_fine_tune"`
- FineTuningRequested bool `json:"fine_tuning_requested"`
- FinetuningState string `json:"finetuning_state"`
- VerificationAttempts []VerificationAttemptResponseModel `json:"verification_attempts"`
- VerificationFailures []string `json:"verification_failures"`
- VerificationAttemptsCount int32 `json:"verification_attempts_count"`
- SliceIds []string `json:"slice_ids"`
-}
diff --git a/model_get_history_response_model.go b/model_get_history_response_model.go
deleted file mode 100644
index d9499b1..0000000
--- a/model_get_history_response_model.go
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type GetHistoryResponseModel struct {
- History []HistoryItemResponseModel `json:"history"`
-}
diff --git a/model_get_voices_response_model.go b/model_get_voices_response_model.go
deleted file mode 100644
index ee238d8..0000000
--- a/model_get_voices_response_model.go
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type GetVoicesResponseModel struct {
- Voices []VoiceResponseModel `json:"voices"`
-}
diff --git a/model_history_item_response_model.go b/model_history_item_response_model.go
deleted file mode 100644
index d54a57e..0000000
--- a/model_history_item_response_model.go
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type HistoryItemResponseModel struct {
- HistoryItemId string `json:"history_item_id"`
- RequestId string `json:"request_id"`
- VoiceId string `json:"voice_id"`
- VoiceName string `json:"voice_name"`
- Text string `json:"text"`
- DateUnix int32 `json:"date_unix"`
- CharacterCountChangeFrom int32 `json:"character_count_change_from"`
- CharacterCountChangeTo int32 `json:"character_count_change_to"`
- ContentType string `json:"content_type"`
- State string `json:"state"`
- Settings *interface{} `json:"settings"`
- Feedback *FeedbackResponseModel `json:"feedback"`
-}
diff --git a/model_http_validation_error.go b/model_http_validation_error.go
deleted file mode 100644
index ac8403f..0000000
--- a/model_http_validation_error.go
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type HttpValidationError struct {
- Detail []ValidationError `json:"detail,omitempty"`
-}
diff --git a/model_invoice_response_model.go b/model_invoice_response_model.go
deleted file mode 100644
index 733df3c..0000000
--- a/model_invoice_response_model.go
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type InvoiceResponseModel struct {
- AmountDueCents int32 `json:"amount_due_cents"`
- NextPaymentAttemptUnix int32 `json:"next_payment_attempt_unix"`
-}
diff --git a/model_language_response_model.go b/model_language_response_model.go
deleted file mode 100644
index aa9295d..0000000
--- a/model_language_response_model.go
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type LanguageResponseModel struct {
- IsoCode string `json:"iso_code"`
- DisplayName string `json:"display_name"`
-}
diff --git a/model_recording_response_model.go b/model_recording_response_model.go
deleted file mode 100644
index cc82356..0000000
--- a/model_recording_response_model.go
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type RecordingResponseModel struct {
- RecordingId string `json:"recording_id"`
- MimeType string `json:"mime_type"`
- SizeBytes int32 `json:"size_bytes"`
- UploadDateUnix int32 `json:"upload_date_unix"`
- Transcription string `json:"transcription"`
-}
diff --git a/model_sample_response_model.go b/model_sample_response_model.go
deleted file mode 100644
index 6a28282..0000000
--- a/model_sample_response_model.go
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type SampleResponseModel struct {
- SampleId string `json:"sample_id"`
- FileName string `json:"file_name"`
- MimeType string `json:"mime_type"`
- SizeBytes int32 `json:"size_bytes"`
- Hash string `json:"hash"`
-}
diff --git a/model_settings.go b/model_settings.go
deleted file mode 100644
index 8df1e23..0000000
--- a/model_settings.go
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-// The settings for a specific voice.
-type Settings struct {
- Stability float64 `json:"stability"`
- SimilarityBoost float64 `json:"similarity_boost"`
-}
diff --git a/model_subscription_response_model.go b/model_subscription_response_model.go
deleted file mode 100644
index 2123bc6..0000000
--- a/model_subscription_response_model.go
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type SubscriptionResponseModel struct {
- Tier string `json:"tier"`
- CharacterCount int32 `json:"character_count"`
- CharacterLimit int32 `json:"character_limit"`
- CanExtendCharacterLimit bool `json:"can_extend_character_limit"`
- AllowedToExtendCharacterLimit bool `json:"allowed_to_extend_character_limit"`
- NextCharacterCountResetUnix int32 `json:"next_character_count_reset_unix"`
- VoiceLimit int32 `json:"voice_limit"`
- ProfessionalVoiceLimit int32 `json:"professional_voice_limit"`
- CanExtendVoiceLimit bool `json:"can_extend_voice_limit"`
- CanUseInstantVoiceCloning bool `json:"can_use_instant_voice_cloning"`
- CanUseProfessionalVoiceCloning bool `json:"can_use_professional_voice_cloning"`
- AvailableModels []TtsModelResponseModel `json:"available_models"`
- CanUseDelayedPaymentMethods bool `json:"can_use_delayed_payment_methods"`
- Currency string `json:"currency"`
- Status string `json:"status"`
-}
diff --git a/model_tts_model_response_model.go b/model_tts_model_response_model.go
deleted file mode 100644
index 4ea6918..0000000
--- a/model_tts_model_response_model.go
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type TtsModelResponseModel struct {
- ModelId string `json:"model_id"`
- DisplayName string `json:"display_name"`
- SupportedLanguage []LanguageResponseModel `json:"supported_language"`
-}
diff --git a/model_user_response_model.go b/model_user_response_model.go
deleted file mode 100644
index 75a5715..0000000
--- a/model_user_response_model.go
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type UserResponseModel struct {
- Subscription *SubscriptionResponseModel `json:"subscription"`
- IsNewUser bool `json:"is_new_user"`
- XiApiKey string `json:"xi_api_key"`
-}
diff --git a/model_validation_error.go b/model_validation_error.go
deleted file mode 100644
index ec041bd..0000000
--- a/model_validation_error.go
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type ValidationError struct {
- Loc []AnyOfValidationErrorLocItems `json:"loc"`
- Msg string `json:"msg"`
- Type_ string `json:"type"`
-}
diff --git a/model_verification_attempt_response_model.go b/model_verification_attempt_response_model.go
deleted file mode 100644
index c22c32b..0000000
--- a/model_verification_attempt_response_model.go
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type VerificationAttemptResponseModel struct {
- Text string `json:"text"`
- DateUnix int32 `json:"date_unix"`
- Accepted bool `json:"accepted"`
- Similarity float64 `json:"similarity"`
- LevenshteinDistance float64 `json:"levenshtein_distance"`
- Recording *RecordingResponseModel `json:"recording"`
-}
diff --git a/model_voice_response_model.go b/model_voice_response_model.go
deleted file mode 100644
index 50229b2..0000000
--- a/model_voice_response_model.go
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type VoiceResponseModel struct {
- VoiceId string `json:"voice_id"`
- Name string `json:"name"`
- Samples []SampleResponseModel `json:"samples"`
- Category string `json:"category"`
- FineTuning *FineTuningResponseModel `json:"fine_tuning"`
- Labels map[string]string `json:"labels"`
- Description string `json:"description"`
- PreviewUrl string `json:"preview_url"`
- AvailableForTiers []string `json:"available_for_tiers"`
- Settings *VoiceSettingsResponseModel `json:"settings"`
-}
diff --git a/model_voice_settings_response_model.go b/model_voice_settings_response_model.go
deleted file mode 100644
index 1b392a8..0000000
--- a/model_voice_settings_response_model.go
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- * ElevenLabs API Documentation
- *
- * This is the documentation for the ElevenLabs API. You can use this API to use our service programmatically, this is done by using your xi-api-key.
You can view your xi-api-key using the 'Profile' tab on https://beta.elevenlabs.io. Our API is experimental so all endpoints are subject to change.
- *
- * API version: 1.0
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
- */
-package swagger
-
-type VoiceSettingsResponseModel struct {
- Stability float64 `json:"stability"`
- SimilarityBoost float64 `json:"similarity_boost"`
-}
diff --git a/types/types.go b/types/types.go
new file mode 100644
index 0000000..6f4c667
--- /dev/null
+++ b/types/types.go
@@ -0,0 +1,208 @@
+package types
+
+import "os"
+
+type AddVoiceResponseModel struct {
+ VoiceId string `json:"voice_id"`
+}
+
+// Voice settings overriding stored setttings for the given voice. They are applied only on the given TTS request.
+type AllOfBodyTextToSpeechV1TextToSpeechVoiceIdPostVoiceSettings struct {
+ Stability float64 `json:"stability"`
+ SimilarityBoost float64 `json:"similarity_boost"`
+}
+
+// Voice settings overriding stored setttings for the given voice. They are applied only on the given TTS request.
+type AllOfBodyTextToSpeechV1TextToSpeechVoiceIdStreamPostVoiceSettings struct {
+ Stability float64 `json:"stability"`
+ SimilarityBoost float64 `json:"similarity_boost"`
+}
+
+type AnyOfValidationErrorLocItems struct{}
+
+type BodyAddVoiceV1VoicesAddPost struct {
+ // The name that identifies this voice. This will be displayed in the dropdown of the website.
+ Name string `json:"name"`
+ // One or more audio files to clone the voice from
+ Files []*os.File `json:"files"`
+ // How would you describe the voice?
+ Description string `json:"description,omitempty"`
+ // Serialized labels dictionary for the voice.
+ Labels string `json:"labels,omitempty"`
+}
+
+type BodyDeleteHistoryItemsV1HistoryDeletePost struct {
+ // A list of history items to remove, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint.
+ HistoryItemIds []string `json:"history_item_ids"`
+}
+type BodyDownloadHistoryItemsV1HistoryDownloadPost struct {
+ // A list of history items to download, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint.
+ HistoryItemIds []string `json:"history_item_ids"`
+}
+type BodyEditVoiceV1VoicesVoiceIdEditPost struct {
+ // The name that identifies this voice. This will be displayed in the dropdown of the website.
+ Name string `json:"name"`
+ // Audio files to add to the voice
+ Files []*os.File `json:"files,omitempty"`
+ // How would you describe the voice?
+ Description string `json:"description,omitempty"`
+ // Serialized labels dictionary for the voice.
+ Labels string `json:"labels,omitempty"`
+}
+type BodyTextToSpeechV1TextToSpeechVoiceIdPost struct {
+ // The text that will get converted into speech. Currently only English text is supported.
+ Text string `json:"text"`
+ // Voice settings overriding stored setttings for the given voice. They are applied only on the given TTS request.
+ VoiceSettings *AllOfBodyTextToSpeechV1TextToSpeechVoiceIdPostVoiceSettings `json:"voice_settings,omitempty"`
+}
+type BodyTextToSpeechV1TextToSpeechVoiceIdStreamPost struct {
+ // The text that will get converted into speech. Currently only English text is supported.
+ Text string `json:"text"`
+ // Voice settings overriding stored setttings for the given voice. They are applied only on the given TTS request.
+ VoiceSettings *AllOfBodyTextToSpeechV1TextToSpeechVoiceIdStreamPostVoiceSettings `json:"voice_settings,omitempty"`
+}
+type ExtendedSubscriptionResponseModel struct {
+ Tier string `json:"tier"`
+ CharacterCount int32 `json:"character_count"`
+ CharacterLimit int32 `json:"character_limit"`
+ CanExtendCharacterLimit bool `json:"can_extend_character_limit"`
+ AllowedToExtendCharacterLimit bool `json:"allowed_to_extend_character_limit"`
+ NextCharacterCountResetUnix int32 `json:"next_character_count_reset_unix"`
+ VoiceLimit int32 `json:"voice_limit"`
+ ProfessionalVoiceLimit int32 `json:"professional_voice_limit"`
+ CanExtendVoiceLimit bool `json:"can_extend_voice_limit"`
+ CanUseInstantVoiceCloning bool `json:"can_use_instant_voice_cloning"`
+ CanUseProfessionalVoiceCloning bool `json:"can_use_professional_voice_cloning"`
+ AvailableModels []TtsModelResponseModel `json:"available_models"`
+ CanUseDelayedPaymentMethods bool `json:"can_use_delayed_payment_methods"`
+ Currency string `json:"currency"`
+ Status string `json:"status"`
+ NextInvoice *InvoiceResponseModel `json:"next_invoice"`
+}
+type FeedbackResponseModel struct {
+ ThumbsUp bool `json:"thumbs_up"`
+ Feedback string `json:"feedback"`
+ Emotions bool `json:"emotions"`
+ InaccurateClone bool `json:"inaccurate_clone"`
+ Glitches bool `json:"glitches"`
+ AudioQuality bool `json:"audio_quality"`
+ Other bool `json:"other"`
+ ReviewStatus string `json:"review_status,omitempty"`
+}
+type FineTuningResponseModel struct {
+ ModelId string `json:"model_id"`
+ IsAllowedToFineTune bool `json:"is_allowed_to_fine_tune"`
+ FineTuningRequested bool `json:"fine_tuning_requested"`
+ FinetuningState string `json:"finetuning_state"`
+ VerificationAttempts []VerificationAttemptResponseModel `json:"verification_attempts"`
+ VerificationFailures []string `json:"verification_failures"`
+ VerificationAttemptsCount int32 `json:"verification_attempts_count"`
+ SliceIds []string `json:"slice_ids"`
+}
+type GetHistoryResponseModel struct {
+ History []HistoryItemResponseModel `json:"history"`
+}
+type GetVoicesResponseModel struct {
+ Voices []VoiceResponseModel `json:"voices"`
+}
+type HistoryItemResponseModel struct {
+ HistoryItemId string `json:"history_item_id"`
+ RequestId string `json:"request_id"`
+ VoiceId string `json:"voice_id"`
+ VoiceName string `json:"voice_name"`
+ Text string `json:"text"`
+ DateUnix int32 `json:"date_unix"`
+ CharacterCountChangeFrom int32 `json:"character_count_change_from"`
+ CharacterCountChangeTo int32 `json:"character_count_change_to"`
+ ContentType string `json:"content_type"`
+ State string `json:"state"`
+ Settings *interface{} `json:"settings"`
+ Feedback *FeedbackResponseModel `json:"feedback"`
+}
+type HttpValidationError struct {
+ Detail []ValidationError `json:"detail,omitempty"`
+}
+type InvoiceResponseModel struct {
+ AmountDueCents int32 `json:"amount_due_cents"`
+ NextPaymentAttemptUnix int32 `json:"next_payment_attempt_unix"`
+}
+type LanguageResponseModel struct {
+ IsoCode string `json:"iso_code"`
+ DisplayName string `json:"display_name"`
+}
+type RecordingResponseModel struct {
+ RecordingId string `json:"recording_id"`
+ MimeType string `json:"mime_type"`
+ SizeBytes int32 `json:"size_bytes"`
+ UploadDateUnix int32 `json:"upload_date_unix"`
+ Transcription string `json:"transcription"`
+}
+type SampleResponseModel struct {
+ SampleId string `json:"sample_id"`
+ FileName string `json:"file_name"`
+ MimeType string `json:"mime_type"`
+ SizeBytes int32 `json:"size_bytes"`
+ Hash string `json:"hash"`
+}
+
+// The settings for a specific voice.
+type Settings struct {
+ Stability float64 `json:"stability"`
+ SimilarityBoost float64 `json:"similarity_boost"`
+}
+type SubscriptionResponseModel struct {
+ Tier string `json:"tier"`
+ CharacterCount int32 `json:"character_count"`
+ CharacterLimit int32 `json:"character_limit"`
+ CanExtendCharacterLimit bool `json:"can_extend_character_limit"`
+ AllowedToExtendCharacterLimit bool `json:"allowed_to_extend_character_limit"`
+ NextCharacterCountResetUnix int32 `json:"next_character_count_reset_unix"`
+ VoiceLimit int32 `json:"voice_limit"`
+ ProfessionalVoiceLimit int32 `json:"professional_voice_limit"`
+ CanExtendVoiceLimit bool `json:"can_extend_voice_limit"`
+ CanUseInstantVoiceCloning bool `json:"can_use_instant_voice_cloning"`
+ CanUseProfessionalVoiceCloning bool `json:"can_use_professional_voice_cloning"`
+ AvailableModels []TtsModelResponseModel `json:"available_models"`
+ CanUseDelayedPaymentMethods bool `json:"can_use_delayed_payment_methods"`
+ Currency string `json:"currency"`
+ Status string `json:"status"`
+}
+type TtsModelResponseModel struct {
+ ModelId string `json:"model_id"`
+ DisplayName string `json:"display_name"`
+ SupportedLanguage []LanguageResponseModel `json:"supported_language"`
+}
+type UserResponseModel struct {
+ Subscription *SubscriptionResponseModel `json:"subscription"`
+ IsNewUser bool `json:"is_new_user"`
+ XiApiKey string `json:"xi_api_key"`
+}
+type ValidationError struct {
+ Loc []AnyOfValidationErrorLocItems `json:"loc"`
+ Msg string `json:"msg"`
+ Type_ string `json:"type"`
+}
+type VerificationAttemptResponseModel struct {
+ Text string `json:"text"`
+ DateUnix int32 `json:"date_unix"`
+ Accepted bool `json:"accepted"`
+ Similarity float64 `json:"similarity"`
+ LevenshteinDistance float64 `json:"levenshtein_distance"`
+ Recording *RecordingResponseModel `json:"recording"`
+}
+type VoiceResponseModel struct {
+ VoiceId string `json:"voice_id"`
+ Name string `json:"name"`
+ Samples []SampleResponseModel `json:"samples"`
+ Category string `json:"category"`
+ FineTuning *FineTuningResponseModel `json:"fine_tuning"`
+ Labels map[string]string `json:"labels"`
+ Description string `json:"description"`
+ PreviewUrl string `json:"preview_url"`
+ AvailableForTiers []string `json:"available_for_tiers"`
+ Settings *VoiceSettingsResponseModel `json:"settings"`
+}
+type VoiceSettingsResponseModel struct {
+ Stability float64 `json:"stability"`
+ SimilarityBoost float64 `json:"similarity_boost"`
+}