Usage
Commands
demo
Generate a complete demo dispatch guide with photo variations.| Flag | Default | Description |
|---|---|---|
--output, -o | output | Output directory |
--presets | all 8 presets | Space-separated preset names |
| Flag | Default | Description |
|---|---|---|
--doc-json | (uses demo doc) | Path to document JSON file |
--output, -o | output | Output directory |
photos
Generate photo variations from an existing PNG image.| Flag | Default | Description |
|---|---|---|
--image | (required) | Path to source document image (PNG) |
--output, -o | output | Output directory |
--presets | all 8 presets | Space-separated preset names |
upload
Upload a PDF or image, detect schema, and generate verified photo variations.| Flag | Default | Description |
|---|---|---|
--image | (required) | Path to PDF or image file |
--output, -o | output | Output directory |
--presets | full_picture, folded_skewed, blurry | Space-separated preset names |
Available Presets
| Name | Description |
|---|---|
full_picture | Clean photo, 90% coverage, slight angle |
folded_skewed | Dog ear folds, strong curvature, moderate skew |
zoomed_detail | 95% coverage, tight crop |
blurry | Motion blur, overall soft focus |
cropped_header | Top 10-15% cut off |
strong_oblique | 45 degree angle, strong skew |
coffee_stain | Coffee stain with partial text obstruction |
stapled_stack | Stapled with sheets behind |
Environment Variables
| Variable | Description |
|---|---|
GEMINI_API_KEY | Required for photo generation and verification |
PENQUIFY_OUTPUT | Default output directory (overridden by --output) |