Tags: utilitybatchresizescalebulkprocessing
Inputs (14)#
The typed parameter surface callers bind when they request this workflow. Enum options and numeric bounds are the values the workflow document declares.
input_imagesimage_batchrequiredresize_modeenumdefault fit_withinexact_dimensionsscale_percentagefit_withinfill_croplongest_edgeshortest_edgetarget_widthintegerdefault 1920target_heightintegerdefault 1080scale_percentageintegerdefault 50min 1max 400maintain_aspect_ratiobooleandefault trueupscale_methodenumdefault lanczoslanczosbicubicbilinearnearestdownscale_methodenumdefault arealanczosareabicubicbilinearbackground_colorstringdefault #FFFFFFcrop_positionenumdefault centercentertopbottomleftrighttop_lefttop_rightbottom_leftbottom_rightsharpen_after_resizebooleandefault falseoutput_formatenumdefault pngpngjpgwebpjpg_qualityintegerdefault 90min 50max 100webp_qualityintegerdefault 85min 50max 100ComfyUI node graph (5)#
The executable ComfyUI prompt graph: 5 nodes across 5 distinct node classes, wired by 6 data dependencies. Nodes tinted green come from a custom node pack this workflow declares; the rest are ComfyUI core / baked-community classes.
Nodes (5)#
1LoadImageBatchcustom packimages = {{input_images}} tmplIMAGE_BATCHFILENAMES2BatchResizeCalculatorcustom packimages = ◂ node 1 · out[0]mode = {{resize_mode}} tmpltarget_width = {{target_width}} tmpltarget_height = {{target_height}} tmplscale_percentage = {{scale_percentage}} tmplmaintain_aspect = {{maintain_aspect_ratio}} tmplDIMENSIONS_BATCH3BatchImageResizecustom packimages = ◂ node 1 · out[0]dimensions = ◂ node 2 · out[0]upscale_method = {{upscale_method}} tmpldownscale_method = {{downscale_method}} tmplmode = {{resize_mode}} tmplbackground_color = {{background_color}} tmplcrop_position = {{crop_position}} tmplIMAGE_BATCH4BatchSharpencustom packimages = ◂ node 3 · out[0]enabled = {{sharpen_after_resize}} tmplamount = 0.3radius = 1.0IMAGE_BATCH5SaveImageBatchcustom packimages = ◂ node 4 · out[0]filenames = ◂ node 1 · out[1]format = {{output_format}} tmpljpg_quality = {{jpg_quality}} tmplwebp_quality = {{webp_quality}} tmplfilename_prefix = resized_Parameter banks (2)#
The prompt / configuration lookup tables this workflow keys into from its inputs — the vocabulary that turns a style / palette / preset selection into graph parameters.
resize_mode_descriptions (6)#
exact_dimensionsResize to exact dimensions, may distort if aspect ratios differscale_percentageScale by percentage, maintains aspect ratiofit_withinFit within dimensions, add padding if neededfill_cropFill dimensions, crop excesslongest_edgeSet longest edge to target_width, scale proportionallyshortest_edgeSet shortest edge to target_height, scale proportionallypreset_configurations (4)#
web_optimized{"resize_mode": "longest_edge", "target_width": 1200, "output_format": "webp", "webp_quality": 80, "description": "Optimized for web display"}thumbnail{"resize_mode": "fill_crop", "target_width": 300, "target_height": 300, "output_format": "jpg", "jpg_quality": 85, "description": "Square thumbnails"}social_media{"resize_mode": "fit_within", "target_width": 1080, "target_height": 1080, "output_format": "jpg", "jpg_quality": 90, "description": "Social media friendly"}print_preview{"resize_mode": "longest_edge", "target_width": 2400, "output_format": "png", "sharpen_after_resize": true, "description": "Print preview quality"}Models & dependencies#
Custom node packs (5)#
The non-core ComfyUI node classes this graph requires; the RunPod worker image the workflow runs on must bake or install a pack that provides every one of them.
LoadImageBatchBatchResizeCalculatorBatchImageResizeBatchSharpenSaveImageBatchOutput contract#
What a successful run of this workflow returns.
typeimage_batchformatvariabledescriptionBatch of resized imagesTaxonomy & routing#
How the control plane classifies this workflow — from the committed workflow-taxonomy-registry.json. It drives the consistency / control surface the agentic director can exercise over the workflow.
assetFamilymkt-localization-variant-packoutputPackageProfilemarketing-campaign-profilecontrolModalitiescolor-script-lockmodel-lockprompt-template-locksampler-scheduler-lockseed-lockstyle-lockconsistencyDimensionscolor-scriptnotesAuto-mapped from utility defaults