Models
Generate an image with FLUX.1 [dev]
Changed onSubmits an image generation task with FLUX.1 [dev].
post/v1/flux-dev
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": 28,
"seed": 42,
"guidance": 3,
"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