Install
openclaw skills install doc-illustration-by-gpt-image-2Generate technical-document illustrations, design-note infographics, and repo architecture visuals using OpenAI GPT Image 2. Use when agent needs to turn AI notes, engineering docs, Markdown design specs, or codebase explanations into polished insertable images. Supports text-only generation, reference-image-plus-text style-guided generation, and prompt-only dry-run review.
openclaw skills install doc-illustration-by-gpt-image-2Use this skill to create polished illustrations for technical writing.
flat-tech-infographicflat-illustration, sketchnote, soft-tech-diagram, repo-architecture-clean--dry-run.Use:
uv run scripts/generate_doc_illustration.py \
--title "RAG Pipeline Overview" \
--brief "Create a technical infographic showing ingestion, chunking, embedding, retrieval, reranking, and answer synthesis." \
--style-profile flat-tech-infographic
Use --mode reference+text --reference-image <path> when the new image should follow the style of one or more reference images.
Use --dry-run when the user wants the exact prompt and parameters without calling the API.
Default output settings:
--size auto for best compatibility with GPT image providers--quality auto for high-fidelity default behavior without over-constraining the request--size doc-hd for an explicit landscape document illustration size (1536x1024)--size doc-2k for a 2K landscape document illustration size (2048x1152)--size doc-4k for a 4K landscape document illustration size (3840x2160)OPENAI_API_KEY from the current shell first.OPENAI_BASE_URL from the current shell second.OPENAI_API_KEY is missing for a live generation run, prompt temporarily in an interactive shell or tell the user to export the environment variable.gpt-image-2 for official OpenAI and for https://aihubmix.com/v1.openai/gpt-image-2 for https://api.ofox.ai/v1.gpt-image-2 unless a provider requires a namespaced model name.references/style-profiles.md when selecting or explaining styles.references/prompt-patterns.md when the requested illustration type needs prompt refinement.references/openai-image-workflow.md when debugging auth, request modes, or output behavior.references/openai-official-links.md when you need the official OpenAI docs for GPT Image, Images API, or Python examples.