{
"prompt": "ein fantastisches bild",
"width": 1024,
"height": 768,
"steps": 40,
"prompt_upsampling": false,
"seed": 42,
"guidance": 2.5,
"safety_tolerance": 2,
"interval": 2,
"output_format": "jpeg"
}
curl --location --request POST 'https://api.302.ai/flux/v1/' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "ein fantastisches bild",
"width": 1024,
"height": 768,
"steps": 40,
"prompt_upsampling": false,
"seed": 42,
"guidance": 2.5,
"safety_tolerance": 2,
"interval": 2,
"output_format": "jpeg"
}'
{
"images": [
{
"url": "string",
"width": 0,
"height": 0,
"content_type": "string"
}
],
"timings": {},
"seed": 0,
"has_nsfw_concepts": [
true
],
"prompt": "string"
}