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 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
and1
.
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
orfalse
).
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)
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)
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)
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)
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)
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)
output_format
(string, optional)Description: Specifies the output format of the image.
Validation:
Must be one of:
"png"
,"jpeg"
, or"webp"
.
🎨 FLUX Models
Last updated