infery
← All models

FLUX.1 Kontext [pro]

flux-pro-kontext

Image generationby Black Forest Labs

FLUX.1 Kontext [pro] handles both text and reference images as inputs, seamlessly enabling targeted, local edits and complex transformations of entire scenes.

images

Details

Accepts
text + image

Pricing

Price
5 cr / image

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seed The same seed and the same prompt given to the same version of the model will output the same image every time.
promptrequiredstringThe prompt to generate an image from.
image_urlstringImage prompt for the omni model.
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
num_imagesintegerThe number of images to generate.
aspect_ratioThe aspect ratio of the generated image.
output_formatstringenum: jpeg, pngThe format of the generated image.
enhance_promptbooleanWhether to enhance the prompt for better results.
guidance_scalenumber The 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.
safety_tolerancestringenum: 1, 2, 3, 4, 5, 6The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.

Output

FieldTypeDescription
seedinteger Seed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed.
imagesarrayThe generated image files info.
promptstringThe prompt used for generating the image.
timingsobject
has_nsfw_conceptsarrayWhether the generated images contain NSFW concepts.