← 返回
未分类 Key 中文

doc-illustration-by-gpt-image-2

Generate technical-document illustrations, design-note infographics, and repo architecture visuals using OpenAI GPT Image 2. Use when agent needs to turn AI...
使用 OpenAI GPT Image 2 生成技术文档插图、设计说明信息图和仓库架构图。当代理需要将 AI 生成的文本转化为可视化时使用。
eriklee1895 eriklee1895 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 316
下载
💾 0
安装
1
版本
#latest

概述

Doc Illustration

Use this skill to create polished illustrations for technical writing.

Quick workflow

  1. Identify the illustration type:
    • architecture diagram
    • process diagram
    • knowledge card
    • repo or module relationship diagram
    • technical infographic
  2. Pick a style profile:
    • default: flat-tech-infographic
    • optional: flat-illustration, sketchnote, soft-tech-diagram, repo-architecture-clean
  3. If the user supplied reference images, treat them as style guidance only.
  4. Prefer document-friendly landscape output unless the user requests another ratio.
  5. Prefer concise bilingual labels and short notes over paragraph-heavy copy.
  6. If the user wants to inspect the prompt first, use --dry-run.
  7. For live generation, run the bundled script.

Script

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 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
  • use --size doc-hd for an explicit landscape document illustration size (1536x1024)
  • use --size doc-2k for a 2K landscape document illustration size (2048x1152)
  • use --size doc-4k for a 4K landscape document illustration size (3840x2160)

Authentication

  • Read OPENAI_API_KEY from the current shell first.
  • Read OPENAI_BASE_URL from the current shell second.
  • If 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.
  • Do not write credentials to disk.

Model selection

  • Use gpt-image-2 for official OpenAI and for https://aihubmix.com/v1.
  • Use openai/gpt-image-2 for https://api.ofox.ai/v1.
  • Default back to gpt-image-2 unless a provider requires a namespaced model name.

References

  • Read references/style-profiles.md when selecting or explaining styles.
  • Read references/prompt-patterns.md when the requested illustration type needs prompt refinement.
  • Read references/openai-image-workflow.md when debugging auth, request modes, or output behavior.
  • Read references/openai-official-links.md when you need the official OpenAI docs for GPT Image, Images API, or Python examples.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 23:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

design-media

Video Frames

steipete
使用 ffmpeg 从视频中提取帧或短片。
★ 136 📥 53,138
design-media

UI/UX Pro Max

xobi667
提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UI(HTML/CSS/JS、React、Next.js、Vue、Svelte
★ 224 📥 48,588
design-media

Openai Whisper

steipete
使用 Whisper CLI 进行本地语音转文字(无需 API 密钥)
★ 335 📥 94,518