ideogram-rate-limits

Featured

Implement Ideogram rate limiting, backoff, and request queuing patterns. Use when handling rate limit errors, implementing retry logic, or optimizing API request throughput for Ideogram. Trigger with phrases like "ideogram rate limit", "ideogram throttling", "ideogram 429", "ideogram retry", "ideogram backoff", "ideogram queue".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Ideogram Rate Limits ## Overview Handle Ideogram's rate limits with exponential backoff, request queuing, and concurrency control. Ideogram enforces a default limit of **10 in-flight requests** (concurrent, not per-minute). Image generation takes 5-15 seconds per call, so this limit can be hit quickly during batch operations. ## Prerequisites - `IDEOGRAM_API_KEY` configured - Understanding of async patterns - `p-queue` npm package (optional, for queue-based approach) ## Ideogram Rate Limit Model | Aspect | Detail | |--------|--------| | Type | Concurrent in-flight requests | | Default limit | 10 simultaneous requests | | Error code | HTTP 429 | | Retry header | Not guaranteed -- use exponential backoff | | Higher limits | Contact `partnership@ideogram.ai` | | Generation time | 5-15s per image (varies by model/resolution) | ## Instructions ### Step 1: Exponential Backoff with Jitter ```typescript async function withBackoff<T>( operation: () => Promise<T>, config = { maxRetries: 5, baseMs: 1000, maxMs: 30000, jitterMs: 500 } ): Promise<T> { for (let attempt = 0; attempt <= config.maxRetries; attempt++) { try { return await operation(); } catch (err: any) { if (attempt === config.maxRetries) throw err; const status = err.status ?? err.response?.status; // Only retry on 429 (rate limited) or 5xx (server error) if (status && status !== 429 && status < 500) throw err; const exponential = config.baseMs * Math.pow(2, attempt...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category