/ideogram4
Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors,
$ npx -y skills add digitalsamba/claude-code-video-toolkit --skill ideogram4 --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/ideogram4
Context preview
The summary Claude sees to decide when to auto-load this skill.
Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors,
SKILL.md
ideogram4.SKILL.mdname: ideogram4
description: Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors, or controlled spatial layout. Triggers include title slide image, thumbnail with text, on-image text, legible text in image, brand color palette image, bounding-box layout, Ideogram.
Ideogram 4 Skill
Text-to-image generation with **Ideogram 4** (9.3B, open-weight, released June 2026). Its superpower is **best-in-class in-image text rendering** — it beats much larger models (FLUX.2 dev 32B, Qwen-Image 20B, Hunyuan 80B) at rendering legible signage, logos, captions, and multi-line text — plus **exact color-palette and bounding-box control**.
That advantage is **locked behind a structured JSON caption format**. A plain-text prompt gets you FLUX-level results and misses the entire point of using this model. This skill teaches Claude to act as the "magic prompt" expander — turning a user's casual request into the JSON caption Ideogram 4 was trained on.
> **Backend:** The toolkit uses Ideogram's **hosted v4 API** (not self-hosted weights). The API > accepts a structured `json_prompt`, so everything this skill teaches applies directly — Claude > builds the caption, the tool posts it as `json_prompt`. Paid API plans include a **commercial > license**, which the self-hostable weights (non-commercial) do not — that's why we use the API. > Cost is ~$0.03/image (turbo) to ~$0.09/image (quality).
When to Use This Skill
Reach for Ideogram 4 (over FLUX.2) when the image needs:
- **Legible on-image text** — title cards, thumbnails, lower-thirds backgrounds, signage, logos,
quote cards, CTAs with a headline baked in
- **Exact brand colors** — hex color-palette conditioning, per-element
- **Controlled layout** — bounding boxes place text/objects in specific regions
- **Multilingual text** in the image
Use **FLUX.2** instead when: the image has no critical text, you need commercial-licensed output, or you just want a fast atmospheric background. FLUX takes plain natural-language prompts; Ideogram wants JSON. See `tools/flux2.py`.
The One Thing to Get Right
**Always emit a structured JSON caption, not a plain sentence.** The model is trained *exclusively* on JSON captions that name every element explicitly. Claude is a better expander than Ideogram's free hosted magic-prompt (their own docs note the shipped one "is not the same used in production"), so build the caption yourself using this skill rather than passing raw text.
Minimal valid caption:
{"high_level_description":"A sailboat at sunset on calm water.","style_description":{"aesthetics":"serene, warm, golden hour","lighting":"golden hour backlighting","photo":"wide angle, f/8","medium":"photograph","color_palette":["#FF6B35","#F7C59F","#004E89"]},"compositional_deconstruction":{"background":"Calm ocean at low horizon with orange-pink sky.","elements":[{"type":"obj","desc":"White triangular sail silhouetted against the setting sun."}]}}Full schema, strict key-ordering rules, and the bbox coordinate system are in **`prompting.md`**. Worked title-card / thumbnail / quote-card examples are in **`examples.md`**.
Quick Reference — `tools/ideogram4.py`
> Thin wrapper over Ideogram's hosted v4 API. Needs `IDEOGRAM_API_KEY` in `.env` > (key from developer.ideogram.ai). `--json` posts the caption as the API's `json_prompt` > field (no server-side magic prompt — Claude is the expander); `--prompt` posts `text_prompt`.
# Hand-authored JSON caption (the recommended path for text/layout) — Claude writes caption.json
python3 tools/ideogram4.py --json caption.json --output title.png
# Caption from stdin (Claude can pipe it directly)
cat caption.json | python3 tools/ideogram4.py --json - --output title.png
# Plain prompt — Ideogram's server-side magic prompt expands it (weaker; prefer --json)
python3 tools/ideogram4.py --prompt "Title card: 'AI ENGINEERING REVIEW' bold white on dark" --output title.png
# Inject brand hex colors into the caption's palette (JSON mode)
python3 tools/ideogram4.py --json caption.json --brand digital-samba --output cta.png
# Quality tier + resolution
python3 tools/ideogram4.py --json caption.json --speed QUALITY --resolution 2048x2048 --output slide.png
Key Files
- `prompting.md` — full JSON schema, strict key ordering, bbox coordinate system, palette rules
- `examples.md` — worked captions for title cards, thumbnails, quote cards, brand CTAs
Video Production Fit
Ideogram 4's niche in the toolkit is **slides and thumbnails with baked-in text**, where FLUX and LTX-2 fail (both render garbled text). Natural pairings:
| Use case | Why Ideogram 4 | |----------|----------------| | Title-card / CTA background **with headline text** | Legible text + exact brand hex colors in one pass | | YouTube/social **thumbnail with a punchy phrase** | Big readable text is its strongest suit | | Quote card / stat card | Multi-line text + layout control via bboxes | | Signage/logos inside a product-demo scene | In-image text other models can't render |
Then feed the still into Remotion (`<OffthreadVideo>`/`Img`) or animate it with `tools/ltx2.py --input`.
Read more
name: ideogram4 description: Prompting patterns for Ideogram 4 text-to-image — best-in-class in-image text rendering and exact color/layout control via structured JSON captions. Use when generating images that need legible on-image text (title cards, thumbnails, logos, signage, CTAs), precise brand colors, or controlled spatial layout. Triggers include title slide image, thumbnail with text, on-image text, legible text in image, brand color palette image, bounding-box layout, Ideogram.
Ideogram 4 Skill
Text-to-image generation with **Ideogram 4** (9.3B, open-weight, released June 2026). Its superpower is **best-in-class in-image text rendering** — it beats much larger models (FLUX.2 dev 32B, Qwen-Image 20B, Hunyuan 80B) at rendering legible signage, logos, captions, and multi-line text — plus **exact color-palette and bounding-box control**.
That advantage is **locked behind a structured JSON caption format**. A plain-text prompt gets you FLUX-level results and misses the entire point of using this model. This skill teaches Claude to act as the "magic prompt" expander — turning a user's casual request into the JSON caption Ideogram 4 was trained on.
> **Backend:** The toolkit uses Ideogram's **hosted v4 API** (not self-hosted weights). The API > accepts a structured `json_prompt`, so everything this skill teaches applies directly — Claude > builds the caption, the tool posts it as `json_prompt`. Paid API plans include a **commercial > license**, which the self-hostable weights (non-commercial) do not — that's why we use the API. > Cost is ~$0.03/image (turbo) to ~$0.09/image (quality).
When to Use This Skill
Reach for Ideogram 4 (over FLUX.2) when the image needs:
- **Legible on-image text** — title cards, thumbnails, lower-thirds backgrounds, signage, logos,
quote cards, CTAs with a headline baked in
- **Exact brand colors** — hex color-palette conditioning, per-element
- **Controlled layout** — bounding boxes place text/objects in specific regions
- **Multilingual text** in the image
Use **FLUX.2** instead when: the image has no critical text, you need commercial-licensed output, or you just want a fast atmospheric background. FLUX takes plain natural-language prompts; Ideogram wants JSON. See `tools/flux2.py`.
The One Thing to Get Right
**Always emit a structured JSON caption, not a plain sentence.** The model is trained *exclusively* on JSON captions that name every element explicitly. Claude is a better expander than Ideogram's free hosted magic-prompt (their own docs note the shipped one "is not the same used in production"), so build the caption yourself using this skill rather than passing raw text.
Minimal valid caption:
{"high_level_description":"A sailboat at sunset on calm water.","style_description":{"aesthetics":"serene, warm, golden hour","lighting":"golden hour backlighting","photo":"wide angle, f/8","medium":"photograph","color_palette":["#FF6B35","#F7C59F","#004E89"]},"compositional_deconstruction":{"background":"Calm ocean at low horizon with orange-pink sky.","elements":[{"type":"obj","desc":"White triangular sail silhouetted against the setting sun."}]}}Full schema, strict key-ordering rules, and the bbox coordinate system are in **`prompting.md`**. Worked title-card / thumbnail / quote-card examples are in **`examples.md`**.
Quick Reference — `tools/ideogram4.py`
> Thin wrapper over Ideogram's hosted v4 API. Needs `IDEOGRAM_API_KEY` in `.env` > (key from developer.ideogram.ai). `--json` posts the caption as the API's `json_prompt` > field (no server-side magic prompt — Claude is the expander); `--prompt` posts `text_prompt`.
# Hand-authored JSON caption (the recommended path for text/layout) — Claude writes caption.json python3 tools/ideogram4.py --json caption.json --output title.png # Caption from stdin (Claude can pipe it directly) cat caption.json | python3 tools/ideogram4.py --json - --output title.png # Plain prompt — Ideogram's server-side magic prompt expands it (weaker; prefer --json) python3 tools/ideogram4.py --prompt "Title card: 'AI ENGINEERING REVIEW' bold white on dark" --output title.png # Inject brand hex colors into the caption's palette (JSON mode) python3 tools/ideogram4.py --json caption.json --brand digital-samba --output cta.png # Quality tier + resolution python3 tools/ideogram4.py --json caption.json --speed QUALITY --resolution 2048x2048 --output slide.png
Key Files
- `prompting.md` — full JSON schema, strict key ordering, bbox coordinate system, palette rules
- `examples.md` — worked captions for title cards, thumbnails, quote cards, brand CTAs
Video Production Fit
Ideogram 4's niche in the toolkit is **slides and thumbnails with baked-in text**, where FLUX and LTX-2 fail (both render garbled text). Natural pairings:
| Use case | Why Ideogram 4 | |----------|----------------| | Title-card / CTA background **with headline text** | Legible text + exact brand hex colors in one pass | | YouTube/social **thumbnail with a punchy phrase** | Big readable text is its strongest suit | | Quote card / stat card | Multi-line text + layout control via bboxes | | Signage/logos inside a product-demo scene | In-image text other models can't render |
Then feed the still into Remotion (`<OffthreadVideo>`/`Img`) or animate it with `tools/ltx2.py --input`.
Tell Claude Code what video you want — it writes the script, generates the voiceover, music, and visuals, and renders the MP4.
Repo: digitalsamba/claude-code-video-toolkit
Other skills on claude-code-video-toolkit.
- /acestep
AI music generation with ACE-Step 1.5 — background music, vocal tracks, covers, stem extraction, audio repainting, and continuation for video production. Use when generating music, soundtracks, jingles, or working with audio stems. Triggers include background music, soundtrack,
Open skill - /elevenlabs
Generate AI voiceovers, sound effects, and music using ElevenLabs APIs. Use when creating audio content for videos, podcasts, or games. Triggers include generating voiceovers, narration, dialogue, sound effects from descriptions, background music, soundtrack generation, voice
Open skill - /ffmpeg
Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.
Open skill - /frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Open skill - /ltx2
AI video generation with LTX-2.3 22B — text-to-video, image-to-video clips for video production. Use when generating video clips, animating images, creating b-roll, animated backgrounds, or motion content. Triggers include video generation, animate image, b-roll, motion, video
Open skill - /moviepy
Python video composition with moviepy 2.x — overlaying deterministic text on AI-generated video (LTX-2, SadTalker), compositing clips, single-file build.py video projects. Use when adding labels/captions/lower-thirds to LTX-2 or SadTalker outputs, building short ad-style spots
Open skill

