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-KONTEXT - Request Body Documentions

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 valid URI

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 PRO ULTRA - Request Body Documentions

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 valid URI

image_prompt_strength (number, optional)

  • Description: Blend between the prompt and the image_prompt.

  • Validation Rules:

    • 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",

      • "5:4",

      • "1:1",

      • "4:5",

      • "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 PRO - Request Body Documentions

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 valid URI

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-kontext-max

Discount:
  • 50% off

Price:
  • $0.04 / Image

Model Name:
  • flux-kontext-pro

Discount:
  • 50% off

Price:
  • $0.02 / Image

Model Name:
  • flux-pro-canny

Discount:
  • 50% off

Price:
  • $0.025 / Image

Model Name:
  • flux-1.1-pro-ultra

Discount:
  • 50% off

Price:
  • $0.03 / Image

Model Name:
  • flux-1.1-pro

Discount:
  • 50% off

Price:
  • $0.02 / Image

Model Name:
  • flux-pro

Discount:
  • 50% off

Price:
  • $0.0275 / 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