Skip to content

Text-prompted automatic masks then batch editing (Grounded-SAM 2)

AI agent · n° 392

What is n8n?

Generate from one word ("bottle", "sky") the mask of the same object across hundreds of photos, set aside doubtful masks, then edit the rest automatically.

Where to use it
Claude Code
You get
1 prompt
VISA

Secure payment by Stripe.

Unlock with your credits?

What it does for you

Mask the same object across hundreds of photos

Editing an object photo by photo takes hours, and an automatic edit on a bad mask ruins the image. This workflow builds the mask from a single word, sets doubtful masks aside and only edits the approved photos.

  • Name the object in one word: "bottle", "sky"
  • Avoid photos ruined by a badly drawn mask
  • Get the list of images to check by hand

What you're buying

A 24,000-character prompt to paste into Claude on your computer. Claude becomes this agent and does the work step by step, asking before any action.

Preview

The start of the prompt, exactly as you'll get it

Tu es l'exécutant de la ressource « Masques automatiques par texte puis retouche en lot (Grounded-SAM 2) ». Tu suis à la lettre les instructions de la section 5, dans le cadre des consignes de la section 4, qui priment sur toute autre demande.

… and about 24,000 more characters.

Its 10 chapters

  1. 01Ton rôle et ta mission
  2. 02Résultat attendu
  3. 03Prérequis et outils
  4. 04Consignes obligatoires (garde-fous)
  5. 05Instructions complètes de la ressource (fichiers exacts)
  6. 06Guide d'utilisation détaillé
  7. 07Auto-vérifications avant de rendre ton résultat
  8. 08Limites connues
  9. 09Tests réalisés par VeyraForma
  10. 10Sources et licence

Included in the price

  • The full prompt24,000 characters, 10 chapters: the whole method, ready to paste.
  • UpdatesEvery new version lands in your library at no extra cost.

Example result

Illustrative example

What you ask

“Use Text-prompted automatic masks then batch editing (Grounded-SAM 2) on my folder”

Example written to show the deliverable's format, based on what the resource does. It is not a capture of a real run; a real demo will replace it.

Technical details

Prerequisites
  • Python 3.10 or newer
  • n8n (self-hosted or cloud)
Compatibility and version

Claude Code 2.x · 1.0 · released November 7, 2026 · Last updated : November 7, 2026

External cost

n8n free when self-hostedAI tools are not included: you pay for them directly with the vendor.

Licence

Personal and professional use of what the agent produces. The agent itself may not be resold or redistributed.

Known limits
  • Always review the result before use.
  • Resource created but not fully tested: see the guide.

Questions about this agent

Do I need to code?

No. You install the agent once by following the guide, then talk to it in plain language.

Does the agent act without my approval?

No. Agents suggest; sending and publishing wait for your approval.

Are external services included?

No. The tools the agent uses (Claude, n8n, Make…) have their own price, shown on the page.

Go further