diagram-generator

Solid

Gemini Image Generation API でテキストから図解・インフォグラフィック・ダイアグラムを生成するスキル。 「図を作って」「インフォグラフィック生成」「プロセスを図解して」等のリクエストで発動。

AI & Automation 347 stars 12 forks Updated 1 weeks ago

Install

View on GitHub

Quality Score: 81/100

Stars 20%
85
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
0
Description 5%
100

Skill Content

# Diagram Generator Generate visual diagrams and infographics from text descriptions. ## Workflow 1. Provide topic/text to visualize 2. Gemini Flash optimizes the image generation prompt 3. Gemini Image generates the visualization 4. Outputs PNG image ## Usage ```bash python scripts/generate_diagram.py "{topic}" --style "{style}" --aspect_ratio "{ratio}" ``` ## Parameters | Parameter | Required | Default | Description | |-----------|----------|---------|-------------| | topic | Yes | - | Topic or text to visualize | | --style | No | colorful_infographic | Visual style | | --aspect_ratio | No | 16:9 | Output ratio | | --output | No | auto | Output path | ## Styles | Style | Description | |-------|-------------| | colorful_infographic | Vibrant icons, organized layout (default) | | sketch | Hand-drawn, pencil texture | | minimalist | Clean, simple geometric shapes | | photorealistic | High-quality photo look | | claymation | 3D clay texture, playful | | pixel_art | Retro game style | ## Aspect Ratios `16:9`, `1:1`, `4:3`, `3:4`, `9:16`, `21:9` ## Examples ```bash # Basic diagram python scripts/generate_diagram.py "How photosynthesis works" # Minimalist style python scripts/generate_diagram.py "Machine learning pipeline" --style minimalist # Portrait format python scripts/generate_diagram.py "Company org chart" --aspect_ratio 9:16 # From long text python scripts/generate_diagram.py "Gemini is a multimodal AI model that can understand text, images, and code..." --...

Details

Author
minicoohei
Repository
minicoohei/ai-agent-camp
Created
5 months ago
Last Updated
1 weeks ago
Language
Python
License
None

Similar Skills

Semantically similar based on skill content — not just same category