FLUX.1 Kontext Pro
Images
FLUX.1 Kontext Pro
POST
FLUX.1 Kontext Pro
FLUX.1 Kontext Pro is a model that improves prompt adherence and consistency in font generation while maintaining high efficiency and speed, making it suitable 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. Up to 4 images are supported.
Guidance scale, used to control generation. The default value is 3.5. Value range: [1.0 ~ 20.0].
The 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:21Random seed. The default value is -1, where -1 means using a random seed. Value range: [-1 ~ 2147483647].
Supported only in text-to-image mode.
The safety tolerance level for the generated image, where 1 is the strictest and 5 is the most permissive. The default value is 2.
Options:
The safety tolerance level for the generated image, where 1 is the strictest and 5 is the most permissive. The default value is 2.
Options:
1, 2, 3, 4, 5Response 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.