Documentation
README
Image Generation
Generate images using Google Gemini (gemini-3-pro-image-preview) for both text-to-image and image-to-image workflows.
Use the packaged CLI:
middleman image generate \
--prompt "a cute robot bee in a garden" \
--output "/path/to/output.png"
Image-to-image generation is supported with repeated --input-image flags:
middleman image generate \
--prompt "turn this sketch into a painted poster with a limited teal and coral palette" \
--input-image "/path/to/sketch.png" \
--input-image "/path/to/reference.jpg" \
--output "/path/to/output.png"
Options
This is the opening of the README. Read the full README on GitHub.