{
"prompt": "a cat",
"width": 1024,
"height": 768,
"steps": 40,
"prompt_upsampling": false,
"seed": 42,
"guidance": 2.5,
"safety_tolerance": 2,
"interval": 2,
"output_format": "jpeg",
"input_image":"data:image/png;base64,iVBORw0KGgoAAAxxxxxxxxxx"
}curl --location -g --request POST '{{URL}}/v1/flux-kontext-pro' \
--header 'Authorization: sk-xxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "a cat",
"width": 1024,
"height": 768,
"steps": 40,
"prompt_upsampling": false,
"seed": 42,
"guidance": 2.5,
"safety_tolerance": 2,
"interval": 2,
"output_format": "jpeg",
"input_image":"data:image/png;base64,iVBORw0KGgoAAAxxxxxxxxxx"
}'{
"id": "12d3fa12-cd7c-476a-97d1-aabfe577f554",
"polling_url": "https://api.us1.bfl.ai/v1/get_result?id=12d3fa12-cd7c-476a-97d1-aabfe577f554"
}