$ man content-wiki/python-pillow
Tools and MCPsintermediate
Terminal-Style Images with Python Pillow
Building branded terminal images with monospace typography
Why Python Pillow for Content Images
Python Pillow (PIL fork) generates images programmatically. For a content operating system that lives in a code editor, this means images are code — version controlled, reproducible, parameterized. You do not open Figma. You run a script.
The terminal aesthetic — black background, green accent, monospace font — is the visual identity of the content OS. It is distinctive, instantly recognizable, and impossible to replicate with Canva templates. Every image looks like it came from a real terminal because it was generated by code that follows terminal design principles.
PATTERN
The Anthropic Color Scheme
The base palette: background black (#0D0D0D or #111111), primary text green (#00FF41 — terminal green), secondary text white (#E0E0E0 — slightly off-white for readability), accent amber (#FFB000 — for warnings, highlights), dim text gray (#555555 — for comments and secondary info), border subtle (#1A1A1A — barely visible panel borders).
This is not random. It mirrors the Anthropic/Claude terminal aesthetic — dark, clean, professional but with personality. The green-on-black is the signature. Every image generated by the content OS uses this palette, creating visual consistency across hundreds of posts without a design system document.
PATTERN
Boot-Sequence Aesthetic
The boot-sequence style is the hero format for article images and LinkedIn carousel covers. Structure: header with system name and version, a loading or initialization sequence with timestamps, the core content rendered as system output, footer with status line.
This mimics a real system booting up — the AI/os brand identity in visual form. Each image tells a story of a system starting up, loading modules, and presenting information. It is information-dense, visually striking, and completely unique to this brand.
Implementation: Pillow draws text line by line with calculated Y positions. Each line has a specific color (green for system prompts, white for content, amber for highlights). Font size varies by importance. The monospace font (typically Fira Code or JetBrains Mono) sells the terminal authenticity.
CODE
Matrix Rain Backgrounds
Matrix rain is the background effect for X tip images and feature announcement visuals. Implementation: generate columns of random characters (katakana, Latin, numbers) at varying opacity. Draw them top-to-bottom in green with alpha fade. Overlay the actual content on top with a semi-transparent black panel.
The technique: create a base image with the rain characters drawn at 10-30% opacity. Then draw a centered content panel with 85% opacity black background. The content text goes on the panel. The result: readable content floating on a subtle matrix rain field.
This is implemented in the x-tip-image skill and the aios-image skill. Each uses the same rain generation function but with different panel layouts and content structures. The rain function itself takes parameters for density, character set, and fade speed.
PRO TIP
Real Implementations
Three skills in the content OS use Python Pillow directly: aios-image generates the terminal boot-sequence article images. x-tip-image generates matrix rain backgrounds with centered tip panels for X micro-tip posts. content-images is the general-purpose image generator for any custom visual need.
Each skill follows the same architecture: define the canvas size, set up the color palette, calculate text positions, draw background elements, draw text with appropriate fonts and colors, save to the content output directory. The skills are parameterized — you pass in the content text, and the image generates automatically.
This means image generation is part of the content pipeline, not a separate design step. Write the post. Generate the image. Publish. All from the same editor.
related entries