ID

ideogram-prod-checklist

A production readiness checklist for launching Ideogram-powered features.

Install

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

Installs to .claude/skills/ideogram-prod-checklist

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.

Execute Ideogram production deployment checklist and rollback procedures.
73 charsno explicit “when” trigger
Advanced

Key capabilities

  • Verify production API key validity
  • Validate image download functionality
  • Configure circuit breakers for failure handling
  • Execute rollback procedures

How it works

The workflow performs a series of automated checks against the production API to verify connectivity, key validity, and image retrieval before deployment.

Inputs & outputs

You give it
Production environment configuration
You get back
Pre-flight check status and health report

When to use ideogram-prod-checklist

  • Configuring production API keys
  • Setting up image storage infrastructure
  • Validating request timeout settings
  • Implementing production retry logic
  • Planning rollback procedures

About this skill

Ideogram Production Checklist

Overview

Complete pre-flight checklist for deploying Ideogram image generation to production. Covers API key management, timeout configuration, image persistence, error handling, monitoring, and rollback procedures.

Prerequisites

  • Staging environment tested
  • Production API key created (separate from dev)
  • Image storage configured (S3, GCS, or R2)
  • Monitoring stack ready

Pre-Deployment Checklist

API Configuration

  • Production API key stored in secret manager (not .env file)
  • Key is separate from dev/staging keys
  • Auto top-up billing configured with appropriate limits
  • Base URL is https://api.ideogram.ai (no trailing slash)

Request Handling

  • Api-Key header used (not Authorization: Bearer)
  • Request timeout set to 60s+ (generation takes 5-15s, complex prompts longer)
  • Retry logic with exponential backoff on 429 and 5xx
  • Concurrency limited to 8 (below the 10 in-flight limit)
  • Prompt length validated (max 10,000 chars)

Image Persistence

  • Images downloaded immediately after generation (URLs expire ~1 hour)
  • Downloaded to durable storage (S3/GCS/R2), not local filesystem
  • Filenames include seed for reproducibility tracking
  • Generation metadata (prompt, seed, model, style) stored in database

Error Handling

  • 401 triggers key rotation alert
  • 422 (safety filter) logged with sanitized prompt for review
  • 429 handled with retry, not user-facing error
  • 402 (no credits) triggers billing alert and graceful degradation
  • Circuit breaker prevents cascading failures

Content Safety

  • Prompt sanitization removes PII before API call
  • User-submitted prompts validated server-side
  • is_image_safe response field checked before displaying to users
  • Content moderation layer for user-facing applications

Production Health Check

async function ideogramHealthCheck(): Promise<{
  status: "healthy" | "degraded" | "down";
  latencyMs: number;
  details: string;
}> {
  const start = Date.now();
  try {
    const response = await fetch("https://api.ideogram.ai/generate", {
      method: "POST",
      headers: {
        "Api-Key": process.env.IDEOGRAM_API_KEY!,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        image_request: {
          prompt: "health check: simple blue dot",
          model: "V_2_TURBO",
          magic_prompt_option: "OFF",
        },
      }),
      signal: AbortSignal.timeout(30000),
    });

    const latencyMs = Date.now() - start;

    if (response.ok) {
      return { status: "healthy", latencyMs, details: "Generation succeeded" };
    }
    if (response.status === 429) {
      return { status: "degraded", latencyMs, details: "Rate limited" };
    }
    return { status: "down", latencyMs, details: `HTTP ${response.status}` };
  } catch (err: any) {
    return { status: "down", latencyMs: Date.now() - start, details: err.message };
  }
}

Deployment Script

set -euo pipefail
echo "=== Ideogram Pre-Flight Checks ==="

# 1. Verify production key
STATUS=$(curl -s -o /dev/null -w "%{http_code}" \
  -X POST https://api.ideogram.ai/generate \
  -H "Api-Key: $IDEOGRAM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_request":{"prompt":"deploy check","model":"V_2_TURBO","magic_prompt_option":"OFF"}}')

if [ "$STATUS" != "200" ]; then
  echo "FAIL: API returned $STATUS"
  exit 1
fi
echo "PASS: API key valid (HTTP $STATUS)"

# 2. Verify image download
IMAGE_URL=$(curl -s -X POST https://api.ideogram.ai/generate \
  -H "Api-Key: $IDEOGRAM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"image_request":{"prompt":"deploy check","model":"V_2_TURBO","magic_prompt_option":"OFF"}}' \
  | jq -r '.data[0].url')

DL_STATUS=$(curl -s -o /dev/null -w "%{http_code}" "$IMAGE_URL")
echo "PASS: Image download works (HTTP $DL_STATUS)"

echo "=== All pre-flight checks passed ==="

Alerting Rules

AlertConditionSeverity
API UnreachableHealth check returns downP1
Auth FailureAny 401 responseP1
Rate Limited>5 consecutive 429 responsesP2
Slow GenerationP95 latency > 30 secondsP2
Credits LowBalance below $10P2
Safety Rejections>10% of prompts rejectedP3

Rollback Procedure

set -euo pipefail
# If Ideogram is down or producing bad results
# 1. Enable fallback mode (disable image generation, show placeholders)
kubectl set env deployment/app IDEOGRAM_ENABLED=false
kubectl rollout restart deployment/app

# 2. Verify fallback is active
curl -s https://app.example.com/health | jq '.services.ideogram'

# 3. Re-enable when resolved
kubectl set env deployment/app IDEOGRAM_ENABLED=true
kubectl rollout restart deployment/app

Error Handling

AlertConditionAction
API Down5xx or timeoutEnable fallback, notify on-call
Key Revoked401Rotate key, update secrets
Credits Empty402Top up billing, pause batch jobs
Rate Flood429 sustainedReduce concurrency, queue jobs

Output

  • All checklist items verified
  • Health check endpoint configured
  • Alerting rules deployed
  • Rollback procedure tested

Resources

Next Steps

For version upgrades, see ideogram-upgrade-migration.

When not to use it

  • When production infrastructure is not ready
  • When monitoring stack is missing

Prerequisites

Staging environment testedProduction API keyImage storage configured

Limitations

  • Requires durable storage for images
  • API key must be separate from development keys

How it compares

This checklist formalizes the go-live process with specific health checks and rollback scripts rather than relying on manual verification.

Compared to similar skills

ideogram-prod-checklist side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ideogram-prod-checklist (this skill)127dCautionAdvanced
miniprogram-development372moNo flagsIntermediate
azure-functions105moReviewIntermediate
workflow42moReviewIntermediate

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

miniprogram-development

TencentCloudBase

WeChat Mini Program development rules. Use this skill when developing WeChat mini programs, integrating CloudBase capabilities, and deploying mini program projects.

3792

azure-functions

aj-geddes

Create serverless functions on Azure with triggers, bindings, authentication, and monitoring. Use for event-driven computing without managing infrastructure.

10104

workflow

vercel

Creates durable, resumable workflows using Vercel's Workflow DevKit. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow devkit", or step-based orchestration.

431

azure-static-web-apps

github

Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development, configuring staticwebapp.config.json, adding Azure Functions APIs to SWA, or setting up GitHub Actions CI/CD for Static Web Apps.

422

aws-serverless

davila7

Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.

214

cloudrun-development

TencentCloudBase

CloudBase Run backend development rules (Function mode/Container mode). Use this skill when deploying backend services that require long connections, multi-language support, custom environments, or AI agent development.

113

Search skills

Search the agent skills registry