flux-2-edit
Model Overview
A 4MP photorealistic, production-grade editor with advanced multi-reference control capabilities.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
API Schema
The text prompt describing the content, style, or composition of the image to be generated.
List of URLs or local Base64 encoded images to edit.
landscape_4_3The size of the generated image.
The format of the generated image.
pngPossible values: If set to True, prompt will be upsampled with more details.
trueThe CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
The number of inference steps to perform.
The speed of the generation. The higher the speed, the faster the generation.
regularPossible values: The same seed and the same prompt given to the same version of the model will output the same image every time.
The number of images to generate.
1If set to True, the safety checker will be enabled.
trueQuick Example
Let's generate an image using two input images and a prompt that defines how they should be edited.


"Combine the images so the T-Rex is wearing a business suit, sitting in a cozy small café, drinking from the mug. Blur the background slightly to create a bokeh effect."
Last updated
Was this helpful?