Skills Layer

Generate Image

AI image generation via Gemini API with brand color enforcement, unique filename protection, and reference image support.

Generate Image calls the Gemini image generation API through a built-in CLI tool. It accepts a text prompt plus optional reference images, enforces brand guidelines (STEEPWORKS ember/moss/charcoal palette, no logo in featured images), and writes output with unique descriptive filenames to prevent overwrites. The skill was built after a 2026-03-27 incident where CLI defaults wrote slide_01.jpg and destroyed 2 existing files. Every invocation now requires an explicit output filename. It supports style transfer from reference images, batch generation for slide decks, and automatic aspect ratio selection based on target platform (16:9 for blog heroes, 1:1 for social, 4:5 for Instagram). Default reference_images is an empty array for article featured images.

Where it shows up:

Blog featured imagesSlide decksSocial graphicsNewsletter headers

Build your Knowledge OS

90 minutes from zero to your first skill chain.