Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
List saved presets with client.list_presets().
for preset in client.list_presets(): print(preset.key, preset.params)
client.list_presets(*, timeout=NOT_GIVEN) -> list[Preset]
preset.id # "4c2a91e0-…" preset.key # "thumb" preset.name # "Thumbnail" preset.params # {"width": 200, "height": 200, "fit": "cover", "format": "webp"}
key
delete_preset()
id
presets = {p.key: p for p in client.list_presets()} client.delete_preset(presets["thumb"].id)