Apply Ideogram security best practices for secrets and access control. Use when securing API keys, implementing least privilege access, or auditing Ideogram security configuration. Trigger with...
Threat-model the full image lifecycle rather than only the API key. Protect server-side authority, uploaded bytes, prompt and structured-description content, safety decisions, copyright settings, temporary vendor URLs, durable assets, and cross-tenant access.
Ideogram uses a server-side Api-Key. Returned items expose is_image_safe; unsafe items can have an empty URL. V4 supports enable_copyright_detection, and request plus organization settings combine as an OR gate. Generated URLs expire and must not become the application's authorization layer.
Store IDEOGRAM_API_KEY in a managed secret store and send it only to https://api.ideogram.ai. Authenticate application users separately, authorize each operation and object by tenant, and issue application-owned short-lived download access after durable storage.
is_image_safe, validate download type and size, store under opaque tenant-scoped keys, and discard vendor URLs.Use Read, Glob, and Grep to inspect code, policies, infrastructure, and fixtures. Use Write and Edit for approved hardening and tests. Do not open customer media, rotate production keys, weaken policy, or run live generation without authority.
Require accountable approval for sensitive-image processing, copyright-control changes, external publication, retention exceptions, identity or role changes, key rotation, and production rollout. Fail closed when rights or tenant ownership is ambiguous.
Return boundaries reviewed, controls present or missing, risk severity, evidence locations, tests, owners, remediation, deployment state, and rollback. Exclude credentials, content, URLs, and exploitable secret locations.
Run secret scanning, authorization tests, media parser fixtures, safety branches, storage isolation, deletion, and key-rotation rehearsal. Confirm logs and traces contain no key, prompt, URL, or binary content.