skills/openai-image-gen/SKILL.md
Generate images via OpenAI Images API through aivault (no OpenAI API key in skill runtime). Writes images plus an index.html gallery.
npx skillsauth add moldable-ai/skills openai-image-genInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.development
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.
data-ai
Manage Trello boards/lists/cards via aivault-backed capabilities (no Trello key/token in skill runtime).
documentation
Manage Todoist tasks/projects/comments via aivault-backed capabilities (no Todoist token in skill runtime).
development
Transcribe local audio files with OpenAI speech-to-text through aivault capability json (no provider API key in skill runtime).