Lydia Ng
04 · CASE STUDY / zephyr-scripts/article-image-mvp
AI Product · Private Beta

ImagenArt

AI-Assisted Editorial Image Production

Capabilities Applied
AI Workflow Design Content Automation Product Architecture Image Generation

Core System Premise

“Turning expert creative judgement into a repeatable AI workflow.”

Architecture Multi-Tier Reasoning Pipeline
BUSINESS SUMMARY

The workflow problem and what changed

Technical architecture follows below

Organisation & workflow

An editorial production workflow that turns a long-form article into a considered header image and finished graphic.

What was difficult

The work required article interpretation, creative direction, prompt development, option review, layout and export across several disconnected steps.

What changed

A guided workflow analyses the article, proposes distinct concepts, keeps human choice at selection, then supports image creation, layout and export.

Why it mattered

Users could follow a repeatable creative process without needing prompt-engineering expertise, while editorial judgement remained visible.

Production Architecture

Editorial AI Production Pipeline

A multi-stage orchestration separating semantic analysis, metaphor synthesis, typed constraints, and human creative curation.

Deterministic / Zod Validation
Generative Reasoning
Human Selection Checkpoint
STAGE 01 Input Layer

Article Ingestion

Ingests raw, long-form editorial copy. Extracts core tensions, emotional resonance, and abstract thematic vectors rather than literal keyword matches.

Body Content Parsing Full article text
Thematic Density Scored Semantic Map
check_circle Pre-filtered token payload
STAGE 02 AI Reasoning

AI Art Director

Performs executive aesthetic reasoning: deconstructs narrative framing, enforces negative rules (no corporate clichés), and creates 3 divergent visual hypotheses.

// Creative Rule Engine
Hypothesis A: Architectural
Hypothesis B: Minimal Metaphor
Hypothesis C: Dynamic Tension
psychology Structured creative brief
STAGE 03 Contract

Typed Zod Schema

LLM responses are validated strictly at runtime. Enforces camera angle, color temperature, palette tags, safe layout bounds, and visual hierarchy.

const BriefSchema = z.object({
angle: z.enum(['low', 'eye', 'top']),
focalSubject: z.string().min(5),
lighting: z.string(),
copyZone: z.literal('right-half')
})
rule Invalid schema output is rejected
STAGE 04 Synthesis

Human Loop & Sharp

Human Art Director compares scored candidates, reviews prompt logic, locks selection, then triggers the Sharp raster compositor for editorial typography.

Human Choice Gate Interactive Review
Sharp PNG Export 3200 × 1800 px
touch_app Editorial oversight locked
Concept Evaluation Matrix · Generated in parallel by Concept Designer Layer
RUNTIME VALIDATION ACTIVE
CONCEPT A Score 94/100
Architectural Monolith

Focuses on structural stability versus shifting market ground. Cold slate monolithic stone block intersected by precision blue light path.

Intent: Emphasizes technological governance.
Negative Space: Right-hand quadrant 60% clear for typography.
Selected Direction radio_button_checked
CONCEPT B Score 87/100
Prismatic Refraction

Single beam of white light splitting across a crystalline prism on dark matte blue ground. Abstracting operational transparency.

Intent: High visual elegance, less thematic grounding.
Negative Space: Lower horizon clear for dual headline lines.
Alternate Candidate radio_button_unchecked
CONCEPT C Score 81/100
Topographic Cartography

Precision vector contour lines plotted over an ink-wash gradient, translating multi-agent market behavior into topological maps.

Intent: Rigorous analytical visual language.
Negative Space: Top hemisphere reserved for publication title.
Alternate Candidate radio_button_unchecked
01 — The Challenge

The Naive Prompt Trap

Failure Modes Observed
  • Visual cliché saturation
  • Cognitive prompt fatigue
  • Complete lack of text compositing
  • No editorial brand coherence

In modern publishing operations, editorial teams struggle to produce compelling, publication-grade article headers using raw AI image generators like Midjourney or DALL-E. The friction points are systemic rather than technical:

The Blank Box Syndrome

Writers and editors are not prompt engineers. Forcing an editor to translate a 2,000-word piece on antitrust regulation into prompt modifier syntax results in friction and generic outputs.

Literal Metaphor Failure

Naive prompting yields literal interpretations: articles on "cloud infrastructure" produce physical fluffy clouds with ethernet cables, lacking executive gravity and visual taste.

Composition Blindness

Generators place subjects dead-center without accounting for editorial typography rules, negative space for headlines, or standard publishing aspect ratios.

Production Disconnect

Image generation alone left a workflow gap between an image prompt and an export-ready header containing the publication's headline and masthead.

Naive Prompt Output Input: “AI financial regulation header”
REJECTED: Visual Cliché & No Text Space

Fails editorial standards. Visual elements collide directly with title placement zones, creating legibility failure and corporate kitsch.

ImagenArt Structured Pipeline Full-Text Ingestion + Typed Brief
EDITORIAL ESSAY · VOL 12 Autonomous Capital & The Law Sharp composition with strict typography clearance zone

Validated negative space, disciplined visual metaphor, and crisp typographic hierarchy applied directly via Sharp compositor pipeline.

02 — The Thinking

Encoding Taste Into Workflows

Encode editorial decision-making into a structured workflow rather than exposing a blank prompt box.

Architectural Principles

PRINCIPLE 01

Full-Article Analysis over Title-Only Ingestion

Headlines are clickbait or compact summaries. True conceptual richness exists in the body text: the counterarguments, human stakes, and historical parallels that yield non-obvious visual motifs.

PRINCIPLE 02

Separation of Art Direction from Generation

Image models are execution engines, not visual strategists. By delegating thematic reasoning to an explicit LLM "Art Director", we define camera height, focal length, lighting mood, and negative constraints before a single pixel is synthesized.

PRINCIPLE 03

Enforced Divergence across Concept Hypotheses

Instead of giving the user 4 slight variations of the same prompt, the Art Director forces 3 radically different aesthetic angles: Architectural/Monolithic, Organic/Humanist, and Minimal/Abstract.

PRINCIPLE 04

Human Decision as the Uncompromised Gate

AI proposes options, justifies rationale, and prepares the compositions. The human editor exercises final authority over which concept aligns with publication values.

03 — The Solution

Modular Editorial Engine

An end-to-end interface designed specifically for newsrooms and high-output strategic publications.

content_paste

Article Ingestion & Style

Paste complete raw text or markdown. Select a brand preset (e.g., "Nordic Institutional", "Monochrome Minimalist", "Financial Architecture") that sets immutable palette and contrast boundaries.

Input: Raw Text · Presets: 6 Curated
schema

Multi-Concept Hypotheses

The engine produces three distinct visual briefs in parallel. Each brief arrives with an editorial rationale explaining why the image connects with the reader and where typography can safely rest.

Output: Typed Zod Briefs (3x)
tune

Prompt Inspector & Override

Editors can inspect the recorded prompt modifiers, toggle stylistic constraints, or adjust composition bias without writing raw prompt text.

Full Auditability · Parameter Sliders
title

Layout Compositor

Automated overlay engine that anchors article title, subtitle, byline, and issue number over the image's validated negative space with calibrated drop gradients.

Canvas: SVG Overlay Hierarchy
image

Sharp-Powered PNG Export

Server-side rendering with Sharp supports print-ready 300DPI or web-optimized Retina PNG assets with defined colour profiles.

Pipeline: Node.js + libvips / Sharp
dataset

Asset Cataloging

Generated assets can be stored with their article digest, typed brief, prompt payload and selected concept to create a reviewable production record.

Storage: Supabase PostgreSQL + S3
04 — System & Tech Stack

Technical Composition

A Node/TypeScript backend using structured validation and explicit processing stages.

Backend Core Server & API Layer

Node.js · Express · TypeScript

Strictly typed service container. Asynchronous request handling with queue-based execution for long-running image generation tasks.

AI & Generative Reasoning & Synthesis

Google GenAI / Image Generation Workflows

Dual-model cascade: high-reasoning Gemini models for art direction and thematic extraction; precision diffusion models for prompt execution.

Validation Contracts Deterministic Guardrails

Zod-based Typed Schemas

Ensures all structured outputs from the LLM conform precisely to layout constraints, aspect ratios, color palettes, and composition tags before generation starts.

Graphics Pipeline Compositing Engine

Sharp (libvips C++ binding)

High-speed buffer manipulations, typographic layer rendering, alpha channel composite blends, and sub-pixel text rendering for crisp web/print exports.

Data & Persistence Audit & Storage

Supabase (PostgreSQL + S3 Storage)

Stores generation history, brief parameters, prompt seeds and associated article metadata for reviewable generation archives.

05 — Outcome & Value

System Competencies

A product workflow that turns unstructured text into a repeatable editorial image process without requiring prompt-engineering jargon.

COMPETENCY 01

Systems Over Chatbots

Shows how to architect robust product workflows around generative models rather than dropping a generic conversational interface into a user's path.

COMPETENCY 02

Encoding Expert Judgement

Transforms tacit creative taste—composition guidelines, lighting constraints, color discipline—into repeatable algorithmic rulesets.

COMPETENCY 03

Deterministic AI Validation

Demonstrates how to use strict schema validation (Zod) to eliminate unpredictable hallucination risks and enforce contract integrity.

COMPETENCY 04

True Human-in-the-Loop

Reframes the human role from manual prompt crafter to executive curator, reviewing rationale, choosing the optimal candidate, and approving export.

End-to-End Creative Automation

ImagenArt demonstrates that generative AI produces the highest institutional value when it is deeply integrated into existing production mechanics: from raw source manuscript ingestion to finished, typographic vector/raster assets ready for immediate publication.

NEXT STEP

Have a similar workflow or systems problem?

If expert judgement is repeatedly applied to content or creative production, we can identify which decisions should be structured, assisted, and kept human-led.

Discuss a workflow problem