ideogram-deploy-integration
Deploy Ideogram integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying Ideogram-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy ideogram", "ideogram Vercel", "ideogram production deploy", "ideogram Cloud Run", "ideogram Fly.io".
- License 许可
- MIT
- 最近更新
- 2026-03-20
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- ideogram-deploy-integration
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Deploy Ideogram integrations to Vercel, Fly.io, and Cloud Run platforms. Use when deploying Ideogram-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy ideogram", "ideogram Vercel", "ideogram production deploy", "ideogram Cloud Run", "ideogram Fly.io".
- allowed-tools
- Read, Write, Edit, Bash(vercel:*), Bash(fly:*), Bash(gcloud:*)
- compatible-with
- claude-code, codex, openclaw
03 SKILL.md 正文
Ideogram Deploy Integration
Overview
Deploy applications using Ideogram's AI image generation API (api.ideogram.ai). Covers API key management, deploying generation endpoints with proper timeout configuration, image storage setup, and CDN integration for serving generated images.
Prerequisites
- Ideogram API key stored in
IDEOGRAM_API_KEYenvironment variable - Cloud storage for generated images (S3, GCS, or R2)
- Platform CLI installed (vercel, docker, or gcloud)
Instructions
Step 1: Configure Secrets
# Vercel
vercel env add IDEOGRAM_API_KEY production
vercel env add IMAGE_STORAGE_BUCKET production
# Cloud Run
echo -n "your-key" | gcloud secrets create ideogram-api-key --data-file=-
Step 2: Generation API Endpoint
// api/generate.ts
export async function POST(req: Request) {
const { prompt, style, aspectRatio } = await req.json();
const response = await fetch("https://api.ideogram.ai/generate", {
method: "POST",
headers: {
"Api-Key": process.env.IDEOGRAM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
image_request: {
prompt,
model: "V_2",
style_type: style || "REALISTIC",
aspect_ratio: aspectRatio || "ASPECT_1_1",
magic_prompt_option: "AUTO",
},
}),
});
const result = await response.json();
// Upload to cloud storage
const images = [];
for (const img of result.data) {
const stored = await uploadToStorage(img.url);
images.push(stored);
}
return Response.json({ images });
}
Step 3: Docker with Image Processing
FROM node:20-slim
RUN apt-get update && apt-get install -y libvips-dev
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
RUN npm run build
EXPOSE 3000 # 3000: 3 seconds in ms
CMD ["node", "dist/index.js"]
Step 4: Vercel Configuration
{
"functions": {
"api/generate.ts": {
"maxDuration": 60
}
}
}
Step 5: Health Check
export async function GET() {
const hasKey = !!process.env.IDEOGRAM_API_KEY;
return Response.json({ status: hasKey ? "healthy" : "missing_key" });
}
Error Handling
| Issue | Cause | Solution |
|---|---|---|
| Generation timeout | Complex prompt | Increase function timeout to 60s |
| Content filtered | Prompt policy violation | Review Ideogram content guidelines |
| Storage upload fails | Bad credentials | Verify storage bucket permissions |
| Rate limited | Too many requests | Queue generation jobs |
Examples
Basic usage: Apply ideogram deploy integration to a standard project setup with default configuration options.
Advanced scenario: Customize ideogram deploy integration for production environments with multiple constraints and team-specific requirements.
Resources
Next Steps
For multi-environment setup, see ideogram-multi-env-setup.
Output
- Configuration files or code changes applied to the project
- Validation report confirming correct implementation
- Summary of changes made and their rationale
04 同仓库更多 Skills
azure-apim-architecture
Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.
apiops-deployment
Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep/Terraform), CI/CD pipelines (GitHub Actions/Azure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.
apim-policy-authoring
Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request/response processing logic.
api-security-review
Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.
jira-cli
Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.
calculator
Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.