ideogram-sdk-patterns
Installation
SKILL.md
Ideogram SDK Patterns
Overview
Production-ready patterns for Ideogram's REST API. Since Ideogram has no official SDK, these patterns provide type-safe wrappers, retry logic, response validation, and multi-tenant support for the api.ideogram.ai endpoints.
Prerequisites
- Completed
ideogram-install-authsetup - Familiarity with async/await and fetch API
- Understanding of Ideogram response lifecycle (URLs expire)
Instructions
Step 1: Singleton Client with Auto-Download
// src/ideogram/client.ts
import { writeFileSync, mkdirSync } from "fs";
import { join } from "path";
const API_BASE = "https://api.ideogram.ai";
Related skills