Sign In

(PARTLY BROKEN, SEE NOTE) Prompt-Driven Detailer (Florence2+Sam2)

Download

1 variant available

Archive Other

4.04 MB

Verified:

Type

Workflows

Stats

300

Reviews

Published

Jun 25, 2025

Base Model

Illustrious

Hash

AutoV2
07584C343B

A simple workflow implementing Rdancer's Florence2+SAM2 automatic masking node to perform automatic, prompt-driven detailing. Arbitrary objects or body parts can be revised in one sweep, using one prompt, separating each target with commas.

Note that Florence2 and SAM2 both have to be loaded into RAM (although they can be loaded onto CPU at the obvious cost of speed), so users with RAM-bound setups should use caution.

NOTE: The Rdancer node has been defunct for a couple months now; it uses an old version of the Transformers library which has had breaking changes since this workflow was posted. You'll have to install Transformers 4.49.0 manually, by activating the ComfyUI environment and doing pip install transformers==4.49.0. Rolling back hasn't broken anything for me personally, but maybe back things up before you go futzing with the Python packages.