cartesia 2.0.13__tar.gz → 2.0.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cartesia might be problematic. Click here for more details.
- {cartesia-2.0.13 → cartesia-2.0.14}/PKG-INFO +1 -1
- {cartesia-2.0.13 → cartesia-2.0.14}/pyproject.toml +1 -1
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/client_wrapper.py +1 -1
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/_async_websocket.py +11 -4
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/_websocket.py +10 -4
- {cartesia-2.0.13 → cartesia-2.0.14}/LICENSE +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/README.md +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/api_status/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/api_status/client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/api_status/requests/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/api_status/requests/api_info.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/api_status/types/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/api_status/types/api_info.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/requests/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/requests/token_grant.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/requests/token_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/requests/token_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/types/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/types/token_grant.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/types/token_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/auth/types/token_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/base_client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/api_error.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/datetime_utils.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/file.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/http_client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/jsonable_encoder.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/pagination.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/pydantic_utilities.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/query_encoder.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/remove_none_from_dict.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/request_options.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/core/serialization.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/requests/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/requests/create_dataset_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/requests/dataset.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/requests/dataset_file.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/requests/paginated_dataset_files.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/requests/paginated_datasets.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/types/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/types/create_dataset_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/types/dataset.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/types/dataset_file.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/types/file_purpose.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/types/paginated_dataset_files.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/types/paginated_datasets.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/embedding/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/embedding/types/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/embedding/types/embedding.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/environment.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/infill/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/infill/client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/py.typed +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/_async_websocket.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/_websocket.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/requests/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/requests/done_message.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/requests/error_message.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/requests/flush_done_message.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/requests/streaming_transcription_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/requests/transcript_message.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/requests/transcription_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/requests/transcription_word.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/socket_client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/done_message.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/error_message.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/flush_done_message.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/streaming_transcription_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/stt_encoding.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/timestamp_granularity.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/transcript_message.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/transcription_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/transcription_word.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/cancel_context_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/controls.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/generation_config.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/generation_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/mp_3_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/phoneme_timestamps.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/raw_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/speed.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/sse_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/tts_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/tts_request_embedding_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/tts_request_id_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/tts_request_voice_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/ttssse_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/wav_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_base_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_chunk_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_done_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_error_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_flush_done_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_phoneme_timestamps_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_raw_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_stream_options.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_timestamps_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_tts_output.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_tts_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/word_timestamps.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/socket_client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/cancel_context_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/context_id.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/controls.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/emotion.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/emotion_deprecated.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/flush_id.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/generation_config.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/generation_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/model_speed.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/mp_3_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/natural_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/numerical_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/phoneme_timestamps.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/raw_encoding.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/raw_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/speed.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/sse_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/supported_language.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/tts_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/tts_request_embedding_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/tts_request_id_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/tts_request_voice_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/ttssse_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/wav_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_base_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_chunk_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_done_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_error_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_flush_done_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_phoneme_timestamps_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_raw_output_format.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_stream_options.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_timestamps_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_tts_output.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_tts_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/word_timestamps.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/utils/constants.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/utils/tts.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/utils/types.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/version.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voice_changer/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voice_changer/client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voice_changer/requests/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voice_changer/requests/streaming_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voice_changer/types/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voice_changer/types/output_format_container.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voice_changer/types/streaming_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/client.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/create_voice_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/embedding_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/embedding_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/get_voices_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/id_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/localize_dialect.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/localize_voice_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/mix_voice_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/mix_voices_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/update_voice_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/voice.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/requests/voice_metadata.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/__init__.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/base_voice_id.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/clone_mode.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/create_voice_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/embedding_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/embedding_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/gender.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/gender_presentation.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/get_voices_response.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/id_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/localize_dialect.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/localize_english_dialect.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/localize_french_dialect.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/localize_portuguese_dialect.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/localize_spanish_dialect.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/localize_target_language.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/localize_voice_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/mix_voice_specifier.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/mix_voices_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/update_voice_request.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/voice.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/voice_expand_options.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/voice_id.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/voice_metadata.py +0 -0
- {cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/weight.py +0 -0
|
@@ -16,7 +16,7 @@ class BaseClientWrapper:
|
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
|
17
17
|
"X-Fern-Language": "Python",
|
|
18
18
|
"X-Fern-SDK-Name": "cartesia",
|
|
19
|
-
"X-Fern-SDK-Version": "2.0.
|
|
19
|
+
"X-Fern-SDK-Version": "2.0.14",
|
|
20
20
|
}
|
|
21
21
|
headers["X-API-Key"] = self.api_key
|
|
22
22
|
headers["Cartesia-Version"] = "2024-11-13"
|
|
@@ -8,7 +8,7 @@ from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Union
|
|
|
8
8
|
|
|
9
9
|
import aiohttp
|
|
10
10
|
|
|
11
|
-
from cartesia.tts.requests import TtsRequestVoiceSpecifierParams
|
|
11
|
+
from cartesia.tts.requests import GenerationConfigParams, TtsRequestVoiceSpecifierParams
|
|
12
12
|
from cartesia.tts.requests.output_format import OutputFormatParams
|
|
13
13
|
from cartesia.tts.types import (
|
|
14
14
|
WebSocketResponse,
|
|
@@ -61,6 +61,7 @@ class _AsyncTTSContext:
|
|
|
61
61
|
model_id: str,
|
|
62
62
|
transcript: str,
|
|
63
63
|
output_format: OutputFormatParams,
|
|
64
|
+
generation_config: Optional[GenerationConfigParams] = None,
|
|
64
65
|
voice: TtsRequestVoiceSpecifierParams,
|
|
65
66
|
context_id: Optional[str] = None,
|
|
66
67
|
duration: Optional[int] = None,
|
|
@@ -116,6 +117,12 @@ class _AsyncTTSContext:
|
|
|
116
117
|
if flush:
|
|
117
118
|
request_body["flush"] = flush
|
|
118
119
|
|
|
120
|
+
if generation_config is not None:
|
|
121
|
+
if isinstance(generation_config, dict):
|
|
122
|
+
request_body["generation_config"] = generation_config
|
|
123
|
+
else:
|
|
124
|
+
request_body["generation_config"] = generation_config.dict()
|
|
125
|
+
|
|
119
126
|
if (
|
|
120
127
|
"context_id" in request_body
|
|
121
128
|
and request_body["context_id"] is not None
|
|
@@ -315,10 +322,10 @@ class AsyncTtsWebsocket(TtsWebsocket):
|
|
|
315
322
|
# Extract status code if available
|
|
316
323
|
status_code = None
|
|
317
324
|
error_message = str(e)
|
|
318
|
-
|
|
325
|
+
|
|
319
326
|
if hasattr(e, 'status') and e.status is not None:
|
|
320
327
|
status_code = e.status
|
|
321
|
-
|
|
328
|
+
|
|
322
329
|
# Create a meaningful error message based on status code
|
|
323
330
|
if status_code == 402:
|
|
324
331
|
error_message = "Payment required. Your API key may have insufficient credits or permissions."
|
|
@@ -328,7 +335,7 @@ class AsyncTtsWebsocket(TtsWebsocket):
|
|
|
328
335
|
error_message = "Forbidden. You don't have permission to access this resource."
|
|
329
336
|
elif status_code == 404:
|
|
330
337
|
error_message = "Not found. The requested resource doesn't exist."
|
|
331
|
-
|
|
338
|
+
|
|
332
339
|
raise RuntimeError(f"Failed to connect to WebSocket.\nStatus: {status_code}. Error message: {error_message}")
|
|
333
340
|
else:
|
|
334
341
|
raise RuntimeError(f"Failed to connect to WebSocket at {url}. {e}")
|
|
@@ -14,7 +14,7 @@ except ImportError:
|
|
|
14
14
|
|
|
15
15
|
from iterators import TimeoutIterator # type: ignore
|
|
16
16
|
|
|
17
|
-
from cartesia.tts.requests import TtsRequestVoiceSpecifierParams
|
|
17
|
+
from cartesia.tts.requests import GenerationConfigParams, TtsRequestVoiceSpecifierParams
|
|
18
18
|
from cartesia.tts.requests.output_format import OutputFormatParams
|
|
19
19
|
from cartesia.tts.types import (
|
|
20
20
|
WebSocketResponse,
|
|
@@ -60,6 +60,7 @@ class _TTSContext:
|
|
|
60
60
|
model_id: str,
|
|
61
61
|
transcript: typing.Generator[str, None, None],
|
|
62
62
|
output_format: OutputFormatParams,
|
|
63
|
+
generation_config: Optional[GenerationConfigParams] = None,
|
|
63
64
|
voice: TtsRequestVoiceSpecifierParams,
|
|
64
65
|
context_id: Optional[str] = None,
|
|
65
66
|
max_buffer_delay_ms: Optional[int] = None,
|
|
@@ -111,6 +112,11 @@ class _TTSContext:
|
|
|
111
112
|
if max_buffer_delay_ms:
|
|
112
113
|
request_body["max_buffer_delay_ms"] = max_buffer_delay_ms
|
|
113
114
|
|
|
115
|
+
if generation_config is not None:
|
|
116
|
+
if isinstance(generation_config, dict):
|
|
117
|
+
request_body["generation_config"] = generation_config
|
|
118
|
+
else:
|
|
119
|
+
request_body["generation_config"] = generation_config.dict()
|
|
114
120
|
if (
|
|
115
121
|
"context_id" in request_body
|
|
116
122
|
and request_body["context_id"] is not None
|
|
@@ -293,10 +299,10 @@ class TtsWebsocket:
|
|
|
293
299
|
# Extract status code if available
|
|
294
300
|
status_code = None
|
|
295
301
|
error_message = str(e)
|
|
296
|
-
|
|
302
|
+
|
|
297
303
|
if hasattr(e, 'status') and e.status is not None:
|
|
298
304
|
status_code = e.status
|
|
299
|
-
|
|
305
|
+
|
|
300
306
|
# Create a meaningful error message based on status code
|
|
301
307
|
if status_code == 402:
|
|
302
308
|
error_message = "Payment required. Your API key may have insufficient credits or permissions."
|
|
@@ -306,7 +312,7 @@ class TtsWebsocket:
|
|
|
306
312
|
error_message = "Forbidden. You don't have permission to access this resource."
|
|
307
313
|
elif status_code == 404:
|
|
308
314
|
error_message = "Not found. The requested resource doesn't exist."
|
|
309
|
-
|
|
315
|
+
|
|
310
316
|
raise RuntimeError(f"Failed to connect to WebSocket.\nStatus: {status_code}. Error message: {error_message}")
|
|
311
317
|
else:
|
|
312
318
|
raise RuntimeError(f"Failed to connect to WebSocket. {e}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/requests/create_dataset_request.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/datasets/requests/paginated_dataset_files.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/requests/streaming_transcription_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/stt/types/streaming_transcription_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/tts_request_embedding_specifier.py
RENAMED
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/tts_request_voice_specifier.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_flush_done_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_raw_output_format.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/requests/web_socket_timestamps_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/tts_request_embedding_specifier.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_flush_done_response.py
RENAMED
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_phoneme_timestamps_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/tts/types/web_socket_timestamps_response.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voice_changer/requests/streaming_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voice_changer/types/output_format_container.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cartesia-2.0.13 → cartesia-2.0.14}/src/cartesia/voices/types/localize_portuguese_dialect.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|