view.list_filters
Overview
- Returns the list of available screen post-process filters (Realistic, Cartoon, TiltedShift, BW2Color, X4Pixels, LensEffectA, Draw, GradientBand, LensEffectB) plus the currently active filter.
Metadata
| Field | Value |
|---|---|
| Display | List View Filters |
| Category | view |
| Access | Public |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
- This command takes no parameters.
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
current | string | yes | Currently active filter enum name |
filters | array | yes | Available screen filters |
filters[].id | string | yes | Filter enum name |
filters[].description | string | yes | Human-readable description |
Usage
await inzoi.cli.execute('view.list_filters');