GET
/v1/schemas/bfl/image/v1/flux-2-klein-9b
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source traceea458c661ef8b0e03d72ee6b29267451f5a04ae65f35e55ea8a87e53645ef670{
"fetchedAt": 1792645846,
"extractorVersion": "1",
"verifiedAt": null
} |
Request body
13 properties · 1 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text prompt for image generation. | |
| user | string | Opaque identifier for the end user supplied by the calling platform. | length ≥ 1 · length ≤ 256 · nullable |
| input_image | string | Path to the input image. | nullable |
| input_image_2 | string | Path to the second input image. | nullable |
| input_image_3 | string | Path to the third input image. | nullable |
| input_image_4 | string | Path to the fourth input image. | nullable |
| seed | integer | Optional seed for reproducibility. | nullable |
| width | integer | Width of the image | n ≥ 64 · nullable |
| height | integer | Height of the image | n ≥ 64 · nullable |
| safety_tolerance | integer | Harm moderation tolerance from 0 to 7, with 0 the strictest. The route and organization determine the approved maximum and per-category ceilings. Unapproved levels return 422 with approved levels. | 0 ≤ n ≤ 7 · default: 2 |
| output_format | enum | jpeg | png | webp · nullable | |
| webhook_url | string | URL to receive webhook notifications | length ≥ 1 · length ≤ 2083 · format: uri · nullable |
| webhook_secret | string | Optional secret for webhook signature verification | nullable |
Types
1 $defsOutputFormatenum
jpeg | png | webp
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"bfl","endpointId":"v1/flux-2-klein-9b","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}