FLUX.1 Kontext Max
Image
FLUX.1 Kontext Max
POST
FLUX.1 Kontext Max
FLUX.1 Kontext Max 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.
Random seed. Default: -1, where -1 means use a random seed. Range: [-1 ~ 2147483647].
Guidance scale for controlling generation. Default: 3.5. Range: [1.0 ~ 20.0].
Only supported in text-to-image mode.
Safety tolerance level for generated images, 1 is the strictest, 5 is the most permissive. Default: 2.
Options:
Safety tolerance level for generated images, 1 is the strictest, 5 is the most permissive. Default: 2.
Options:
1, 2, 3, 4, 5Aspect ratio of the generated image.
Options:
Options:
21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21Response
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.