- Text-to-image — POST JSON to
/v1/images/generations - Image editing — POST multipart form to
/v1/images/edits
Key Capabilities
- Image editing — Modify existing images using text instructions (e.g., “Change the red car to blue”)
- Text-to-image — Generate images from text descriptions
- Context-aware — Understands and preserves the context of reference images
- Reproducible — Use
seedfor deterministic generation
Quick Example
Text-to-image
Image Editing
Text-to-image Parameters
Image Editing Parameters
Response Fields
API Reference
View the interactive API Playground for FLUX.1 Kontext [pro].

