ID

ideogram-install-auth

Guidelines and commands for authenticating with the Ideogram REST API using environment-based keys.

Install

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

Installs to .claude/skills/ideogram-install-auth

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.

Install and configure Ideogram API authentication.
50 charsno explicit “when” trigger
Beginner

Key capabilities

  • Set up Ideogram API authentication
  • Configure `Api-Key` header for requests
  • Install HTTP client libraries for Node.js
  • Install HTTP client libraries for Python
  • Create and configure `.env` files for API keys

How it works

This skill guides the user through obtaining an Ideogram API key, installing necessary HTTP client libraries, and configuring the API key as an environment variable for authentication.

Inputs & outputs

You give it
Ideogram API key from dashboard
You get back
Environment variable `IDEOGRAM_API_KEY` configured and a successful test generation

When to use ideogram-install-auth

  • Initializing Ideogram API authentication in a new project
  • Setting up secure .env files for production credentials
  • Installing necessary HTTP clients for API communication

About this skill

Ideogram Install & Auth

Overview

Set up Ideogram API authentication for AI image generation. Ideogram provides a REST API at api.ideogram.ai for text-to-image generation, editing, remixing, upscaling, and describing images. Authentication uses an Api-Key header on every request.

Prerequisites

  • Node.js 18+ or Python 3.10+
  • Ideogram account at ideogram.ai
  • API key from Ideogram dashboard (Settings > API Beta)
  • Payment method configured (auto top-up billing)

Instructions

Step 1: Get Your API Key

  1. Log into ideogram.ai
  2. Navigate to Settings (burger icon) > API Beta
  3. Accept the Developer API Agreement
  4. Click Manage Payment and add billing info via Stripe
  5. Click Create API key -- store it immediately, it is shown only once

Step 2: Install HTTP Client

set -euo pipefail
# Node.js (no SDK required -- Ideogram uses a plain REST API)
npm install dotenv

# Python
pip install requests python-dotenv

Step 3: Configure Authentication

# Create .env file (NEVER commit to git)
echo 'IDEOGRAM_API_KEY=your-api-key-here' >> .env

# Add to .gitignore
echo '.env' >> .gitignore
echo '.env.local' >> .gitignore

Step 4: Verify Connection

// verify-ideogram.ts
import "dotenv/config";

async function verifyIdeogramAuth() {
  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: "A simple blue circle on white background",
        model: "V_2_TURBO",
        aspect_ratio: "ASPECT_1_1",
        magic_prompt_option: "OFF",
      },
    }),
  });

  if (response.ok) {
    const result = await response.json();
    console.log("Auth verified. Image URL:", result.data[0].url);
    console.log("Seed:", result.data[0].seed);
  } else {
    const err = await response.text();
    console.error(`Auth failed (${response.status}):`, err);
  }
}

verifyIdeogramAuth();
# verify_ideogram.py
import os, requests
from dotenv import load_dotenv

load_dotenv()

response = requests.post(
    "https://api.ideogram.ai/generate",
    headers={
        "Api-Key": os.environ["IDEOGRAM_API_KEY"],
        "Content-Type": "application/json",
    },
    json={
        "image_request": {
            "prompt": "A simple blue circle on white background",
            "model": "V_2_TURBO",
            "aspect_ratio": "ASPECT_1_1",
            "magic_prompt_option": "OFF",
        }
    },
)

if response.ok:
    data = response.json()
    print("Auth verified. Image URL:", data["data"][0]["url"])
else:
    print(f"Auth failed ({response.status_code}):", response.text)

API Base URLs

API VersionBase URLNotes
Legacy (V_2)https://api.ideogram.ai/generateJSON body with image_request wrapper
V3 Generatehttps://api.ideogram.ai/v1/ideogram-v3/generateMultipart form data
V3 Edithttps://api.ideogram.ai/v1/ideogram-v3/editMultipart form data
V3 Remixhttps://api.ideogram.ai/v1/ideogram-v3/remixMultipart form data
V3 Reframehttps://api.ideogram.ai/v1/ideogram-v3/reframeMultipart form data
Upscalehttps://api.ideogram.ai/upscaleMultipart form data
Describehttps://api.ideogram.ai/describeMultipart form data

Billing Model

  • Auto top-up: balance refills to $20 when it drops below $10 (configurable)
  • Default rate limit: 10 in-flight requests
  • Image URLs expire -- download immediately after generation
  • Enterprise: contact [email protected] for higher limits

Error Handling

ErrorHTTP StatusCauseSolution
Invalid API Key401Key missing or revokedVerify key in dashboard, regenerate if needed
Rate Limited429Exceeded 10 in-flight requestsQueue requests, add backoff
Insufficient Credits402Balance depletedTop up via dashboard billing
Safety Rejected422Prompt or image failed safety checkRephrase prompt, remove flagged content

Output

  • Environment variable IDEOGRAM_API_KEY configured
  • .env file with key (git-ignored)
  • Successful test generation confirming connectivity

Resources

Next Steps

After successful auth, proceed to ideogram-hello-world for your first real generation.

When not to use it

  • When an Ideogram account is not available
  • When an API key has not been generated from the Ideogram dashboard
  • When a payment method is not configured for auto top-up billing

Prerequisites

Node.js 18+ or Python 3.10+Ideogram account at ideogram.aiAPI key from Ideogram dashboard (Settings > API Beta)Payment method configured (auto top-up billing)

Limitations

  • API keys are shown only once upon creation
  • Rate limits apply to in-flight requests
  • Image URLs expire and require immediate download

How it compares

This skill automates the setup of Ideogram API authentication, including environment variable configuration and client installation, which is more direct than manually setting up each component.

Compared to similar skills

ideogram-install-auth side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
ideogram-install-auth (this skill)124dCautionBeginner
mcp-builder1363moReviewAdvanced
ollama-setup1124dReviewBeginner
copilot-sdk73moReviewIntermediate

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

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

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

copilot-sdk

github

Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.

763

openrouter-function-calling

jeremylongshore

Implement function/tool calling with OpenRouter models. Use when building agents or structured outputs. Trigger with phrases like 'openrouter functions', 'openrouter tools', 'openrouter agent', 'function calling'.

539

ai-agents-architect

davila7

Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration. Use when: build agent, AI agent, autonomous agent, tool use, function calling.

534

ai-engineer

sickn33

Build production-ready LLM applications, advanced RAG systems, and intelligent agents. Implements vector search, multimodal AI, agent orchestration, and enterprise AI integrations. Use PROACTIVELY for LLM features, chatbots, AI agents, or AI-powered applications.

725

Search skills

Search the agent skills registry