cURL
curl --request POST \ --url https://api.bfl.ai/v1/flux-pro-1.0-expand \ --header 'Content-Type: application/json' \ --header 'x-key: <api-key>' \ --data '{ "image": "<string>", "top": 1024, "bottom": 1024, "left": 1024, "right": 1024, "prompt": "ein fantastisches bild", "steps": 50, "prompt_upsampling": true, "seed": 123, "guidance": 50.75, "output_format": "jpeg", "safety_tolerance": 2, "webhook_url": "<string>", "webhook_secret": "<string>" }'
{ "id": "<string>", "polling_url": "<string>" }
Submits an image expansion task that adds the specified number of pixels to any combination of sides (top, bottom, left, right) while maintaining context.
Successful Response
The response is of type object.
object
Was this page helpful?