Page cover

Black Forest Labs

Available Black Forest Labs Models in HyprLab: A Detailed List and Pricing Guide.

Base-Path:

https://api.hyprlab.io/v1

Image Path:

https://api.hyprlab.io/v1/images/generations

Making Request:

curl https://api.hyprlab.io/v1/images/generations \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $HYPRLAB_API_KEY" \
  -d '{
    "model": "flux-1.1-pro",
    "prompt": "A cute cat",
    "image_prompt": "https://site.com/path/of/image.png"
    "steps": 20,
    "height": 1024,
    "width": 1024,
    "response_format": "url",
    "output_format": "webp"
  }'
📌 FLUX 2 PRO - Request Body Documentation

prompt (string, required)

  • Description: The main text prompt that influences the output generation.

  • Validation:

    • Must be a non-empty string.

input_images (string or object, optional)

  • Description: This is used to guide the generation.

  • Validation:

    • Must be a string or object (URL, Data URI, or base64 string) up-to 8 images.

aspect_ratio (string, optional)

  • Description: Defines the aspect ratio of the generated output.

  • Validation:

    • Must be one of the following:

      • match_input_image

      • 1:1

      • 16:9

      • 3:2

      • 2:3

      • 4:5

      • 5:4

      • 9:16

      • 3:4

      • 4:3

resolution (string, optional)

  • Description: Image resolution.

  • Validation:

    • Must be one of the following valid size:

      • match_input_image

      • 0.5 MP

      • 1 MP

      • 2 MP

      • 4 MP

seed (integer, optional)

  • Description: A seed for deterministic generation during processing.

  • Validation:

    • Must be an integer between 0 and 4,294,967,295.

response_format (string, optional)

  • Description: The format in which the response will be returned.

  • Validation:

    • Must be either:

      • "url" or

      • "b64_json".

output_format (string, optional)

  • Description: The file format for the output.

  • Validation:

    • Must be one of the following formats:

      • png, jpeg, webp.

📌 FLUX 2 FLEX - Request Body Documentation

prompt (string, required)

  • Description: The main text prompt that influences the output generation.

  • Validation:

    • Must be a non-empty string.

input_images (string or object, optional)

  • Description: This is used to guide the generation.

  • Validation:

    • Must be a string or object (URL, Data URI, or base64 string) up-to 10 images.

aspect_ratio (string, optional)

  • Description: Defines the aspect ratio of the generated output.

  • Validation:

    • Must be one of the following:

      • match_input_image

      • 1:1

      • 16:9

      • 3:2

      • 2:3

      • 4:5

      • 5:4

      • 9:16

      • 3:4

      • 4:3

resolution (string, optional)

  • Description: Image resolution.

  • Validation:

    • Must be one of the following valid size:

      • match_input_image

      • 0.5 MP

      • 1 MP

      • 2 MP

      • 4 MP

steps (integer, optional)

  • Description: The number of steps involved in processing.

  • Validation:

    • Must be an integer.

    • Must be between 1 and 50, inclusive.

guidance (integer, optional)

  • Description: Guidance controls how closely the output follows the prompt

  • Validation Rules:

    • Must be a number.

    • Must be between 1.5 and 10.

seed (integer, optional)

  • Description: A seed for deterministic generation during processing.

  • Validation:

    • Must be an integer between 0 and 4,294,967,295.

response_format (string, optional)

  • Description: The format in which the response will be returned.

  • Validation:

    • Must be either:

      • "url" or

      • "b64_json".

output_format (string, optional)

  • Description: The file format for the output.

  • Validation:

    • Must be one of the following formats:

      • png, jpeg, webp.

📌 FLUX KREA DEV - Request Body Documentation

prompt (string, required)

  • Description: The main text prompt that influences the output generation.

  • Validation:

    • Must be a non-empty string.

aspect_ratio (string, optional)

  • Description: Defines the aspect ratio of the generated output.

  • Validation:

    • Must be one of the following:

      • 1:1

      • 16:9

      • 21:9

      • 3:2

      • 2:3

      • 4:5

      • 5:4

      • 3:4

      • 4:3

      • 9:16

      • 9:21

      • match_input_image

image (string, optional)

  • Description: Image to use as reference.

  • Validation:

    • Must be a string (URL, Data URI, or base64 string).

prompt_strength (number, optional)

  • Description: Prompt strength when using Image to Image Generation.

  • Validation:

    • Must be a number between 0 and 1.

num_inference_steps (number, optional)

  • Description: Number of inference steps.

  • Validation:

    • Must be a number between 4 and 50.

guidance (number, optional)

  • Description: Guidance scale for generation.

  • Validation:

    • Must be a number between 0 and 10.

response_format (string, optional)

  • Description: The format in which the response will be returned.

  • Validation:

    • Must be either:

      • "url" or

      • "b64_json".

output_format (string, optional)

  • Description: The file format for the output.

  • Validation:

    • Must be one of the following formats:

      • png, jpeg, webp.

📌 FLUX KONTEXT PRO & MAX - Request Body Documentation

prompt (string, required)

  • Description: The main text prompt that influences the output generation.

  • Validation:

    • Must be a non-empty string.

input_image (string, optional)

  • Description: This is used to guide the generation.

  • Validation:

    • Must be a string (URL, Data URI, or base64 string).

aspect_ratio (string, optional)

  • Description: Defines the aspect ratio of the generated output.

  • Validation:

    • Must be one of the following:

      • match_input_image

      • 1:1

      • 16:9

      • 9:16

      • 4:3

      • 3:4

      • 3:2

      • 2:3

      • 4:5

      • 5:4

      • 21:9

      • 9:21

      • 2:1

      • 1:2

response_format (string, optional)

  • Description: The format in which the response will be returned.

  • Validation:

    • Must be either:

      • "url" or

      • "b64_json".

output_format (string, optional)

  • Description: The file format for the output.

  • Validation:

    • Must be one of the following formats:

      • png, jpeg, webp.

📌 FLUX KONTEXT PRO & MAX - Request Body Documentation

prompt (string, required)

  • Description: The main text prompt that influences the output generation.

  • Validation:

    • Must be a non-empty string.

input_image (string, optional)

  • Description: This is used to guide the generation.

  • Validation:

    • Must be a string (URL, Data URI, or base64 string).

aspect_ratio (string, optional)

  • Description: Defines the aspect ratio of the generated output.

  • Validation:

    • Must be one of the following:

      • match_input_image

      • 1:1

      • 16:9

      • 9:16

      • 4:3

      • 3:4

      • 3:2

      • 2:3

      • 4:5

      • 5:4

      • 21:9

      • 9:21

      • 2:1

      • 1:2

response_format (string, optional)

  • Description: The format in which the response will be returned.

  • Validation:

    • Must be either:

      • "url" or

      • "b64_json".

output_format (string, optional)

  • Description: The file format for the output.

  • Validation:

    • Must be one of the following formats:

      • png, jpeg, webp.

📌 FLUX KONTEXT DEV - Request Body Documentation

prompt (string, required)

  • Description: The main text prompt that influences the output generation.

  • Validation:

    • Must be a non-empty string.

input_image (string, required)

  • Description: This is used to guide the generation.

  • Validation:

    • Must be a string (URL, Data URI, or base64 string).

aspect_ratio (string, optional)

  • Description: Defines the aspect ratio of the generated output.

  • Validation:

    • Must be one of the following:

      • 1:1

      • 16:9

      • 21:9

      • 3:2

      • 2:3

      • 4:5

      • 5:4

      • 3:4

      • 4:3

      • 9:16

      • 9:21

      • match_input_image

num_inference_steps (number, optional)

  • Description: Number of inference steps.

  • Validation:

    • Must be a number between 4 and 50.

guidance (number, optional)

  • Description: Guidance scale for generation.

  • Validation:

    • Must be a number between 0 and 10.

response_format (string, optional)

  • Description: The format in which the response will be returned.

  • Validation:

    • Must be either:

      • "url" or

      • "b64_json".

output_format (string, optional)

  • Description: The file format for the output.

  • Validation:

    • Must be one of the following formats:

      • png, jpeg, webp.

📌 FLUX 1.1 PRO ULTRA - Request Body Documentation

prompt (string, required)

  • Description: The main text prompt that influences the output generation.

  • Validation:

    • Must be a non-empty string.

image_prompt (string, optional)

  • Description: This is used to guide the generation.

  • Validation:

    • Must be a string (URL, Data URI, or base64 string).

image_prompt_strength (number, optional)

  • Description: Blend between the prompt and the image_prompt.

  • Validation:

    • Must be a number between 0 and 1.

aspect_ratio (string, optional)

  • Description: Defines the aspect ratio of the generated output.

  • Validation:

    • Must be one of the following:

      • "21:9",

      • "16:9",

      • "3:2",

      • "4:3",

      • "1:1",

      • "3:4",

      • "2:3",

      • "9:16",

      • "9:21".

raw (boolean, optional)

  • Description: Determines whether the raw output should be returned.

  • Validation:

    • Must be a boolean (true or false).

response_format (string, optional)

  • Description: The format in which the response will be returned.

  • Validation:

    • Must be either:

      • "url" or

      • "b64_json".

output_format (string, optional)

  • Description: The file format for the output.

  • Validation:

    • Must be one of the following formats:

      • png, jpeg, webp.

📌 FLUX 1.1 PRO - Request Body Documentation

prompt (string, required)

  • Description: The main text prompt that influences the output generation.

  • Validation:

    • Must be a non-empty string.

image_prompt (string, optional)

  • Description: This is used to guide the generation.

  • Validation:

    • Must be a string (URL, Data URI, or base64 string).

aspect_ratio (string, optional)

  • Description: Defines the aspect ratio of the generated output.

  • Validation:

    • Must be one of the following:

      • "1:1",

      • "16:9",

      • "9:16",

      • "4:3",

      • "3:4",

response_format (string, optional)

  • Description: The format in which the response will be returned.

  • Validation:

    • Must be either:

      • "url" or

      • "b64_json".

output_format (string, optional)

  • Description: The file format for the output.

  • Validation:

    • Must be one of the following formats:

      • png, jpeg, webp.

📌 FLUX PRO - Request Body Documentation

prompt (string, required)

  • Description: A non-empty string that will act as the main prompt for the input.

  • Validation:

    • Must be defined.

    • Must be of type string.

    • Must not be an empty string (must contain at least one non-whitespace character).

image_prompt (string, optional)

  • Description: This is used to guide the generation.

  • Validation:

    • Must be a string (URL, Data URI, or base64 string).

steps (integer, optional)

  • Description: The number of steps involved in processing.

  • Validation:

    • Must be an integer.

    • Must be between 1 and 50, inclusive.

height (integer, optional)

  • Description: The height of an object, measured in pixels.

  • Validation:

    • Must be an integer.

    • Must be between 256 and 1440, inclusive.

    • Must be a multiple of 32.

width (integer, optional)

  • Description: The width of an object, measured in pixels.

  • Validation:

    • Must be an integer.

    • Must be between 256 and 1440, inclusive.

    • Must be a multiple of 32.

response_format (string, optional)

  • Description: Format in which the response should be returned.

  • Validation:

    • Must be either "url" or "b64_json".

output_format (string, optional)

  • Description: Specifies the output format of the image.

  • Validation:

    • Must be one of: "png", "jpeg", or "webp".

📌 FLUX - SCHNELL / DEV - Request Body Documentation

prompt (string, required)

  • Description: A non-empty string that will act as the main prompt for the input.

  • Validation:

    • Must be defined.

    • Must be of type string.

    • Must not be an empty string (must contain at least one non-whitespace character).

steps (integer, optional)

  • Description: The number of steps involved in processing.

  • Validation:

    • Must be an integer.

    • Must be between 1 and 50, inclusive.

height (integer, optional)

  • Description: The height of an object, measured in pixels.

  • Validation:

    • Must be an integer.

    • Must be between 256 and 1440, inclusive.

    • Must be a multiple of 32.

width (integer, optional)

  • Description: The width of an object, measured in pixels.

  • Validation:

    • Must be an integer.

    • Must be between 256 and 1440, inclusive.

    • Must be a multiple of 32.

response_format (string, optional)

  • Description: Format in which the response should be returned.

  • Validation:

    • Must be either "url" or "b64_json".

output_format (string, optional)

  • Description: Specifies the output format of the image.

  • Validation:

    • Must be one of: "png", "jpeg", or "webp".


🎨 FLUX Models

Model Name:
  • flux-2-pro

Discount:
  • 30% off

Price:
  • Per Run: $0.0105

  • Input Image: $0.0105 / Megapixel

  • Output Image: $0.0105 / Megapixel

Model Name:
  • flux-2-flex

Discount:
  • 30% off

Price:
  • Input Image: $0.042 / Megapixel

  • Output Image: $0.042 / Megapixel

Model Name:
  • flux-krea-dev

Discount:
  • 30% off

Price:
  • $0.0175 / Image

Model Name:
  • flux-kontext-max

Discount:
  • 30% off

Price:
  • $0.056 / Image

Model Name:
  • flux-kontext-pro

Discount:
  • 30% off

Price:
  • $0.028 / Image

Model Name:
  • flux-kontext-dev

Discount:
  • 30% off

Price:
  • $0.0175 / Image

Model Name:
  • flux-pro-canny

Discount:
  • 30% off

Price:
  • $0.035 / Image

Model Name:
  • flux-1.1-pro-ultra

Discount:
  • 30% off

Price:
  • $0.042 / Image

Model Name:
  • flux-1.1-pro

Discount:
  • 30% off

Price:
  • $0.028 / Image

Model Name:
  • flux-pro

Discount:
  • 30% off

Price:
  • $0.0385 / Image

Model Name:
  • flux-dev

Discount:
  • 70% off

Price:
  • $0.0075 / Image

Model Name:
  • flux-schnell

Discount:
  • 70% off

Price:
  • $0.0009 / Image

Last updated