Recraft's latest text-to-image generation model with high-quality output, supporting various aspect ratios and custom color palettes
Details
recraft-v4
Providers & Pricing (2)
Recraft V4 is available from 2 providers, with per-image pricing starting at $0.04 through Replicate.
replicate/recraft-v4
fal/recraft-v4
Provider Performance
Fastest generation through replicate at 13,767ms median latency with 100.0% success rate.
Aggregated from real API requests over the last 30 days.
Generation Time
Success Rate
Time to First Byte
Provider Rankings
| # | Provider | p50 Gen Time | p95 Gen Time | Success Rate | TTFB (p50) |
|---|---|---|---|---|---|
| 1 | replicate | 13,767ms | 15,725ms | 100.0% | 13,767ms |
Recraft V4 API OpenAI-compatible
Integrate Recraft V4 into your workflow via Lumenfall’s OpenAI-compatible API to generate high-resolution images across diverse aspect ratios.
https://api.lumenfall.ai/openai/v1
recraft-v4
curl -X POST \
https://api.lumenfall.ai/openai/v1/images/generations \
-H "Authorization: Bearer $LUMENFALL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "recraft-v4",
"prompt": "A serene mountain landscape at sunset",
"size": "1024x1024"
}'
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'YOUR_API_KEY',
baseURL: 'https://api.lumenfall.ai/openai/v1'
});
const response = await client.images.generate({
model: 'recraft-v4',
prompt: 'A serene mountain landscape at sunset',
size: '1024x1024'
});
// { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] }
console.log(response.data[0].url);
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://api.lumenfall.ai/openai/v1"
)
response = client.images.generate(
model="recraft-v4",
prompt="A serene mountain landscape at sunset",
size="1024x1024"
)
# { created: 1234567890, data: [{ url: "https://...", revised_prompt: "..." }] }
print(response.data[0].url)
Gallery
View all 4 imagesRecraft V4 FAQ
How much does Recraft V4 cost?
Recraft V4 starts at $0.04 per image through Lumenfall. Pricing varies by provider. Lumenfall does not add any markup to provider pricing.
How do I use Recraft V4 via API?
You can use Recraft V4 through Lumenfall's OpenAI-compatible API. Send requests to the unified endpoint with model ID "recraft-v4". Code examples are available in Python, JavaScript, and cURL.
Which providers offer Recraft V4?
Recraft V4 is available through Replicate and fal.ai on Lumenfall. Lumenfall automatically routes requests to the best available provider.
What is the maximum resolution for Recraft V4?
Recraft V4 supports images up to 1536x1536 resolution.
Overview
Recraft V4 is a text-to-image foundation model developed by Recraft AI that focuses on high-fidelity graphic design and vector-like precision. It distinguishes itself from general-purpose artistic generators by prioritizing spatial control, text rendering accuracy, and the ability to strictly adhere to user-defined brand assets like specific color palettes.
Strengths
- Text Rendering Accuracy: The model demonstrates high reliability when generating long strings of text and complex typography within an image, reducing the common “gibberish” artifacts found in many diffusion models.
- Brand Color Adherence: Users can specify exact hex codes or custom color palettes, and the model enforces these constraints across the entire composition rather than just using them as stylistic suggestions.
- Anatomical and Proportional Correctness: It shows significant improvement in human anatomy, specifically in the depiction of hands and limbs, which are often failure points for generative models.
- Aspect Ratio Flexibility: The model supports a wide range of non-standard aspect ratios, making it suitable for professional layouts such as banners, social media posts, and print media.
Limitations
- Photorealistic Nuance: While capable of realism, it may lack the specific atmospheric lighting and “film grain” textures found in models specialized exclusively for high-end photography.
- Inference Latency: Due to the complexity of its design-oriented outputs, generation times may be slightly slower compared to “turbo” or highly distilled latent consistency models.
- Stylistic Bias: The model is heavily optimized for clean, professional design aesthetics, which may require more intensive prompting to achieve gritty or abstract “analog” art styles.
Technical Background
Recraft V4 is built on a transformer-based architecture optimized for high-resolution image synthesis. Unlike models trained solely on aesthetic internet scrapes, Recraft’s training pipeline emphasizes structural understanding and graphic design principles, allowing the model to treat design elements as discrete, manageable components.
Best For
Recraft V4 is ideal for professional workflows including logo design, detailed vector-style illustrations, and marketing collateral where brand consistency is non-negotiable. Its ability to handle precise text makes it a strong candidate for UI/UX mockups and infographics. This model is available for testing and deployment through Lumenfall’s unified API and playground, allowing developers to integrate high-quality design generation into their applications with a single integration point.
Try Recraft V4 in Playground
Generate images with custom prompts — no API key needed.