Content OS

Visual Agent

✅ v1 built — live. The blog thumbnail and Campaign Creatives ship today from apps/backend/src/ai/agents/visual/, modules/campaign/ and modules/studio/; storyboard video renders through modules/video/, which uses the agent's frame prompts but is not the agent. Template-selection, theme and guard-rail-QC subagents are still proposed.

Back to the agent roster · Marketing OS


What it does

Produces creatives — blog thumbnails, campaign posters, carousels, infographics and storyboard frames — from a Discovery article, a blog or a free brief, at every ratio and in every language an asset asks for, with brand-locked composition, logo stamping, moderation and per-slot copy QA.

What shipped

  • Blog thumbnails — ai/agents/visual/ (prompt/thumbnail.ts + generate.ts), one image per draft on the blog path.
  • Framed layouts — a campaign image is composed from a frame, not stamped over a full-bleed photograph: split, scrim and feather families, with the photo generated at the region's real size and the copy column derived from the panel's opaque area.
  • The editorial family — the house style: photograph leads, a quiet off-white or indigo panel carries the type, the headline's last line in orange, geometry jittered per generation so editions vary without drifting.
  • Free-form poster mode — the current default: a design-plan call expands the brief into layout zones, grounded sections and an optional chart, and gpt-image renders the whole creative end to end (baked text mode).
  • Carousels — one plan call decides the narrative arc, scene and copy for the whole set; each slide then renders through the same frame pipeline as any other creative, tone and family pinned across the set.
  • Baked composition — when the tenant's text mode is model, the approved copy is rendered into the image verbatim, with per-ratio arrangement and safe-margin direction so ten creatives stop coming out structurally identical. A baked creative still stores a real text-free plate (one image edit strips the words off the primary render), so a language edition is the same picture re-lettered, not a new photograph.
  • Reference images — up to three uploads on every bucket switch generation to image editing, so they condition the picture rather than being described at it; the same references steer a regenerate from the workspace.
  • Infographics — the one bucket that takes real data: pasted figures are required, and the chart picker only offers shapes the composer actually draws.
  • Article- or blog-as-brief — the operator picks a Discovery article or a finished blog and the brief is resolved server-side from the stored row, permission-checked (blogs.read for a blog).
  • Ratio variants and per-asset languages — one asset renders at several aspect ratios, one plate per ratio, every language composed onto each; a language can be added to a finished asset (free where the composer draws the type, one edit where the image model painted it).
  • Campaign templates — a campaign saves as a template and replays its assets, languages, ratios and look against a new brief.
  • The workspace — one page per campaign: asset rail, studio canvas, chat. Regenerate (steerable with a note and references), add language, add slide and add size are one-click actions priced by a dry run before they spend; a single edition's words can be redone alone, and the chat can be scoped to one edition.
  • Storyboard frames — a campaign video asset's stills are drawn with the agent's frame prompt, character bible pasted verbatim, no on-screen text; the clips are the video pipeline's.

How to call it

In-process: invokeVisualAgentRemote (ai/agents/visual/invoke-remote.ts), which the campaign controller uses for every generate. The studio (modules/studio/) is part of the backend — no separate service, no HTTP hop.

Models

Image generation defaults to gpt-image-2 (DEFAULT_OPENAI_IMAGE_MODEL), selectable per tenant on the campaign settings. Ideogram is optional and experimental — used only for text layerization when IDEOGRAM_API_KEY is configured; nothing depends on it.

Why an agent

Same reason as Compliance: one judgment+generation unit, many workflows — not a UI-only feature.

Roadmap source

Deliverable ① — Static / GIF / Video; guard rails — see roadmap_ref_extracted.md.

Still open

  • Template-selection, theme and QC subagents — today template choice is a measured default plus an operator picker, and fidelity review is a single moderation pass; the judgment subagents the spec proposed are not built.
  • GIF. Video ships as a storyboard, but the provider's clip endpoint has not been exercised against a live account — every clip so far is the stub's — and nothing assembles the per-scene clips.
  • Per-tenant logo packs in the knowledge layer (today: the tenant's primary logo asset, or the official mark, cut out and stamped deterministically).
Source: roadmap/marketing-os/agents/visual-agent/README.md