| name | ideogram-enterprise-rbac |
| description | Implement team-based access control and credit management for Ideogram.
Use when managing multiple teams with separate budgets, enforcing content policies,
or implementing API key isolation for enterprise Ideogram usage.
Trigger with phrases like "ideogram RBAC", "ideogram enterprise",
"ideogram teams", "ideogram permissions", "ideogram multi-tenant".
|
| allowed-tools | Read, Write, Edit |
| version | 1.10.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","ideogram","rbac","enterprise"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Ideogram Enterprise RBAC
Overview
Implement team-based access control for Ideogram's API. Since Ideogram uses a single API key per account with no built-in roles or scopes, enterprise access control must be implemented at the application layer: separate API keys per team, proxy-based content filtering, per-team budget limits, and usage tracking.
Architecture
┌──────────────────────────────────────────┐
│ Application Proxy Layer │
│ ┌──────────┐ ┌──────────┐ ┌────────┐ │
│ │ Marketing│ │ Product │ │ Social │ │
│ │ API Key │ │ API Key │ │API Key │ │
│ └────┬─────┘ └────┬─────┘ └───┬────┘ │
│ └──────────────┼────────────┘ │
│ ▼ │
│ ┌────────────────────────────────────┐ │
│ │ Content Filter + Budget Enforcer │ │
│ └──────────────────┬─────────────────┘ │
└─────────────────────┼────────────────────┘
▼
Ideogram API (api.ideogram.ai)
Instructions
Step 1: Team Configuration
interface TeamConfig {
name: string;
apiKey: string;
dailyBudgetUSD: number;
allowedStyles: string[];
allowedModels: string[];
maxConcurrency: number;
contentPolicy: "strict" | "moderate" | "permissive";
}
const TEAM_CONFIGS: Record<string, TeamConfig> = {
marketing: {
name: "Marketing",
apiKey: process.env.IDEOGRAM_KEY_MARKETING!,
dailyBudgetUSD: 20,
allowedStyles: [, ],
: [, ],
: ,
: ,
},
: {
: ,
: process..!,
: ,
: [, , , ],
: [, ],
: ,
: ,
},
: {
: ,
: process..!,
: ,
: [, , ],
: [],
: ,
: ,
},
};