CLI reference

obraz operations

obraz operations [--json]

Lists the steps an edit plan can hold: each step's op, its group (canvas, geometry, tone, effects, layers or model), whether it is billed, what it does and its fields. It reads the same table GET /v1/edits/operations answers and the editor's step list is built from, so the three never differ.

crop (geometry): keep one rectangle of the picture
  fields: x, y, width, height
remove_background (model, billed): keep the subject on a transparent background
  fields: model

With --json, one array of {op, group, billed, fields, does}. The command reads nothing and refuses nothing; an unknown flag exits 2.