https://api.hyprlab.io/v1
https://api.hyprlab.io/v1/images/generations
curl https://api.hyprlab.io/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $HYPRLAB_API_KEY" \
-d '{
"model": "seedream-3",
"prompt": "a cute cat",
"aspect_ratio": "16:9",
"size": "regular",
"guidance_scale": 2.5,
"response_format": "url",
"output_format": "png"
}'
👉🏻 SEEDEDIT - Request Body Documentation
prompt
(string, required)
Description: The main text prompt that influences the output generation.
Validation:
Must be a non-empty string.
image
(string, required)
Description: Image to use as reference.
Validation:
Must be a string (URL, Data URI, or base64 string).
guidance_scale
(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.
output_format
(string, optional)
Description: The file format for the output.
Validation:
Must be one of the following formats:
👉🏻 SEEDREAM - Request Body Documentation
prompt
(string, required
)
Description: Main text input to guide the generation process.
Validation Rules:
Must be a non-empty string.
Must not exceed 10,000 characters.
aspect_ratio
(string, optional
)
Description: Defines the aspect ratio of the output.
Validation Rules:
Must be one of the following valid aspect ratios:
size
(string, optional
)
Description: Images dimensions.
Validation Rules:
Must be one of the following valid aspect ratios:
guidance_scale
(number, optional
)
Description: Prompt adherence. Higher = more literal.
Validation Rules:
Must be between 1 and 10.
response_format
(string, optional
)
Description: Defines how the response data is formatted.
Validation Rules:
Must be either url
or b64_json
.
output_format
(string, optional
)
Description: Specifies the format of the output image.
Validation Rules:
Must be one of the following formats: