FLUX.1 Kontext Max
Images
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 high efficiency and speed, making it well-suited for editing needs.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
The prompt used to generate the image.
A list of images used to generate the image. Supports up to 4 images.
Random seed. The default value is -1, where -1 means using a random seed. Value range: [-1 ~ 2147483647].
Guidance scale, used to control generation. The default value is 3.5. Value range: [1.0 ~ 20.0].
Supported only in text-to-image mode.
The safety tolerance level for generated images, where 1 is the strictest and 5 is the most lenient. The default value is 2.
Options:
The safety tolerance level for generated images, where 1 is the strictest and 5 is the most lenient. The default value is 2.
Options:
1, 2, 3, 4, 5The aspect 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 Information
The task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to obtain the generation result.