async def create_room(self, params: DailyRoomParams) -> DailyRoomObject:
        """Create a new Daily room.

        Args:
            params: Room configuration parameters

        Returns:
            DailyRoomObject: DailyRoomObject instance for the created room

        Raises:
            Exception: If room creation fails or response is invalid
        """
        headers = {"Authorization": f"Bearer {self.daily_api_key}"}
        json = params.model_dump(exclude_none=True)
        async with self.aiohttp_session.post(
            f"{self.daily_api_url}/rooms", headers=headers, json=json
        ) as r:
            if r.status != 200:
                text = await r.text()
                raise Exception(f"Unable to create room (status: {r.status}): {text}")

            data = await r.json()

        try:
            room = DailyRoomObject(**data)
        except ValidationError as e:
            raise Exception(f"Invalid response: {e}")

        return room
Create a new Daily room.

        Args:
            params: Room configuration parameters

        Returns:
            DailyRoomObject: DailyRoomObject instance for the created room

        Raises:
            Exception: If room creation fails or response is invalid
        
src/pipecat/transports/services/helpers/daily_rest.py