Schema panel
The Schema panel is generated from the selected model schema. The panel header shows these elements:| Element | What it shows |
|---|---|
Schema title | The schema section label |
| Field count badge | Total number of fields for the current model |
| Copy button | Copies the full schema JSON |
| Element | Example |
|---|---|
| Method badge | POST |
| Path | /v1/generate/image/bfl/flux-schnell |
| Required count | n required |
| Optional count | n optional |
| Row element | What it means |
|---|---|
| Field name | Actual request property name |
| Type badge | Field type such as string, number, boolean, or array |
required badge | The field must be present before sending |
| Description | Human-readable field explanation |
| Constraint row | min, max, default, and enum values when available |
Request Body panel
The Request Body panel uses the same current endpoint path and lets you edit the payload interactively. The header includes these actions:| Element | What it does |
|---|---|
Request Body title | Labels the form area |
| Method badge | Shows POST |
| Route badge | Shows /v1/generate/{model_type}/{model_identifier} |
| Copy button | Copies the current request JSON |
| Reset button | Resets all fields for the current model |
Field input behavior
The page renders form controls based on the field type.| Field type | UI behavior |
|---|---|
| String | Text input or textarea depending on the field |
| Number | Numeric text input with custom stepper buttons |
| Boolean | Toggle-style control |
| Enum | Select control with allowed values |
| Array URL field | Multi-row URL list with add and remove controls |
Validation rules used by the page
Before sending, the page validates the request body against the current model schema and additional safety rules.| Validation area | Rule |
|---|---|
| Allowed keys | Unknown keys are ignored and not sent |
| String length | Standard string fields are capped at 10,000 characters |
| Prompt length | generation_prompt is capped at 5,000 characters |
| Number values | Must be finite and stay within the field min and max when defined |
| Enum values | Must match one of the field enum values |
| URL fields | Must be valid public https:// URLs |
| URL arrays | Only valid public https:// URLs are kept |
| Array size | Array fields are capped by the field max or the page default max |
Model selector
The model selector is searchable and uses the actualmodel_identifier values available to the page.
The dropdown includes these behaviors:
| Behavior | What happens |
|---|---|
| Search input | Filters the visible model list as you type |
| Keyboard navigation | Supports ArrowDown, ArrowUp, Enter, and Escape |
| Vendor icon | Shows an inline vendor icon for supported model prefixes |
| Empty search state | Shows No models found. |