ID

ideogram-reference-architecture

Provides a production-grade architecture for Ideogram, covering prompt templating, asset storage, and pipeline design.

Install

mkdir -p .claude/skills/ideogram-reference-architecture && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6316" && unzip -o skill.zip -d .claude/skills/ideogram-reference-architecture && rm skill.zip

Installs to .claude/skills/ideogram-reference-architecture

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Implement Ideogram reference architecture with prompt templates, asset
70 charsno explicit “when” trigger
Intermediate

Key capabilities

  • →Implement prompt template systems for brand consistency
  • →Execute generation pipelines using six API endpoints
  • →Automate asset downloading and local storage
  • →Perform reference-based generation via describe-then-remix
  • →Generate multi-format assets including PNG and WebP
  • →Track asset metadata for reproducibility

How it works

The architecture uses a template-based prompt system to standardize generation requests across six API endpoints. It automatically downloads generated images to local storage to prevent URL expiration and tracks assets in a manifest.

Inputs & outputs

You give it
Template key and variable object
You get back
Local file path, image seed, and metadata manifest

When to use ideogram-reference-architecture

  • →Design scalable image generation pipelines
  • →Implement prompt templating systems
  • →Set up asset storage and CDN delivery
  • →Establish brand guidelines for AI assets

About this skill

Ideogram Reference Architecture

Overview

Define ownership and data flow for a production Ideogram integration. Keep user authorization, paid vendor authority, request validation, async state, event verification, content review, durable media, and audit evidence as explicit components.

Prerequisites

  • Workload, tenant and identity model, data class, SLO, budget, region, and retention policy.
  • Expected endpoint mix, input sizes, concurrency, publication destinations, and failure modes.
  • Owners for billing, security, moderation, storage, operations, and vendor escalation.

Current Contract

The API uses server-side Api-Key, endpoint-specific multipart requests, sync and async generation, item-level safety, signed async webhooks, polling, and temporary asset URLs. Default capacity is 10 in-flight requests. These contracts require stateful application orchestration even when the product experience is synchronous.

Authentication

Place IDEOGRAM_API_KEY only in a private vendor adapter. The policy gateway authenticates application identities and authorizes tenant, use case, spend, input, output, and destination separately.

Instructions

  1. Define ingress and policy gateway boundaries for identity, tenant, rights, media validation, safety, copyright settings, budget, and admission.
  2. Route accepted work to a durable queue and an account-level concurrency controller.
  3. Use a vendor adapter that owns endpoint schemas, multipart, deadlines, typed errors, and content-free telemetry.
  4. Persist request and generation_id state before async delivery, then reconcile verified webhooks with polling.
  5. Pass safe outputs through a downloader that validates media and stores opaque tenant-scoped objects immediately.
  6. Publish only from the application object store after required review; never authorize from a vendor URL.
  7. Add outbox, audit, deletion, incident, canary, and rollback paths with explicit owners.

Tool Discipline

Use Read, Glob, and Grep to ground the design in the actual repository and infrastructure. Use Write and Edit for approved architecture records or implementation. Do not provision services, create keys, or deploy from a design invocation.

Approval Boundaries

Require accountable review for trust-boundary changes, public ingress, data residency, sensitive media, external publication, retention, spend, and production topology. Record unresolved assumptions as blockers.

Error Handling

  • Keep queue acceptance distinct from vendor acceptance and durable asset completion.
  • Reconcile duplicate or missing events without duplicate paid submissions.
  • Quarantine unsafe, malformed, oversized, or tenant-mismatched media before publication.

Output

Return components, flows, trust boundaries, state model, endpoint choices, SLO and capacity model, data lifecycle, controls, owners, failure paths, open decisions, and rollback architecture. Exclude secret or content examples.

Examples

  • Flow: application client -> policy gateway -> queue -> vendor adapter -> state store -> verified webhook or poller -> safe downloader -> object store -> reviewer -> publisher.
  • Keep audit records content-free while placing regulated media in its approved retention boundary.

Validation

Walk happy, unsafe, throttled, duplicate, missing-webhook, expired-URL, storage-failure, and rollback scenarios. Verify every state and retained datum has one owner and deletion path.

Resources

  • Current first-party evidence map — use the dated endpoint, webhook, billing, team, and training links as the contract index for this workflow.
  • Recheck the endpoint-specific page and current OpenAPI description before relying on an enum, limit, beta feature, or lifecycle claim.
  • Record live observations as environment-specific evidence, not as universal vendor guarantees.

When not to use it

  • →When using outdated Ideogram API versions
  • →When manual asset management is required

Prerequisites

IDEOGRAM_API_KEY environment variableNode.js environment with fs and path modulesSharp library for image processing

Limitations

  • →Text misspellings occur if prompts are too vague

How it compares

This approach replaces manual API calls with a structured pipeline that enforces brand guidelines and automates post-processing tasks like resizing and format conversion.

Compared to similar skills

ideogram-reference-architecture side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ideogram-reference-architecture (this skill)12moCautionIntermediate
software-architecture3338moNo flagsIntermediate
architect-review1095moNo flagsAdvanced
mcp-builder1365moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore →

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

You might also like

software-architecture

davila7

Guide for quality focused software architecture. This skill should be used when users want to write code, design architecture, analyze code, in any case that relates to software development.

333868

architect-review

sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

109320

mcp-builder

anthropics

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

136215

solid-principles

SmidigStorm

Enforce SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) in object-oriented design. Use when writing or reviewing classes and modules.

57236

codex

Lucklyric

Invoke Codex CLI for complex coding tasks requiring high reasoning capabilities. This skill should be invoked when users explicitly mention "Codex", request complex implementation challenges, advanced reasoning, or need high-reasoning model assistance. Automatically triggers on codex-related requests and supports session continuation for iterative development.

32238

architecture-patterns

wshobson

Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use when architecting complex backend systems or refactoring existing applications for better maintainability.

55214

Search skills

Search the agent skills registry