Terminal
Terminal/Skill
Generates an image file from a text prompt, optionally guided by input photos, using Transloadit's image generate command.
By Transloadit
Works with
npx skills add transloadit/skills --skill transform-generate-image-with-transloaditUse the image generate intent with Images 2.5 Flare for quick image generation from a prompt.
Pass the model explicitly so an older installed CLI does not select its previous default.
npx -y @transloadit/node image generate \
--model openai/gpt-image-2.5-flare \
--prompt 'A minimal product photo of a chameleon on white background' \
--output ./out.png
Use Sunburst when the user asks for it or prioritizes precision over latency. Keep Flare as the default for everyday generation. Preserve any explicitly requested older model instead of silently substituting a newer one.
npx -y @transloadit/node image generate \
--model openai/gpt-image-2.5-sunburst \
--width 1024 \
--height 1024 \
--prompt 'A ceramic coffee mug on a white seamless studio background' \
--output ./out.png
You can also guide generation with one or more input images. Prefer meaningful filenames and refer to them in the prompt.
npx -y @transloadit/node image generate \
--model openai/gpt-image-2.5-flare \
--input ./person1.jpg \
--input ./person2.jpg \
--input ./background.jpg \
--prompt 'Place person1.jpg feeding person2.jpg in front of background.jpg' \
--output ./out.png
Notes:
--model openai/gpt-image-2.5-flare by default, or --model openai/gpt-image-2.5-sunburst
for precision-focused work.--model openai/gpt-image-2 and Google Nano Banana selections remain supported. The
older gpt-image-2 spelling still selects GPT Image 2, not Images 2.5.--input values are bundled into a single /image/generate assembly.--input.--output, prompt-only and multi-input runs default to the current working directory.npx -y @transloadit/node assemblies get <assemblyIdOrUrl> -j
Notes: