Recraft V4 Now Available on AI Gateway
Recraft V4, a professional-grade text-to-image model, is now integrated into Vercel's AI Gateway. Developed with input from working designers, this model addresses real-world needs for design and marketing use cases.
Key Improvements
The V4 model delivers significant improvements in photorealism, featuring:
- Realistic skin rendering and natural textures with fewer synthetic artifacts
- Clean lighting and varied composition for professional-quality output
- Better character generation for illustration work with less predictable, more original color palettes
Two Model Variants
V4 - The standard version optimized for speed and cost efficiency, ideal for everyday design work and rapid iteration cycles.
V4 Pro - The premium variant that generates higher-resolution images suitable for print-ready assets and large-scale deployment.
Integration with AI SDK
Developers can integrate Recraft V4 immediately using Vercel's AI SDK by specifying the model parameter:
const result = await generateImage({
model: 'recraft/recraft-v4',
prompt: 'Product photo of a ceramic coffee mug on a wooden table, morning light, shallow depth of field.'
});
AI Gateway Benefits
Beyond model access, AI Gateway provides unified API infrastructure including usage tracking, cost monitoring, intelligent retry logic, provider failover, and built-in observability features. The service also supports bring-your-own-key authentication for leveraging existing provider accounts.