PH-CU-S

EN | RU

Buy License

Get a license key instantly after paying by card. 1 year of technical support included.

Key is saved permanently, used for all future updates. 1 year of technical support is included in this English version of the license.

Download latest version

Enter your license key to get the latest version.

Latest version: PH-CU-S_3.61.00

3.61.00

Added

  • Added Output Mode selector under the Run button with three modes: Photoshop, Folder, and All.
  • Added FOLDER button next to output mode selector to open the destination output folder. It allows quick browsing of all batch generations to pick the desired prompt or seed. The filename contains all key details:
  • F2-Klein 5-2 s-4035056786.png
  • F2-Klein - workflow
  • 5-2 - 5th slot, 2nd prompt
  • s-4035056786 - seed: 4035056786
  • Output Settings section in the Config tab:
  • Option to toggle the visibility of the output mode selector (SHOW_OUTPUT_MODE).
  • Output folder save options: option to create subfolders by current date or save to the main folder - configured in the plugin config (OUTPUT_FOLDER_DATE) - requires Photoshop restart.
  • Updated installer (`Install.bat`) to automatically create the root `OUTPUT` folder and configure ComfyUI launch scripts (`start_comfyui_auto.bat` etc.) to direct default outputs there.

3.60.53

Added

  • Added custom nodes debug logging control: new configuration option `DEBUG_NODES` in `config.txt` and `config_net.txt` to enable or disable debug logging (`debug_nodes.log`) for custom nodes.
  • Added debug nodes status indicator in the Config tab.
  • Prompts download link below Workflows on the download page.
  • Allowed `/downloads/<filename>` route in Flask backend to serve prompt packages in addition to workflows.

Fixed

  • Fixed command/argument parsing and shell syntax errors in prompt packaging and metadata upload scripts when filenames contain parenthesis.

3.60.52

Fixed

  • Fixed `client_id` injection bug in custom workflow nodes. The plugin now always updates `client_id` (even if empty) to clear any stale or hardcoded HWIDs inside the loaded JSON workflow, resolving execution errors on extra images and final result retrieval in 'Test workflow' mode.

3.60.51

Added

  • Added 'Test workflow' toggle button in the Tools tab (next to ComfyUI Server URL header). When active (default), the plugin bypasses the HWID suffix for all files stored in the exchange folder, allowing direct GUI workflow runs and debugging inside the ComfyUI browser.
  • Added new `TEST_WORKFLOW` configuration parameter to `config.txt` and `config_net.txt` to control the default state of the toggle.
  • Added localization support for the "Test workflow" button label (`lbl_test_workflow`) in all 8 supported languages.

3.60.50

Fixed

  • Fixed batch color drift (custom nodes): fixed issue where the previous generation's output was sent as the input image on subsequent iterations of a batch generation (AUTO / batch mode). The plugin now correctly skips exporting/overwriting the canvas, mask, extra images, and zoom resolution files on batch continuation iterations when using custom nodes (`PHCUSInput`/`PHCUSOutput`), ensuring the original image and settings are preserved.

3.60.49

Added

  • Dynamic active prompt slot indicator: added a small colored circle indicator in the prompts section, dynamically matching the active tab's color.

Fixed

  • Fixed installer syntax error: corrected the `... was unexpected at this time` error in the installation script (`2_Install.bat`) caused by unescaped parentheses in command-line prompts.
  • Removed redundant `mkdirSync` calls during prompts export to avoid permission errors (`EACCES`) in the UXP sandbox.

3.60.48

Added

  • New parameter `EXPORT_PROMPTS_DIR` in `config.txt` to specify custom path for prompts export (default: `Z:\Prompts`).
  • New parameter `SHOW_PROMPT_SET_NAMES` in `config.txt`. When enabled (`true`), tab names are displayed on buttons with a compact white font (height `12px`) without borders. When disabled (default), tabs remain thin empty color strips (height `10px`).
  • Support for custom prompt set tab names in `prompt_slots.json`. Custom tab names are now preserved and loaded across plugin sessions.

3.60.47

Fixed

  • Fixed Prompts export file saving path: The exporter now saves the exported file at `<PS_INPUTS_DIR>\<HWID>_export_prompts.txt` directly inside the exchange folder (avoiding folder creation issues), ensuring full write permissions in Photoshop UXP.

3.60.46

Added

  • Added prompts export function: new button `30▲` in Prompts header exports all 30 slots (skipping empty ones) in standard text format to `<PS_INPUTS_DIR>\Prompts\<HWID>_export.txt`.
  • Redesigned the 5 prompt set tabs (color tabs) to display indices and names, e.g. `1 (Pink)`, `2 (Green)`, with custom background and text styling for better readability and contrast.

3.60.45

Fixed

  • Fixed layer positioning shift in normal (non-zoom-expand) mode where the placed layer shifted relative to the selection/viewport. The plugin now uses a two-step Free Transform (scaling first, then translating by measured offsets using the Move command) to guarantee exact coordinate alignment.

3.60.44

Fixed

  • Fixed layer positioning misalignment when using irregular selections (e.g. from the Selection brush tool) combined with context padding ("Add to content"). The plugin now rounds selection coordinates to integers immediately on retrieval and temporarily clears Photoshop's active selection before placing the generated image, ensuring clean, deterministic Free Transform scaling and center-aligned positioning relative to the padded bounds.

3.60.43

Fixed

  • Fixed render dimensions display: the UI size label now shows the actual dimensions sent to ComfyUI (incorporating grid snapping and context padding) instead of the raw Photoshop selection bounds.

3.60.42

Added

  • Added loop button (`∞`) next to `AUTO` in prompt slots section (both Simple and Full tabs) to transition to the next prompt set (color tab) once iteration goes past slot 6 in AUTO mode.
  • Redesigned generated layer naming to a flat format without parentheses, including color set and prompt slot indices (e.g., `F2-Klein 1:3 16.6s s:1308611269`).

3.60.41

Added

  • Enhanced the prompt import functionality:
  • Duplicated the import button into two separate options: `6▼` (imports up to 6 prompts into the active set) and `30▼` (sequentially fills all 30 slots across all 5 sets).
  • Empty or whitespace-only lines are now automatically skipped during import.
  • Added support for negative prompts (`N:`) and descriptions (`D:`) associated with the prompts inside the text file.
  • If the file contains fewer prompts than the slots capacity, the import stops immediately, leaving the remaining slots untouched.
  • Optimized sequential batch generation (AUTO mode):
  • If the user manually overrides the batch count to a value less than 6, it respects the value and generates only that number of iterations.
  • When batch size is less than 6, the generation starts sequentially from the currently active/selected prompt slot in the color tab instead of starting from slot 1.

3.60.40

Added

  • Redesigned the "Prompts" block header layout in Zoom-style (block title on the left, control buttons on the right in a flex row).
  • Renamed the block "Save & Load Prompts" to "Prompts".
  • Added a file load button `▼` to quickly import 6 newline-separated prompts from a `.txt` file into the active color set slots.
  • Added an `AUTO` toggle button in the header row. When active, it automatically sets the batch count to 6 and sequentially runs through prompt slots 1 to 6 (indices 0 to 5) of the active color set for each generation in the batch.
  • Ensured immediate DOM redraws of the `AUTO` button state and slots when toggled without requiring a Photoshop restart.

3.60.39

Fixed

  • Fixed subpixel shifts and image misalignment when generating with selection mask without snapping selection beforehand. The plugin now temporarily clears Photoshop's active selection prior to placing the generated image to prevent Photoshop's `placeEvent` from auto-scaling/fitting it, and then scales and moves the layer to the precise target coordinates using explicit transform and move actions.

3.60.38

Fixed

  • During batch processing (Batch) with custom nodes (`PHCUSInput`/`PHCUSOutput`), the original canvas and mask are now only exported on the first iteration. Subsequent iterations will skip overwriting these files, preventing color drift issues from placed Photoshop layers.

3.60.37

Added

  • Merged separate "Uncrop" and "Crop" blocks into a single unified "Crop & Uncrop" block.
  • Redesigned directional arrows layout: Up/Down arrows column width increased to 32px (double size).
  • Set Crop and Uncrop inputs' CSS width to 40px and maximum input character length to 4.
  • Added localization for elements (Add bleed, Crop & Uncrop title, Crop/Uncrop buttons, and Millimeters | Inches | Pixels switchers) across all 8 supported languages.

3.60.36

Added

  • Added dynamic interactive unit switchers (mm | in | pix) to the "Add bleed" and "Add guide" UI blocks, with green highlights for the selected unit, and 5px spacing between control buttons and switchers.
  • Added automatic persistence of unit selections in local storage, falling back to config.txt defaults if no selection is made.

3.60.35

Added

  • For installation profile [5] "Photoshop Plugin Only (Remote Client)", added automatic renaming of `config_net.txt` to `config.txt` inside the plugin directory (pre-configured with drive "O" and disabled ComfyUI autostart).

Fixed

  • Fixed downloading/loading of generated images on remote clients. The plugin now reads the output image directly from the shared exchange folder (`result.png`), preventing conflict with any local ComfyUI server instance and avoiding cached/random image loading. Added robust support for reading local `file://` URLs using Node `fs` and UXP `storage` API.

3.60.33

Fixed

  • Fixed network setup scripts (`start_25H2_v2.bat` and `stop_25H2_v2.bat`) to fix relative path administrative elevation failure (replaced `%0` with absolute `%~f0`), resolved Windows 10 mapped network drive O: access issues by enabling `EnableLinkedConnections` in registry, and duplicated the SMB drive mount in the Administrator logon session.

3.60.32

Added

  • Added a new installation profile [5] "Photoshop Plugin Only (Remote Client)" inside the installer (`2_Install.bat`). This profile deploys only the Photoshop UXP plugin files, skipping ComfyUI unpacking and large model downloads—ideal for users connecting to a remote ComfyUI server.

3.60.31

Added

  • Added the `REMEMBER_BATCH` parameter in `config.txt` (default `false`). When the plugin restarts, the Batch generations count is now always reset to 1 to prevent accidental heavy generation runs if the user forgot to clear the input.

3.60.30

Added

  • Created a complete cleanup utility script `5_uninstall_and_activation_plugin.bat` (removes the plugin from Photoshop, deletes nodes from ComfyUI, removes activation files, and generates a report).
  • Added automatic network guest sharing access configuration in the setup script.

Fixed

  • Fixed automatic plugin activation issues and license key copying errors on fresh system drives.

3.60.28

Added

  • Rewrote the Photoshop UXP license backup and restore mechanism using native `storage.localFileSystem` APIs. This saves and loads `.license_state` from the home profile (`~/.ph-cu-s/`), bypassing Node `fs` sandbox limitations on macOS and Windows UXP.
  • Added automatic license recovery to the installer (`2_Install.bat`) during clean installation.
  • Added macOS restoration shell script `4_ComfyUI-restore-key.sh` for manual backup and recovery.

3.60.22

Added

  • Added default `prompt_slots.json` template and utility scripts `prompt_slots.bat` / `prompt_slots.sh` (for Windows and macOS) to easily reset/overwrite prompt slot values in local Photoshop UXP storage.

3.60.20

Fixed

  • Fixed critical startup crashes when the plugin is installed on a network or virtual drive (`X:`), resolving issues caused by synchronous Node.js `fs` operations in the UXP sandbox.
  • Wrapped all data migrations, licensing checks, and filesystem operations in safe try-catch blocks to guarantee reliable initialization.

PH-CU-S

Work with Photoshop's familiar toolset — layers, selections, masks — while generation is performed by ComfyUI, running locally or remotely.

About the plugin

PH-CU-S is a panel for Adobe Photoshop (UXP plugin) that turns ComfyUI into an image generation engine within your Photoshop workflow.

The plugin sends the current canvas (or active selection), prompt and parameters to ComfyUI, runs a selected workflow and returns the result back to Photoshop as a new layer.

Main capabilities

License & Activation (Up to 3 Devices)

Each license key allows you to bind the plugin to 3 independent computers (devices) simultaneously. A maximum of 15 lifetime activations (device registrations) is allowed per license.

How does it work?

  • Automatic Activation: Your license key is embedded into the archive when you download the plugin from the site. Upon the first launch in Photoshop, it automatically generates a hardware identifier (HWID) and registers your computer.
  • Device Management: If you reach the 3-device limit and want to install the plugin on a new computer, you must unlink an old device. You can do this by visiting the Manage Devices page. Please note that each license key supports a lifetime limit of 15 total activations.
  • Local Cache: After a successful activation, the license status is cached locally, allowing the plugin to launch instantly without any network delays.

Interface features

Full tab

Complete control with all available settings:

  • Prompt and Negative Prompt input
  • Fixed Seed or random seed
  • 30 slots for storing prompts
  • Workflow list with nested folders
  • Selection alignment to model multiples (FLUX 64, Qwen 112, Personal)
  • Add to content (+ to selection for better model understanding)
  • Custom Step & CFG parameters
  • Progress and status in real time
  • Loading up to 3 additional images

Simple tab

Minimal mode for quick workflows:

  • Prompt input
  • Negative prompt
  • Workflow selection
  • Run button

Ideal for quick work when advanced settings are not required.

Can be fully changed, add / remove any tabs (in settings)

Config tab

Connection settings and history management:

  • Workflow folder configuration
  • ComfyUI server URL settings
  • Saved prompts history (ON/OFF)
  • All runs history (ON/OFF)
  • History export (TXT & HTML)

Additional features

  • Automatic history cleanup (configurable)
  • Connection status indicator
  • Generation progress in real time
  • Seed tracking and display
  • Generation statistics

Installation and setup

System requirements

  • Adobe Photoshop 2025 (26.00) and above
  • ComfyUI with installed custom node ComfyUI_PH-CU-S
  • Common exchange folder accessible to both plugin and ComfyUI
  • Minimum recommended hardware: NVIDIA RTX 3060 (6GB VRAM), 32GB RAM minimum, from 30GB for files (preferably SSD)

📋 Manual installation

1. Unzip the archive

2. Photoshop plugin installation. Copy PH-CU-S folder to "C:\Program Files\Adobe\Adobe Photoshop <Version>\Plug-ins\PH-CU-S" (depends on Photoshop version), then open panel: Window → Extensions → PH-CU-S

3. ComfyUI custom node installation. Copy ComfyUI_PH-CU-S folder to ComfyUI/custom_nodes/, launch ComfyUI — nodes appear in category PH-CU-S

4. Copy Workflow to ComfyUI. Copy Photoshop folder into ComfyUI\user\default\workflows\Photoshop, reload browser, photoshop folder visible in workflow.

5. Check Workflow in ComfyUI. Launch Workflows you plan to work with, fix all "red" errors, connect models if needed — once the process works properly, you can launch it from plugin in Photoshop.

6. Configuration. File config.txt on first launch is copied from plugin folder depending on Photoshop version and username: %AppData%\Adobe\UXP\PluginsStorage\PHSP\<Version>\External\com.ph-cu-s\PluginData To change: Tools → Edit config.txt

  • WORKFLOWS_FOLDER - path to folder with .json workflows
  • PS_INPUTS_DIR - path to exchange folder (shared with ComfyUI)
  • COMFYUI_URL - server address (default: http://localhost:8188)

🤖 Automatic installation

1. Unzip archive contents to root of drive where ComfyUI will be installed. Preferably SSD, minimum size including Flux 2 klein model - about 30 GB. If drive name is Z:\, path to unzipped folder will be: Z:\PH-CU-S_install

2. In folder Z:\PH-CU-S_install launch 1_ComfyUI-Easy-Install.bat - wait for installation completion.

3. In the Z:\PH-CU-S_install folder, launch 2_Install.bat. Choose 1. for the minimal installation of Flux 2 Klein models, or 2. if you plan to also install Qwen Image Edit 2511. The models will download and be placed in the correct paths automatically, except for the flux-2-klein-9b-nvfp4.safetensors model. You must download it manually via your browser and accept the license. After downloading, run 2_Install.bat again, choose 1., and the model will be copied to the target directory automatically. The link to this model will be displayed at the end of the installation process (in green). Wait for the installation to complete.

4. If you want to install Qwen Image Edit 2511 after Flux 2 Klein install or during download if the install process was interrupted - run 2_Install.bat again and choose 2 (or 1 if you need to continue). Models already downloaded will be skipped, models not fully downloaded will be re-downloaded and placed at correct paths automatically. Wait for installation completion.
During install a folder "downloads_temp" is created on drive root. Script checks if model already exists there and uses it from there. Also checks system "downloads" folder - if model was downloaded via browser, script copies model from "downloads".

5. config.txt file will be changed automatically, you can open Photoshop, then open panel: Window → Extensions → PH-CU-S

Detailed interface description

Adaptation to Photoshop color scheme

Plugin element colors change together with Photoshop color scheme changes

Prompt and Negative Prompt

Text areas for your AI prompts. Sent directly to ComfyUI via prompt.txt and negative.txt files.

Fixed Seed / Random seed

Seed behavior control:

  • Fixed: Use specific seed value for reproducible results
  • Random: ComfyUI generates new seed each run
  • Actual used seed displayed after generation completes

Additional image support

Upload up to 3 additional images for:

  • Inpainting workflows
  • Image-to-image generation
  • Multi-input image scenarios

Images saved as extra1.png, extra2.png, extra3.png to exchange folder. By default active mode is resize and convert when exceeding 1 megapixel (button "↓1Mp" - green). If button pressed ("↓1Mp" - red), additional images will be sent to workflow unchanged.

Output Mode Selection (Where generation goes)

Under the Run button, there is an output mode selector with three options, allowing you to configure where generation results are stored:

  • Photoshop: The result is returned directly to the Photoshop canvas as a new layer (convenient for fast editing and compositing).
  • Folder: Images are saved as files into the local Output directory on your drive.
  • All: The result is both returned as a new layer in Photoshop and saved as a file in the Output directory.

Next to the selector is the FOLDER button, which instantly opens the target output folder on your computer. This is extremely useful for quickly browsing generation results after a batch run to find the best option.

The filenames of saved results contain full generation parameter details, for example, F2-Klein 5-2 s-4035056786.png:

  • F2-Klein — name of the ComfyUI workflow used.
  • 5-2 — slot color set (5) and slot number (2) from which the generation was triggered.
  • s-4035056786 — seed value used for generation.

Prompt Slots (Slots, Import & AUTO Mode)

5 color sections, 6 numbered slots for parameter presets, with fast file loading, loop mode, and batch generation options:

  • Loading mode (default): Loads saved set with all parameters (prompts, seed, etc.)
  • Saving mode: Saves current settings to slot (buttons highlight red)
  • Import Prompts: Fast loading of prompts from a .txt file:
    • Button 6▼ — imports up to 6 prompts into the active color set (slots 1–6).
    • Button 30▼ — sequentially populates all 30 slots across all 5 color sets (colors 1-5, slots 1-6).
    • If the file has fewer prompts, loading stops, leaving the remaining slots untouched.
    • If a prompt line is followed by a line starting with N: text, it will be loaded into the negative prompt field. If followed by D: text, it will be loaded into the slot description field.
    • Lines starting with # are treated as comments and skipped.
  • AUTO Mode: Toggles batch generation through all slots. When enabled, it sets the Batch count to 6, and during batch generation sequentially runs through prompts from slots 1 to 6 for each iteration. If you manually set a smaller batch count (e.g. 3), the batch will start from the currently selected prompt slot and iterate sequentially (e.g. slots 3 and 4, if slot 3 is selected).
  • Loop Mode (): Located to the right of the AUTO button. When enabled, if generation is started at a slot (e.g. slot 5 in the pink set) and the total generation count (batch size) exceeds the remaining slots in that set, the generation seamlessly transitions to the next color set (e.g. green slot 1, 2, 3, etc.) instead of stopping or wrapping around within the same set.
  • Automatically restored when plugin launches
  • Customizable colors in settings - PROMPT_SET_COLORS=#ffb0b0,#388e3c,#1565c0,#f9a825,#7b1fa2

Snap to Grid

Automatic size alignment for different models:

  • FLUX x64: Sizes rounded to 64px (for FLUX models, can change in settings - sm_flux = 64)
  • Qwen x112: Sizes rounded to 112px (for Qwen models, can change in settings - sm_qwen = 112)
  • Personal x8: Sizes rounded to 8px (configurable any size - sm_personal = 8)
  • Auto-selected based on workflow name for Flux and Qwen
  • Selection brush tool: When selecting with this tool, context padding is automatically added on export to reach a size that is a multiple of the value specified in SNAP.

Workflows

When plugin loads, folder <ComfyUI>\user\<User>\workflows\Photoshop is scanned. All nested folders at 1 level are added to plugin interface. If you change workflows during work, add new ones or modify and save existing - you can re-scan the folder by pressing "↻ Update Workflows". Several workflows supplied with plugin:

  • Base - all Workflow for working with selected area. If no selection, you will see error when launching. Number of steps in name - more = better quality. For Flux 2 klein usually 8 steps is enough. For Qwen 2511 - 4 and 8 steps using Qwen-Image-Edit-2511-Lightning-4 (8)steps-V1.0-bf16.safetensors, usually this is enough. If you need to increase quality - choose CUSTOM step / CFG and configure your parameters.
  • Canvas - workflows for working with entire artboard. Entire artboard sent to workflow. Numbers mean what is transferred, e.g. "F2-Klein 1+1" - 1+1 - for processing artboard + can connect 1 additional image. "Qwen 0+3" - artboard not transferred, work only with 3 loaded images (can load fewer - 1 or 2). "F2-Klein Restore&Colorise" - prompt needed here as it built into workflow. "Qwen 1+2" - artboard transferred + up to 2 loaded images
  • Txt-Img - Image generation from text prompt.
  • Zoom - Image enlargement. Connected scheme with fast upscale model. By default configured for minimum configuration. If you have 10-12 Vram or modern card (tested on 5060 / VRAM) - try changing SeedVR2_up_to 4096.json in GUI ComfyUI and select bigger model (e.g. seedvr2_ema_7b_fp8_e4m3fn_mixed_block35_fp16.safetensors). How enlargement works: to enlarge document size along with selected size press "Expand" button. If not pressed, process completes and image is enlarged but fits into current document. Zoom in by double-click to see real size.
    If your scheme has enlargement - e.g. as in "Qwen 2512 + Upscale", for Photoshop document enlargement need to press "Expand" button in "Zoom" block.
  • Note #1 - If your scheme has enlargement - e.g. as in "Qwen 2512 + Upscale", for Photoshop document enlargement need to press "Expand" button in "Zoom" block.
  • Note #2 - Button "↑1 Mp" in "Zoom" block - enlarges selection to 1 megapixel. Needed when selection is very small and some models start distorting image heavily. Enlargement can be built into workflow or press this button.
  • Note #3 When exceeding configured image size (MAX_IMAGE_MP=4), warning appears during generation send. If agree - image sent unchanged to ComfyUI, and for sizes above 4 megapixels possible slowdown and sometimes hanging. This block offers reducing image to 2/3/4 megapixels. Green buttons - with step from Snap menu (64 for Flux, 112 for Qwen). Blue - without step binding.

Guide

Adds guides with selected step from selection. Parameter configurable: GUIDE_PRESETS=100,200,300,500

Add to content

Block for expanding selection area before sending to ComfyUI. Adds padding around selection — useful for inpainting tasks when model needs additional context around edited area.

  • Input field - padding values in pixels in `top/right/bottom/left` format (or shortened: one value for all sides, two — top-bottom and left-right).
  • Preset buttons (default: 64, 128, 256, 112, 224, 336 px) — press sets equal padding from all sides.
  • Custom Step & CFG

    Send custom parameters to workflow nodes:

    • Custom Step: Integer (up to 4 digits)
    • CFG: Guidance scale (up to 2 decimal places)

    Tools Tab

    Language

    Interface translation into 8 languages: English, Spanish, Japanese, German, Chinese, Portuguese, French, Russian.

    • Save — save and apply the language selection.

    Workflow folder

    Displays the current path to the JSON workflow folder (configured in config.txt). The path can be edited directly in the input field — the list of workflows reloads automatically upon change. Use the ↻ Update Workflows button to refresh the list manually.

    ComfyUI Server URL

    Field for entering the ComfyUI server address (default is http://localhost:8188). Buttons:

    • TEST — checks server availability (5-second timeout).
    • SAVE — saves the URL to ui_prefs.json to restore the connection configuration on the next launch.

    Saved prompts history

    Each time a prompt is saved to a slot, a log entry is added to prompts_old.txt. Buttons:

    • Open .txt — opens the log file in your system text editor.
    • Open .html — generates and opens a readable, well-formatted HTML version of the history log.

    The ON / OFF status shows whether prompt logging is enabled (managed by the SAVE_PROMPTS_HISTORY parameter in config.txt). File opening behavior is controlled by OPEN_LOGS_METHOD (options: auto, mac, or pc).

    All prompts history

    Every generation run is automatically logged in all_prompts.txt. The same Open .txt and Open .html buttons are available for viewing. History recording can be turned ON / OFF using the SAVE_ALL_PROMPTS parameter in config.txt.

    Clear all prompts

    The 🗑 Clear all prompts button completely clears both history files (all_prompts.txt and prompts_old.txt) and resets all 30 prompt slots in the plugin. Confirmation is required before execution.

    View images (Canvas / Mask)

    Displays thumbnails of the most recently sent files from the active exchange directory:

    • Canvas — thumbnail of canvas.png (the canvas image sent to ComfyUI on the last run).
    • Mask — thumbnail of mask.png (the selection mask, if it was used).

    Actual dimensions in pixels and size in megapixels (Mp) are displayed below each thumbnail. The button refreshes the preview manually.

    Add bleed

    Expands the document canvas size uniformly on all sides by the specified value.

    • Unit Selection: You can select the active unit system — Millimeters, Inches, or Pixels — directly in the UI. Switching units automatically recalculates dimensions and updates preset button values.
    • Active Document Dimensions Button: Displays the current width and height of the active document. If document dimensions change but do not refresh automatically in the plugin panel, click this button to force-read and update the canvas size (flashes green upon success).
    • Preset Buttons: Clicking a preset button instantly applies the canvas expansion.

    The default unit of measurement and presets are defined in config.txt via the BLEED_UNIT (values: mm / inches / pixel) and BLEED_PRESETS parameters (e.g. 2,3,5,-2,-3,-5, where negative values shrink/crop the canvas).

    Crop & Uncrop

    Allows you to precisely crop (shrink) or uncrop (expand) the document canvas along selected edges.

    • Unit Selection: You can switch active units between Millimeters, Inches, and Pixels directly within the block control.
    • Resize Directions: Four direction buttons (Up, Down, Left, Right arrows) let you specify which edges of the document canvas should be cropped or expanded. You can select multiple directions at once.
    • Uncrop: Expands the canvas in the selected directions by the value specified in the input field.
    • Crop: Shrinks the canvas (crops the image) from the selected sides by the specified value.

    Default settings are configured in config.txt via the UNCROP_CROP_UNIT parameter (falls back to BLEED_UNIT if not defined).

    Guides for bleed

    Automatically places helper guides relative to document edges to assist with layout alignment, trim margins, and safe areas.

    • Unit Selection: Switch active offset units between Millimeters, Inches, and Pixels dynamically in the UI.
    • Preset Buttons: Each button sets a pair of guides inner+outer (e.g. 3+7 draws an inner guide at 3 units and an outer guide at 7 units from the document edge). If the outer value is 0, only one guide is created per side.
    • Center canvas — places vertical and horizontal guides directly through the center axes of the canvas.
    • Center select — places guides crossing exactly through the center of the active selection area.
    • Clear — instantly clears all guides in the current document.

    The default unit of measurement and presets are configured in config.txt via the ADD_GUIDE_UNIT and ADD_GUIDE_PRESETS parameters (by default: mm, presets 3+7 / 2+5 / 2+0).

    Integration with ComfyUI

    How it works (data flow)

    1. Select canvas or area in Photoshop
    2. Enter prompt and configure parameters
    3. Press "Run Workflow"
    4. Plugin saves canvas and parameters to exchange folder
    5. ComfyUI processes workflow
    6. Result returned as new Photoshop layer

    Custom ComfyUI nodes

    PH-CU-S Input

    Reads all input data from exchange folder: canvas, mask, prompts, seed, parameters, image sizes, 3 additional images

    PH-CU-S Save Seed

    Accepts seed, writes to exchange folder, passes value forward. Returns actual used seed back to plugin.

    PH-CU-S Output

    Extends SaveImage. Saves result and sends HTTP notification to plugin on completion.

    History and auto-cleanup

    Automatic history management:

    • Prompts saved to slots logged in prompts_old.txt
    • All generation runs logged in all_prompts.txt
    • Automatic cleanup on plugin launch (configurable storage days)
    • History export as .txt or .html

    Frequently asked questions

    Works with all Photoshop versions?

    Yes, compatible with Photoshop 2025 (26.00) and newer. Early versions may not work due to UXP API restrictions.

    Is it subscription or one-time purchase?

    One-time purchase. No subscriptions, no recurring payments, no functionality restrictions over time.

    Can use remote ComfyUI server?

    Yes! Settings in config.txt file. Supports local servers.

    What AI models supported?

    Works with any ComfyUI workflow: FLUX.2, Qwen, Flux 2 Klein, Stable Diffusion and custom models. No model restrictions.

    Need GPU for Photoshop plugin?

    No. GPU required only for machine running ComfyUI models. Photoshop plugin works on any system.

    What about image privacy?

    Images exchanged via local folder. Use local ComfyUI server for maximum privacy or configure secure network setup.

    Ready to improve your workflow?

    Join thousands of creatives using AI in Photoshop.