Models
Expand an image with FLUX.1 Expand [pro] by adding pixels on any side
Changed onSubmits an image expansion task that adds the specified number of pixels to any combination of sides (top, bottom, left, right) while maintaining context.
post/v1/flux-pro-1.0-expand
Request
- Base URLhttps://api.bfl.ai
- AuthAPI key in header x-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"prompt": "ein fantastisches bild",
"steps": 50,
"safety_tolerance": 2
}Response
Successful Response
Changes
- breaking
added the pattern
^[^\x00]*$to the request property/
- breaking
- info
added the new optional request property
- info