AzureOpenAIModelImageGenTool()The project endpoint associated with the AI project. If this is specified,
The endpoint of the specific service to connect to. If you are connecting to a
The API key or credential to use to connect to the service. If using a project
The API version to use with Azure. If None, the
Additional keyword arguments to pass to the client.
Tool that generates images using an OpenAI-compatible image generation API.
This tool connects to model deployments in Azure AI Foundry or Azure OpenAI that
expose an OpenAI-compatible /images/generations endpoint, such as
gpt-image-1 or dall-e-3.
Example:
.. code-block:: python
from langchain_azure_ai.tools import AzureOpenAIModelImageGenTool
tool = AzureOpenAIModelImageGenTool(
endpoint="https://