Gerald LonlasandClaude Opus 4.8 b2785b5f2c feat(web): lock shape & dimensions to the image, hiding those form controls
When an image is connected, its aspect ratio and dimensions drive the output,
so the profile form's Shape controls (orientation + ratio) and the Width/Height
fields are now hidden — leaving only Profile Name, the resolution tier (which
still sets the pixel budget), and Steps. A short note explains the lock, and the
live preview drops the concrete WxH in favor of the megapixel budget + "matches
image ratio". Disconnecting the image restores the full form live via
onConnectionsChange.

Verified in ComfyUI 1.45.20: with the image linked the Shape section and
Width/Height collapse to display:none; disconnecting restores them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 01:32:04 +08:00
2026-03-05 19:34:04 +08:00

ComfyUI Image Profile Node

ComfyUI custom node for managing multiple reusable image profiles with custom resolution and step settings directly inside one node UI.

ComfyUI Image Profile Screenshot

Great helper for content creators who want to generate fast drafts at small image sizes first (faster generation), then switch to HD profiles once composition and prompt direction are validated.

This node is handy because it avoids complex workflow setup for multiple image configurations and avoids repeatedly keying in width, height, and steps by hand.

Node

  • Image Profile
    • Outputs:
      • Latent (LATENT)
      • Steps (INT)
    • Find it in the category: Latent/Profile
    • Create as much as image profile your want. Set size and set
    • Drag-and-drop reorder
    • Includes resolution presets plus custom WxH input

Default profiles

Node start with 4 presets (that you can delete)

  • Landscape Low resolution -> 404x204, 5 steps

  • Landscape High resolution -> 1152x864, 8 steps

  • Portrait Low resolution -> 204x404, 5 steps

  • Portrait High resolution -> 864x1152, 8 steps

How to install?

  1. Put this folder in ComfyUI/custom_nodes/comfyui-image-profile
  2. Restart ComfyUI
  3. Add node Image Profile from category Latent/Profile

References

S
Description
No description provided
Readme
442 KiB
Languages
JavaScript 61.6%
Python 38.4%