Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/ideogram-performance-tuning

@0d57af8
Run it yourself

Optimize Ideogram latency and throughput through route choice, bounded media, concurrency, async handling, and immediate storage. Use when improving an established workload without weakening quality or safety. Trigger with "speed up Ideogram", "profile Ideogram latency", or "optimize Ideogram throughput".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/ideogram-performance-tuning

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈84 tokens for metadata: the name and description. ≈959 when used: this file. ≈620 more on demand in 1 file.

Description uses 4.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈336 characters, or 4.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Ideogram Performance Tuning

Overview

Improve end-to-end time and useful throughput with measurements, not unsupported rendering flags. Separate queue wait, upload, vendor generation, webhook or polling, download, validation, and storage so optimization preserves safety, quality, cost, and asset durability.

Prerequisites

  • Representative synthetic workload, latency and throughput SLOs, quality floor, and cost ceiling.
  • Per-stage metrics, current endpoint mix, output count, media sizes, and concurrency policy.
  • Approved benchmark budget, isolated destination, and cleanup owner.

Current Contract

Ideogram offers synchronous and asynchronous routes plus V4, transparency, P-Image, V3, and outcome-focused tools. Route-specific rendering options differ; V4 FLASH currently returns 400. Default capacity is 10 in-flight requests, and returned asset URLs require prompt download.

Authentication

Benchmark workers use server-side IDEOGRAM_API_KEY through Api-Key to https://api.ideogram.ai. Metrics label endpoint, status, stage, and content-free workload class, never prompt or image content.

Instructions

  1. Measure queue, upload, generation, reconciliation, download, validation, and storage latency separately at p50, p95, and p99.
  2. Confirm the selected endpoint is the narrowest route that meets model, transparency, edit, or tool requirements.
  3. Bound input bytes, dimensions, output count, and post-processing; reject work unlikely to meet its deadline.
  4. Move long work to async, persist generation_id, acknowledge application requests early, and reconcile by webhook plus polling.
  5. Tune shared concurrency below observed capacity while tracking 429, timeout, queue age, and cost per useful output.
  6. Compare one change at a time against the quality and safety floor; canary before rollout.
  7. Remove benchmark assets and restore the prior setting when any guardrail regresses.

Tool Discipline

Use Read, Glob, and Grep to inspect metrics, queues, adapters, and fixtures. Use Write and Edit for approved instrumentation or tuning changes. Do not launch a paid benchmark or alter production capacity merely because this skill was selected.

Approval Boundaries

Require owners for benchmark spend, traffic sampling, model or rendering changes, quality evaluation, concurrency increases, and deployment. Never trade away safety checks or durable persistence for lower apparent latency.

Error Handling

  • Unsupported V4 FLASH is a validation defect, not a performance strategy.
  • A faster response with an unsafe or unpersisted image is not a successful sample.
  • Stop a benchmark on rising errors, queue runaway, budget exhaustion, or storage cleanup failure.

Output

Return baseline and candidate stage metrics, route and settings, concurrency, useful-output counts, error and safety rates, cost, statistical limitations, canary state, and rollback receipt. Exclude content and credentials.

Examples

  • Move batch generation from synchronous request threads to async submission and webhook reconciliation.
  • Reduce oversized uploads before increasing concurrency, then compare p95 end-to-end durable completion.

Validation

Repeat the benchmark with the same synthetic workload, compare distributions and guardrails, verify account-wide pressure, and test rollback. Confirm all benchmark objects and temporary URLs are removed.

Resources

  • Current first-party evidence map — use the dated endpoint, webhook, billing, team, and training links as the contract index for this workflow.
  • Recheck the endpoint-specific page and current OpenAPI description before relying on an enum, limit, beta feature, or lifecycle claim.
  • Record live observations as environment-specific evidence, not as universal vendor guarantees.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides legitimate and secure implementation patterns for optimizing Ideogram API performance, including caching, parallelization, and CDN integration. It follows security best practices by using environment variables for secret management.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
What it can do
Reads files Edits files
Modelinherit
argument-hint
<workload> <latency-slo> <quality-floor>
version
1.11.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 5 allowed tools
ReadGlobGrepWriteEdit
Other metadata
tags
[
  "saas",
  "ideogram",
  "performance"
]
model
inherit
effort
high
compatibility
Designed for Claude Code; paid benchmarks require a bounded test plan

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/ideogram-performance-tuning