skills/openai-text-to-image-storyboard/SKILL.md
Generate storyboard images by using agent-decided prompts and calling an OpenAI-compatible image generation API. Use when users want chapters, novels, articles, or scripts converted into image sets under pictures/{content_name}, with API URL and API key loaded from this skill folder's .env by default.
npx skillsauth add laitszkin/apollo-toolkit openai-text-to-image-storyboardInstall 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.
.env, and call the storyboard generator in the same turn whenever possible./images/generations, and leave role-schema management to the video orchestration skills.storyboard.json under pictures/<content_name>/ without overwriting existing filenames.prompts.json)..env first, then call /images/generations to render images.storyboard.json.--prompts-file with valid JSON.roles.json schema in this skill; role schema details belong to video-production or novel-to-short-video.Create .env in this skill folder (default path used by script):
~/.codex/skills/openai-text-to-image-storyboard/.envYou can still override via --env-file when needed.
All CLI parameters take priority over environment variables.
OPENAI_API_URL (required)OPENAI_API_KEY (required)OPENAI_IMAGE_MODEL (optional, default gpt-image-1)OPENAI_IMAGE_RATIO (optional, e.g. 16:9 / 4:3; recommended)OPENAI_IMAGE_ASPECT_RATIO (optional fallback alias)OPENAI_IMAGE_SIZE (optional, e.g. 1024x768, for providers that expect size)OPENAI_IMAGE_QUALITY (optional)OPENAI_IMAGE_STYLE (optional)A template is provided at:
~/.codex/skills/openai-text-to-image-storyboard/.env.exampleUse JSON prompt file:
apltk generate-storyboard-images \
--project-dir /path/to/project \
--env-file ~/.codex/skills/openai-text-to-image-storyboard/.env \
--content-name "1_chapter_title" \
--prompts-file /path/to/prompts.json
prompts.json format:
[
{
"title": "Rain Chase",
"prompt": "cinematic rain-soaked alley, tense running pose, blue neon reflections, dramatic rim light"
},
{
"title": "Underground Archive",
"prompt": "ancient underground library, floating dust in warm volumetric light, mysterious atmosphere"
}
]
Notes:
prompts.json must be valid JSON.roles.json and recurring-role definitions), follow video-production or novel-to-short-video.aspect_ratio, pass --image-size 1024x768 or set OPENAI_IMAGE_SIZE=1024x768.--api-url and --api-key to override OPENAI_API_URL and OPENAI_API_KEY.references/generate-storyboard-images.md — apltk generate-storyboard-images 工具的完整參數說明。在執行 CLI 生成圖片前閱讀。Generated files:
pictures/1_chapter_title/01_rain_chase.pngpictures/1_chapter_title/02_underground_archive.pngpictures/1_chapter_title/storyboard.jsonIf a filename already exists, the script appends _2, _3, etc. to avoid overwriting.
development
Read a user-specified PDF that marks the week's key financial events, deeply research each marked event with current sources, capture any additional breaking financial developments, and produce a concise Chinese-capable PDF briefing that explains what happened and why it matters.
documentation
Generate long-form videos (more than 10 minutes) by following user instructions and invoking related skills only when needed (`openai-text-to-image-storyboard`, `docs-to-voice`, `remotion-best-practices`). For text inputs, extract a complete long-form story arc, generate fresh storyboard images (no reuse of previously generated pictures), and render a 16:9 animated long-form video.
tools
協助完成自動化版本發佈。同步文檔、更新版本號、推送 tag 並建立 GitHub Release。
development
Incrementally refresh the architecture atlas when the project diagram drifts from actual code. Measures drift before updating to determine scope, then updates the base atlas and re-renders HTML.