Install and configure Ideogram SDK/CLI authentication. Use when setting up a new Ideogram integration, configuring API keys, or initializing Ideogram in your project. Trigger with phrases like...
Establish a reviewable Ideogram API boundary before any paid generation runs. Separate developer-account enrollment, team ownership, billing, secret storage, and application authorization so a valid key never becomes accidental authority for a browser or untrusted tenant.
Ideogram API subscriptions and web-app subscriptions are billed separately. Keys are created in the API dashboard, displayed once, revocable, and shared against the team's credit balance. Team roles are Owner, Admin, and Member; multiple keys do not create separate balances.
Store the key as IDEOGRAM_API_KEY and send it only in the Api-Key header to https://api.ideogram.ai. Never place it in source control, URLs, browser bundles, prompts, logs, screenshots, or client telemetry. Treat application user authorization as a separate control.
Use Read, Glob, and Grep to inspect dependency, configuration, and deployment surfaces. Use Write and Edit only for approved configuration or documentation changes. Invocation alone does not authorize key creation, billing changes, team membership changes, paid generation, or deployment.
Require explicit ownership before adding credit, enabling auto-recharge, creating or revoking a key, changing a team role, sending sensitive prompts or images, or deploying a live integration. Repository inspection and synthetic offline validation remain read-only.
401 points first to a missing, malformed, revoked, or wrong-environment key.Return the environment, team and role boundary, secret-manager reference name, API host, billing readiness, offline and live-check status, evidence identifiers, risks, and rollback state. Exclude the credential, prompts, images, expiring URLs, and customer data.
environment=staging; auth=Api-Key; credit=positive; live_smoke=approved; rollback=key-revocation-ready.Verify the header name and host, scan tracked files for accidental values, confirm no browser exposure, and check that the accountable owner can revoke the key. A successful generation is not sufficient if evidence retention or billing ownership is unresolved.