Stable Diffusion 3 - Core
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": "sd3-core",
"prompt": "A cute cat",
"negative_prompt": "..to not include specific elements."
"aspect_ratio": "1:1",
"style_preset": "pixel-art",
"response_format": "url",
"output_format": "webp"
}'
👉🏻 Request Body Documentation
prompt
(string, required)
prompt
(string, required)Description: What you wish to see in the output image. A strong, descriptive prompt that clearly defines elements, colors, and subjects will lead to better results.
Addtional Info: To control the weight of a given word use the format
(word:weight)
, whereword
is the word you'd like to control the weight of andweight
is a value between 0 and 1. For example:The sky was a crisp (blue:0.3) and (green:0.8)
would convey a sky that was blue and green, but more green than blue.
Validation Rules:
Must be a non-empty string.
Must not exceed 10,000 characters.
aspect_ratio
(string, optional)
aspect_ratio
(string, optional)Description: The aspect ratio for the output content.
Validation Rules:
Must be one of the following allowed aspect ratios:
16:9
,1:1
,21:9
,2:3
,3:2
,4:5
,5:4
,9:16
,9:21
.
seed
(integer, optional)
seed
(integer, optional)Description: A seed value used for deterministic image generation, influencing the outcome consistently across runs.
Validation Rules:
Must be an integer between 0 and 4294967294.
negative_prompt
(string, optional)
negative_prompt
(string, optional)Description: An optional input prompt used to guide the model on what to avoid during processing.
Validation Rules:
Must be a string.
Must not exceed 10,000 characters.
style_preset
(string, optional)
style_preset
(string, optional)Description: A preset style that will influence the output's artistic direction.
Validation Rules:
Must be one of the following styles:
3d-model
,analog-film
,anime
,cinematic
,comic-book
,digital-art
,enhance
,fantasy-art
,isometric
,line-art
,low-poly
,modeling-compound
,neon-punk
,origami
,photographic
,pixel-art
,tile-texture
.
response_format
(string, optional)
response_format
(string, optional)Description: The format in which the response will be delivered.
Validation Rules:
Must be either
"url"
or"b64_json"
.
output_format
(string, optional)
output_format
(string, optional)Description: The format for image generation.
Validation Rules:
Allowed values are:
"png"
,"jpeg"
, or"webp"
.
🏞️ Core Model:
sd3-core
70% off
$0.009 / Image
Last updated