Proof masked photo repairs with Stability AI and Box

Use a conservator’s damage mask to repair small background scratches and deliver the original, mask and reversible photo proof in Box.

32 stepsOperationsProductivity

Free to start, no card required.

How it works

  1. When this happens

    Receive the conservator’s decision

    Smartsheet

  2. Step 1 · Code

    Read the authorized treatment scope

  3. Step 2

    Check the source record

    Follows the first path that matches

    • Complete record

      1. Step 3 · Storage

        Read the retouch proof receipt

      2. Step 4 · Code

        Check for a saved repair patch

      3. Step 5

        Check the source record

        Follows the first path that matches

        • Complete record

          1. Step 6 · Box

            Check the conservators’ proof folder

          2. Step 7 · Code

            Verify the Box review destination

          3. Step 8 · Azure Blob Storage

            Check the original scan size

          4. Step 9 · Azure Blob Storage

            Check the damage mask size

          5. Step 10 · Code

            Bound the source files before download

          6. Step 11 · Azure Blob Storage

            Read the archival working scan

          7. Step 12 · Azure Blob Storage

            Read the conservator’s mask

          8. Step 13 · Files Helper

            Read the original PNG bytes

          9. Step 14 · Files Helper

            Read the approved mask bytes

          10. Step 15 · Code

            Verify the scan and small binary mask

          11. Step 16

            Check for an existing repair

            Follows the first path that matches

            • First repair proof

              1. Step 17 · Storage

                Reserve the approved retouch

              2. Step 18 · Stability AI

                Treat only the marked abrasions

              3. Step 19 · Code

                Verify the model returned a proof

              4. Step 20 · Files Helper

                Read the generated preview pixels

              5. Step 21 · Code

                Extract only the authorized pixels

              6. Step 22 · Storage

                Save the small reversible patch

            • Otherwise

              Nothing happens

          12. Step 23 · Storage

            Read the confirmed repair patch

          13. Step 24 · Code

            Build the before-and-after proof

          14. Step 25 · Box

            Find previous conservation proofs

          15. Step 26 · Code

            Compare the existing proof package

          16. Step 27

            Check the conservation queue

            Follows the first path that matches

            • New package

              1. Step 28 · Files Helper

                Prepare the proof package

              2. Step 29 · Box

                Deliver the proof to conservation

              3. Step 30 · Code

                Confirm the archived proof package

            • Otherwise

              Nothing happens

          17. Step 31 · Storage

            Record proof delivery

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Map the restricted Smartsheet treatment columns for decision, damage class, processing and proof permissions, accession, two Azure blob paths and both SHA-256 values. Set the private Azure container, separate scan and mask prefixes and Box review folder, and supply an 8-bit sRGB PNG working copy and same-size binary mask covering at most one percent. Use PROOF and BACKGROUND_ABRASION only after the conservator clears the marked area and both destinations.

Accounts to connect

See all 419 in Operations

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template