Custom NodebeginnerCustom Nodes

Image Resizer Node

Resize an image to target dimensions using Pillow. Supports aspect-ratio preservation and multiple resample filters (LANCZOS, BILINEAR, etc.). Outputs the saved path and final dimensions.

6 inputs · 3 outputsCustom Node · Pillow

Node Interface

Inputs

input_pathstring
output_pathstring
widthint
heightint
keep_aspectbool
resamplestring

Outputs

out_pathstring
out_widthint
out_heightint
Category:Imagenode_id: image_resizer

Tags

#images#resize#pillow#python#files

Source

website_examples/image_resizer.json

Production node definition (node_id, inputs, outputs, python_code)

Related Examples

Browse all →
asset_names
entity_type
task
Prism
published
failed
Node JSON

Prism Multi-Asset Publisher

intermediate

Batch-publish multiple assets to Prism Pipeline in a single execution: iterate over an asset name list, validate each entry, create versioned Prism products, and return published vs failed counts.

4 inputs·3 outputs·Prism
#prism#publishing#batch
geo_name
box_size
extrude_dist
Houdini
geo_path
display_sop
Node JSON

Houdini SOP Chain

intermediate

Create a Houdini geo container, clear defaults, wire a Box SOP into a PolyExtrude SOP, set all parameters, and cook the network — entirely over the live JSON-RPC bridge.

4 inputs·2 outputs·Houdini
#houdini#sop#geometry
api_key
model
prompt
AI
generated_text
token_count
Node JSON

LLM Text Generation

beginner

Send a prompt to a Gemini LLM endpoint with configurable system instruction, temperature, and max tokens. Returns generated text, token count, and a success flag.

6 inputs·3 outputs·AI
#ai#llm#gemini