black-forest-labs/flux-2-dev 🔢📝✓❓🖼️ → 🖼️
About
Quality image generation and editing with support for reference images
Example Output
Prompt:
"Replace the color of the car to blue"
Output
Performance Metrics
5.20s
Prediction Time
5.21s
Total Time
All Input Parameters
{
"prompt": "Replace the color of the car to blue",
"go_fast": true,
"aspect_ratio": "match_input_image",
"input_images": [
"https://replicate.delivery/pbxt/O7kbtH7wgLIItlCyeWjm0fgPpx7OpGsT9VbYyxBXnfieVxQe/woman-by-car.jpg"
],
"output_format": "jpg",
"output_quality": 80
}
Input Parameters
- seed
- Random seed. Set for reproducible generation.
- width
- Width of the generated image in text-to-image mode. Only used when aspect_ratio=custom. Must be a multiple of 32 (if it's not, it will be rounded to nearest multiple of 32).
- height
- Height of the generated image in text-to-image mode. Only used when aspect_ratio=custom. Must be a multiple of 32 (if it's not, it will be rounded to nearest multiple of 32).
- prompt (required)
- Text description of the image to generate.
- go_fast
- Run faster predictions with additional optimizations.
- aspect_ratio
- Aspect ratio for the generated image. Use 'match_input_image' to match the first input image's aspect ratio.
- input_images
- List of input images for image-to-image generation. Maximum 4 images. Must be jpeg, png, gif, or webp.
- output_format
- Format of the output images.
- output_quality
- Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs.
- disable_safety_checker
- Disable safety checker for generated images.
Output Schema
Output
Example Execution Logs
Using seed: 750087 Matched dimensions from image 0: 816x1224 /root/.pyenv/versions/3.12.11/lib/python3.12/site-packages/torch/utils/_contextlib.py:116: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpxsyc7hqqwoman-by-car.jpg'> return func(*args, **kwargs)
Version Details
- Version ID
7bba46bdde863cfd7aaee87649a5aa49f39f368495dbea500998d1fcbb262050- Version Created
- November 24, 2025