agentsclimarketplace

Ideogram install auth

Skill jeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/ideogram-pack/skills/ideogram-install-auth

'Install and configure Ideogram API authentication.From its SKILL.md

Install
npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill ideogram-install-auth

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

5.3 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it

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.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.