All clips
Cloud documents now take mask painting and Edit > Stroke: on prod, through the API, a 200 x 200 solid red PNG became a cloud document (rev_3). A reveal-all mask (set_mask_from_selection) moved it to rev_4. After selecting an 80 x 80 square, apply_edit fill with target mask in black was accepted (rev_5): the fetched render had 6,400 transparent pixels and 33,600 red. apply_edit stroke_selection, width 8, outside, blue, was accepted (rev_6): the render had 2,724 blue ring pixels, rgb(0, 51, 255), from x 52 to 59 on the middle row, and the 6,400 pixel hole stayed transparent. Before, the sequencer refused both with 422 not_yet_supported: "Painting a layer mask can't be done in a cloud document yet." (PR #1945) and "Edit > Stroke can't be used in a cloud document yet." (PR #1946). Only fill on a mask and stroke_selection were run on prod; mask paint_stroke and fill_gradient are covered by the PRs' tests. The named fill tool does not advertise target; the run used apply_edit
Cloud documents can paint masks and stroke selections.
- Photo editing
- 0:20
- November 2026
- Episode 404
- Cloud documents now take stroke_selection with target mask and set_grid_settings, live on prod (build 0cd0ec0c, train #2059; API run over /api/mcp on a throwaway cloud document). On a 240 x 160 solid raster with a Reveal All mask, stroke_selection (width 6, centred, black, target mask) over a 120 x 80 rect took (60,80) from 40,110,200,255 to 0,0,0,0: 2,380 pixels hidden, the other 36,000 pixels outside the band and inside the rect unchanged. After clear_mask the export was byte-identical to the source. set_grid_settings (32 px, 2 subdivisions, dashed) ran as a ready job at rev_7 and read back from the document graph, not refused. The before (422 not_yet_supported on both) is quoted from the PRs, not re-run (PR #2038, issue #2026; PR #2031, issue #1974)Cloud docs now stroke a selection onto a layer mask and save Grid Settings.
- A selection becomes the smart filter's maskSmart filter under a selection: 0 px change outside it. Mask off, delete, PSD round trip.
- Undo keeps the selection after Image SizeUndo and Redo of Image Size keep your selection. Invert mask reads as one History line.
- Cloud documents and the API/MCP now take set_mask_enabled (Shift-click disables a layer mask), live on prod (build 856f8476; PR #2078, contract step of #1982, expand step PR #2076; before: 422 not_yet_supported, "A layer mask can't be disabled or enabled in a cloud document yet."). On a throwaway cloud document (doc_38d2bf60-31c7-4bc6-8bd6-eac15f5aa1ef, 240 x 160 solid red raster layer, Reveal All mask, left half filled black), exported alpha: mask on 19,200 pixels at alpha 0 and 19,200 at 255; set_mask_enabled enabled:false accepted with no 422, 0 at alpha 0 and 38,400 at 255; enabled:true, 19,200 at alpha 0 again. Cloud documents now accept every op local documents do, with no rollout refusals leftCloud documents and agents can now disable a layer mask: the hidden half reads alpha 255.
Back to all clips