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.zipInstalls 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, assetKey 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
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
- Define ingress and policy gateway boundaries for identity, tenant, rights, media validation, safety, copyright settings, budget, and admission.
- Route accepted work to a durable queue and an account-level concurrency controller.
- Use a vendor adapter that owns endpoint schemas, multipart, deadlines, typed errors, and content-free telemetry.
- Persist request and
generation_idstate before async delivery, then reconcile verified webhooks with polling. - Pass safe outputs through a downloader that validates media and stores opaque tenant-scoped objects immediately.
- Publish only from the application object store after required review; never authorize from a vendor URL.
- 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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ideogram-reference-architecture (this skill) | 1 | 2mo | Caution | Intermediate |
| software-architecture | 333 | 8mo | No flags | Intermediate |
| architect-review | 109 | 5mo | No flags | Advanced |
| mcp-builder | 136 | 5mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →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.
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.
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).
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.
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.
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.