def __init__(self, api_key: str, session: aiohttp.ClientSession):
        """
        Initialize the TavusApi client.

        Args:
            api_key (str): Tavus API key.
            session (aiohttp.ClientSession): An aiohttp session for making HTTP requests.
        """
        self._api_key = api_key
        self._session = session
        self._headers = {"Content-Type": "application/json", "x-api-key": self._api_key}

        Initialize the TavusApi client.

        Args:
            api_key (str): Tavus API key.
            session (aiohttp.ClientSession): An aiohttp session for making HTTP requests.
        
src/pipecat/transports/services/tavus.py