Recraft V4 on AI Gateway
Source: Vercel Blog
Overview
Recraft V4 is now available on AI Gateway. It is a text‑to‑image model built for professional design and marketing use cases, developed with input from working designers. The model delivers:
- Improved photorealism with realistic skin tones and natural textures
- Fewer synthetic artifacts
- Clean lighting and varied composition
- For illustration, the ability to generate original characters with less predictable color palettes
Versions
| Version | Description |
|---|---|
| V4 | Faster and more cost‑efficient, suited for everyday work and iteration |
| V4 Pro | Generates higher‑resolution images for print‑ready assets and large‑scale use |
Usage
To use the model in the AI SDK, set the model parameter to the appropriate identifier:
# For the standard version
model="recraft/recraft-v4"
# For the Pro version
model="recraft/recraft-v4-pro"
AI Gateway Features
AI Gateway provides a unified API for:
- Calling models
- Tracking usage and cost
- Configuring retries, failover, and performance optimizations for higher‑than‑provider uptime
- Built‑in observability
- Bring Your Own Key support
- Intelligent provider routing with automatic retries
Resources
- Learn more about the model and its capabilities
- Model leaderboard – compare performance across models
- Model playground – try Recraft V4 and V4 Pro interactively