一键导入
openai-image-gen
Generate images via OpenAI Images API through aivault (no OpenAI API key in skill runtime). Writes images plus an index.html gallery.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate images via OpenAI Images API through aivault (no OpenAI API key in skill runtime). Writes images plus an index.html gallery.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Complete guide for building Moldable apps. Use this skill when creating or modifying apps, creating or managing Scheduled automations, implementing workspace-aware storage, using typed native APIs for media, location, clipboard, notifications, displays, shortcuts, power/session state, local authentication, haptics, secure storage, USB, HID, serial, MIDI, or Bluetooth, declaring nativeHardware permissions, integrating with Moldable desktop messages, publishing artifacts, configuring workspaces, managing skills/MCPs, or troubleshooting app issues.
Author, review, and template beautiful responsive presentations and interactive web artifacts in the Moldable Slides and Artifacts apps. Use when the user wants to create or edit a slide deck, pitch, talk, interactive report, calculator/chart/table experience, durable runtime state, deck/page template, or publishable artifact in Moldable. Covers optional deck runtimes, staged builds, responsive page/deck authoring, persistence, and the Slides/Artifacts RPC APIs instead of standalone files.
Complete guide for using aivault as a zero-trust local vault and proxy for API secrets. Use this skill when initializing/configuring aivault, managing secrets and credentials, invoking capability-backed API calls, setting workspace/group isolation, adding custom providers, or troubleshooting daemon and policy issues.
Search, scrape, crawl, map, parse, and operate Firecrawl browser/agent workflows through aivault-backed Firecrawl API capabilities. No Firecrawl API key is read by the skill runtime.
Transcribe audio with Deepgram through aivault capability json (no provider API key in skill runtime).
Transcribe audio with ElevenLabs speech-to-text through aivault capability json (no provider API key in skill runtime).
| name | openai-image-gen |
| description | Generate images via OpenAI Images API through aivault (no OpenAI API key in skill runtime). Writes images plus an index.html gallery. |
| compatibility | Requires `aivault` CLI and Node.js (runs via `npx tsx`). |
| credentials | [{"name":"OPENAI_API_KEY","description":"OpenAI API key for image generation","required":true}] |
This skill uses aivault to keep your OpenAI API key safe. The script only invokes openai/image-generation.
Install aivault if it is not already available:
curl -fsSL https://aivault.moldable.sh/install.sh | sh
Store your OpenAI API key in aivault. The credential and all openai/* capabilities are auto-provisioned from the built-in registry.
aivault secrets create --name OPENAI_API_KEY --value "sk-..." --scope global
This skill uses openai/image-generation.
npx -y tsx {baseDir}/scripts/generate.ts --count 8
npx -y tsx {baseDir}/scripts/generate.ts --prompt "ultra-detailed studio photo of a lobster astronaut" --count 4
npx -y tsx {baseDir}/scripts/generate.ts --model gpt-image-1 --size 1536x1024 --quality high --out-dir ./out/images
npx -y tsx {baseDir}/scripts/generate.ts --model dall-e-3 --style vivid --prompt "serene mountain landscape" --count 1
npx -y tsx {baseDir}/scripts/generate.ts --json
--out-dir (default: ./tmp/openai-image-gen-<timestamp>).prompts.json mapping prompt to filename.index.html thumbnail gallery.