def __init__(
        self,
        width: int = 400,
        query_prompt: Optional[ImageOutputQueryTransformPrompt] = None,
    ) -> None:
        """
        Init ImageOutputQueryTransform.

        Args:
            width (int): desired image display width in pixels
            query_prompt (ImageOutputQueryTransformPrompt): custom prompt for
                augmenting query with image output instructions.

        """
        self._width = width
        self._query_prompt: BasePromptTemplate = (
            query_prompt or DEFAULT_IMAGE_OUTPUT_PROMPT
        )

        Init ImageOutputQueryTransform.

        Args:
            width (int): desired image display width in pixels
            query_prompt (ImageOutputQueryTransformPrompt): custom prompt for
                augmenting query with image output instructions.

        
llama-index-core/llama_index/core/indices/query/query_transform/base.py