{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"}],"enrichment":{"capability":"Cartesia is the official Python client library for the Cartesia REST API, providing synchronous and asynchronous access to text-to-speech generation with websocket support for streaming inputs.","skillfed_tags":["text-to-speech","api-client","async-support"],"use_cases":["Generate speech audio from text and save to file for playback or distribution.","Stream text fragments from an LLM to Cartesia over websockets for low-latency voice agent responses.","Build concurrent text-to-speech pipelines using AsyncCartesia for batch audio generation.","Integrate real-time speech synthesis into interactive applications with custom voice selection and audio format control."],"what_it_does":"Cartesia is a Python client library that wraps the Cartesia REST API, enabling developers to generate speech from text using the Sonic real-time text-to-speech model. It provides both synchronous and asynchronous clients powered by httpx, with full type hints for request and response objects. The library supports streaming inputs via websockets, allowing text fragments to be pushed incrementally\u2014useful for latency-sensitive applications like voice agents that need to synthesize LLM output as it streams.\n\nThe package handles common API patterns including error handling, retries, timeouts, and file uploads. It supports multiple output formats (container types, encodings, sample rates) and voice selection. Developers can use either the blocking Cartesia client or AsyncCartesia for concurrent operations, with identical functionality between the two.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries a permissive license, and provides a straightforward typed interface to a modern TTS API. Install it if you need to integrate Cartesia's speech synthesis into a Python application. No known security vulnerabilities and supports Python 3.9 through 3.14."},"id":"cartesia","links":{"html":"https://skillfed.io/packages/cartesia","md":"https://skillfed.io/packages/cartesia.md","pypi":"https://pypi.org/project/cartesia/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":null,"license_treatment":"permissive","name":"cartesia","python_support":"supports_current","summary":"The official Python library for the cartesia API"},"popularity":{"monthly_downloads":835744,"position":4934,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"4.0.1"}
