FLUX.1 Redux [dev] is an image variation generation adapter for all FLUX.1 base models. It enables users to refine images with slight variations and supports text-based restyling via API. Integrated with FLUX1.1 [pro] Ultra, it allows for high-quality 4-megapixel outputs. The model can be used with Diffusers in Python for efficient image generation. While powerful, it has ethical and factual limitations and is governed by a non-commercial license.
FLUX.1 Redux [dev] is an image variation generation adapter for all FLUX.1 base models. It enables users to refine images with slight variations and supports text-based restyling via API. Integrated with FLUX1.1 [pro] Ultra, it allows for high-quality 4-megapixel outputs. The model can be used with Diffusers in Python for efficient image generation. While powerful, it has ethical and factual limitations and is governed by a non-commercial license.
This document provides an overview of the DeepInfra-compatible OpenAI image variations API. It allows users to generate AI-created images based on text prompts using DeepInfra models.
curl -X POST \
-H "Authorization: Bearer $DEEPINFRA_TOKEN" \
-F image=@image.png \
-F n=1 \
-F size=1024x1024 \
-F model=black-forest-labs/FLUX-1-Redux-dev \
https://api.deepinfra.com/v1/openai/images/variations
The API returns a JSON object containing the generated image(s).
{
"created": 1740418043,
"data": [
{
"revised_prompt": null,
"b64_json": "/9j/4AAQS..."
}
]
}
response_format
stringThe format in which the generated images are returned. Currently only b64_json is supported.
Default value: "b64_json"
Allowed values: b64_json
size
stringThe size of the generated images. Available sizes depend on the model.
Default value: "1024x1024"
user
stringA unique identifier representing your end-user, which can help to monitor and detect abuse.
image
stringInput image bytes for variation task