FLUX.1 Kontext Dev
Image
FLUX.1 Kontext Dev
POST
FLUX.1 Kontext Dev
FLUX.1 Kontext Dev is a model that improves prompt adherence and font generation consistency while maintaining efficient speed and suitability for editing tasks.
Request Headers
Enum:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
The prompt used for image generation.
List of images used for image generation. Supports up to 4 images.
Whether to enable fast mode. When enabled, generation is faster but quality may be reduced and the price is lower.Default:
false.Size of the generated media (in pixels, width*height). Each dimension range: [256 ~ 1536].
Number of inference steps. Default: 28. Range: [1 ~ 50].
Guidance scale for controlling generation. Default: 2.5. Range: [1.0 ~ 20.0].
Number of images to generate. Default: 1. Range: [1 ~ 4].
Random seed. Default: -1, where -1 means use a random seed. Range: [-1 ~ 2147483647].
Format of the output image. Default: jpeg.
Options:
Options:
jpeg, png, webpResponse
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.