# Usage ```bash /baoyu-article-illustrator path/to/article.md # auto-select type and style /baoyu-article-illustrator path/to/article.md --type flowchart --style notion /baoyu-article-illustrator path/to/article.md --density rich /baoyu-article-illustrator path/to/article.md --batch-size 4 # up to 4 images in parallel after prompts are saved /baoyu-article-illustrator api-design.md --preset tech-explainer /baoyu-article-illustrator how-to-deploy.md --preset tutorial --density rich /baoyu-article-illustrator article.md --preset tech-explainer --style notion # preset with override # Direct content input (paste mode) /baoyu-article-illustrator [paste content] ``` ## Options | Option | Description | |--------|-------------| | `--type ` | Illustration type (see Three Dimensions in SKILL.md) | | `--style ` | Visual style (see [styles.md](styles.md)) | | `--preset ` | Shorthand for type + style combo (see [style-presets.md](style-presets.md)) | | `--density ` | Image count: minimal / balanced / rich | | `--batch-size ` | Temporary generation batch size for this run. Default: `generation_batch_size` from EXTEND.md, otherwise 4. Clamp to 1-8. | ## Input Modes | Mode | Trigger | Output Directory | |------|---------|------------------| | File path | `path/to/article.md` | Use `default_output_dir` preference, or ask if not set (values: Output Directory in SKILL.md) | | Paste content | No path argument | `illustrations/{topic-slug}/` |