Presets

Get preset filter axes

Changed on

The metadata filter vocabulary, derived from stored presets. Returns a map of axis name to { value: count }, where the count is the number of presets that ?<axis>=<value> on GET /presets would return. Scope with type, since voices and styles have different axes. Auth is optional.

get/presets/filters

Request

  • Base URL: https://api.varg.ai/v2
  • URL: https://api.varg.ai/v2/presets/filters
  • Auth: one of:
    • none
    • HTTP bearer

Query parameters

typestring
Example:voice

Only derive axes from presets of this type.

Response

Filter axes and value counts

PresetFilters required

Map of metadata axis name to an object of value to preset count.

Changes