black-forest-labs/FLUX-1-Redux-dev cover image

black-forest-labs/FLUX-1-Redux-dev

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.

Public
$0.012 x (width / 1024) x (height / 1024) x (iters / 25)
ProjectLicense

OpenAI Images Variations HTTP API

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.

Image Generation

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).

Example Response

{
  "created": 1740418043,
  "data": [
    {
      "revised_prompt": null,
      "b64_json": "/9j/4AAQS..."
    }
  ]
}

Input fields

modelstring

The model to use.


ninteger

The number of images to generate.

Default value: 1

Range: 1 ≤ n ≤ 4


response_formatstring

The format in which the generated images are returned. Currently only b64_json is supported.

Default value: "b64_json"

Allowed values: b64_json


sizestring

The size of the generated images. Available sizes depend on the model.

Default value: "1024x1024"


userstring

A unique identifier representing your end-user, which can help to monitor and detect abuse.


imagestring

Input image bytes for variation task

Input Schema

Output Schema