black-forest-labs/FLUX-1.1-pro cover image
featured

black-forest-labs/FLUX-1.1-pro

Black Forest Labs' latest state-of-the art proprietary model sporting top of the line prompt following, visual quality, details and output diversity.

Black Forest Labs' latest state-of-the art proprietary model sporting top of the line prompt following, visual quality, details and output diversity.

Public
$0.04 / img
ProjectLicense

HTTP/cURL API

You can use cURL or any other http client to run inferences:

curl -X POST \
    -d '{"prompt": "The biggest cake in the middle of a black forest"}'  \
    -H "Authorization: bearer $DEEPINFRA_TOKEN"  \
    -H 'Content-Type: application/json'  \
    'https://api.deepinfra.com/v1/inference/black-forest-labs/FLUX-1.1-pro'

which will give you back something similar to:

{
  "status": "ok",
  "image_url": "/model/inference/flux_pro_cake.jpg",
  "request_id": null,
  "inference_status": {
    "status": "unknown",
    "runtime_ms": 0,
    "cost": 0.0,
    "tokens_generated": 0,
    "tokens_input": 0
  }
}

Input fields

promptstring

Text prompt for image generation


widthinteger

Width of the generated image in pixels. Must be a multiple of 32

Default value: 1024

Range: 256 ≤ width ≤ 1440


heightinteger

Height of the generated image in pixels. Must be a multiple of 32

Default value: 1024

Range: 256 ≤ height ≤ 1440


prompt_upsamplingboolean

Whether to perform upsampling on the prompt. If active, automatically modifies the prompt for more creative generation

Default value: false


seedinteger

Optional seed for reproducibility


safety_toleranceinteger

Tolerance level for input and output moderation. Between 0 and 6, 0 being most strict, 6 being least strict

Default value: 2

Range: 0 ≤ safety_tolerance ≤ 6


webhookfile

The webhook to call when inference is done, by default you will get the output in the response of your inference request

Input Schema

Output Schema