Back to Models
FLUX.2 [dev]
Available
Description
FLUX.2 [dev] is an image model from Black Forest Labs where you can generate highly realistic and detailed images, with multi-reference support.
At a Glance
Key pricing and model details available for this model.
Starting price
$0.02
per image
Hallucination rate
0%
Supported sizes
1024x1024, 1280x720, 720x1280, 1536x1024, 1024x1536
Image Pricing
Image generation pricing currently exposed by the models API.
Starting price
$0.02
per image
Resolution Pricing
Resolution-specific prices returned for this image model.
| 1024x1024 | $0.02 |
| 1024x1536 | $0.02 |
| 1280x720 | $0.02 |
| 1536x1024 | $0.02 |
| 720x1280 | $0.02 |
| auto | $0.02 |
Image Details
Additional image-related pricing and format support.
| Pricing unit | per image |
| Supported sizes | 1024x1024 1280x720 720x1280 1536x1024 1024x1536 |
Feature Availability
Capabilities explicitly listed in the current payload.
Image
Available
Yes
Vision
Not listed
No
Function calling
Not listed
No
Reasoning
Not listed
No
Code Samples
Quick start with the Routeway API
const response = await fetch('https://api.routeway.ai/v1/images/generations', {
method: 'POST',
headers: {
'Authorization': 'Bearer <YOUR_API_KEY>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'flux-2-dev',
prompt: 'A futuristic city skyline at sunset',
size: '1024x1024',
})
});
const imageData = await response.json();
console.log(imageData);