curl --request POST \
--url https://api.bfl.ai/v1/flux-kontext-pro \
--header 'Content-Type: application/json' \
--header 'x-key: <api-key>' \
--data '{
"prompt": "ein fantastisches bild",
"input_image": "<string>",
"seed": 42,
"aspect_ratio": "<string>",
"output_format": "jpeg",
"webhook_url": "<string>",
"webhook_secret": "<string>",
"prompt_upsampling": false,
"safety_tolerance": 2
}'
{
"id": "<string>",
"polling_url": "<string>"
}
curl --request POST \
--url https://api.bfl.ai/v1/flux-kontext-pro \
--header 'Content-Type: application/json' \
--header 'x-key: <api-key>' \
--data '{
"prompt": "ein fantastisches bild",
"input_image": "<string>",
"seed": 42,
"aspect_ratio": "<string>",
"output_format": "jpeg",
"webhook_url": "<string>",
"webhook_secret": "<string>",
"prompt_upsampling": false,
"safety_tolerance": 2
}'
{
"id": "<string>",
"polling_url": "<string>"
}
Successful Response
The response is of type object
.
Was this page helpful?