Recraft image models now on AI Gateway

Authors

1 min read

Recraft models are now available via Vercel's AI Gateway with no other provider accounts required. You can access Recraft's image models, V3 and V2.

These image models excel at photorealism, accurate text rendering, and complex prompt following. V3 supports long multi-word text generation with precise positioning, anatomical correctness, and native vector output. It includes 20+ specialized styles from realistic portraits to pixel art.

To use this model, set model to recraft/recraft-v3 in the AI SDK. This model supports generateImage.

import { generateImage } from 'ai';
const result = await generateImage({
model: 'recraft/recraft-v3',
prompt:
`A misty Japanese forest with ancient cedar trees, painted in the style of
traditional ukiyo-e woodblock prints with soft indigo and moss green tones.`,
});

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.

Learn more about AI Gateway, view the AI Gateway model leaderboard or try it in our 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