Image Generation
Last updated
Was this helpful?
Last updated
Was this helpful?
Portkey's AI gateway supports image generation capabilities that many foundational model providers offer. The most common use case is that of text-to-image where the user sends a prompt which the image model processes and returns an image.
Portkey supports the OpenAI signature to make text-to-image requests.
On completion, the request will get logged in the logs UI where the image can be viewed.
(Note that providers may remove the hosted image after a period of time, so some logs might only contain the url)
dall-e-2
, dall-e-3
Create Image (text to image)
dall-e-2
, dall-e-3
Create Image (text to image)
stable-diffusion-v1-6
, stable-diffusion-xl-1024-v1-0
Create Image (text to image)
Stable Image Ultra, Stable Diffusion 3 Large (SD3 Large), Stable Image Core, Stable Diffusion XL 1.0
Create Image (text to image)
Segmind
Create Image (text to image)
Together AI (Coming Soon)
Monster API (Coming Soon)
Replicate (Coming Soon)
The following providers are supported for image generation with more providers getting added soon. Please raise a or a to add model or provider to the AI gateway.
which demonstrates the use of multiple providers and routing between them through Configs.