Terminal
Terminal/Skill
Turns several local photos into one polaroid style stack collage image, saved to a path you choose, using the Transloadit CLI.
By Transloadit
Works with
npx skills add transloadit/skills --skill transform-build-polaroid-collage-with-transloaditcollage.png in the current working directory--width, --height), default 1920×1200--seed for deterministic layoutResolve credentials in this order:
.env only~/.transloadit/credentialsIf your .env lives in a parent directory, export the variables into the shell first.
npx -y @transloadit/node image merge \
--input ./photo-a.jpg \
--input ./photo-b.jpg \
--input ./photo-c.jpg \
--input ./photo-d.jpg \
--input ./photo-e.jpg \
--input ./photo-f.jpg \
--effect polaroid-stack \
--width 1920 \
--height 1200 \
--format png \
--output ./collage.png
After the command finishes, confirm the image exists at the expected output path.
--background '#eee5d3' picks a warm beige canvas (default). Hex codes or named colors both work.--background none (with --format png or --format webp) produces a transparent canvas.--coverage 1.5 is the default. Use 2.0–2.5 for bigger, more overlapping photos; 1.0 or below for smaller, more widely spaced polaroids.--seed 42 makes the layout deterministic — rerun with the same inputs to reproduce the same output.--shuffle lets the Robot reorder inputs before laying them out.npx -y @transloadit/node assemblies get <assemblyIdOrUrl> -j
Notes:
--input values are bundled into a single /image/merge assembly../collage.png or ./collage.jpg) over a directory output so the extension is deterministic.