Image-only models available in Vercel AI Gateway

Authors

1 min read

You can now access image-only models via Vercel's AI Gateway with no other provider accounts required. In addition to multimodal models with image generation capabilities that are currently available in AI Gateway (e.g., GPT-5.1, Nano Banana Pro, etc.), these image-only models are exclusively for image generation. The models include:
Black Forest Labs:

  • FLUX.2 Flex: bfl/flux-2-flex

  • FLUX.2 Pro: bfl/flux-2-pro

  • FLUX.1 Kontext Max: bfl/flux-kontext-max

  • FLUX.1 Kontext Pro: bfl/flux-kontext-pro

  • FLUX 1.1 Pro Ultra: bfl/flux-pro-1.1-ultra

  • FLUX 1.1 Pro: bfl/flux-pro-1.1

  • FLUX.1 Fill Pro: bfl/flux-pro-1.0-fill

Google:

  • Imagen 4.0 Generate 001: google/imagen-4.0-generate

  • Imagen 4.0 Fast Generate 001: google/imagen-4.0-fast-generate

  • Imagen 4.0 Ultra Generate 001: google/imagen-4.0-ultra-generate

To use these models, set model to the corresponding slug from above in the AI SDK. These models support generateImage.

import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({
model: 'bfl/flux-2-flex',
prompt:
'A snow leopard poised on a neon-lit rooftop at midnight rendered in vivid pop-art style.',
});

AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.

Read the docs on image generation, view the AI Gateway model leaderboard, or try these models directly in the model playground.

AI Gateway: Track top AI models by usage

The AI Gateway model leaderboard ranks the most used models over time by total token volume across all traffic through the Gateway. Updates regularly.

View the leaderboard