Immutable. This exact content is served forever at /api/v1/blob/687b3bdc56c5250e.
--- name: image-well description: "Search and download images from 15 APIs in parallel (Openverse, Pexels, Pixabay, Met Museum, Cleveland Museum, Art Institute of Chicago, Getty Museum, NASA, Rijksmuseum, Wikimedia Commons, Unsplash, Smithsonian, Europeana, Iconify, Pollinations AI). Supports license filtering, presets (military, museum, stock), cached results, and bulk download with metadata sidecars. Triggers on find images, stock photos, public domain artwork, museum images, CC-licensed, NASA photos, icons." --- # Image Well Search and download images from 15 sources through a single CLI. Seven sources work with zero API keys (Openverse, Wikimedia, Met Museum, Cleveland Museum, Art Institute of Chicago, Getty Museum, NASA). Additional sources activate when keys are set. ## Quick Start ```bash # Search across all no-key sources uv run ~/.claude/skills/image-well/scripts/well.py search "ancient Minoan fresco" # Use a preset for domain-specific searches uv run ~/.claude/skills/image-well/scripts/well.py search "F-35 fighter jet" --preset military # Download results with metadata sidecars uv run ~/.claude/skills/image-well/scripts/well.py search "sunset" --format download --output ./images/ # Check which sources are available uv run ~/.claude/skills/image-well/scripts/well.py sources # Visual HTML preview — opens in browser, no context pollution uv run ~/.claude/skills/image-well/scripts/well.py search "bronze statue" --format html # Output as JSON for piping uv run ~/.claude/skills/image-well/scripts/well.py search "cat" --format json ``` ## Sources | Tier | Source | Key Required | License | |------|--------|-------------|---------| | 1 | Openverse (800M+) | No | CC variants | | 1 | Wikimedia Commons | No | CC variants | | 1 | Met Museum (375k) | No | CC0 | | 1 | Cleveland Museum (37k) | No | CC0 | | 1 | Art Inst. Chicago (60k+) | No | Public Domain | | 1 | Getty Museum (Open Content) | No | CC0 | | 1 | NASA (140k) | No | Public Domain | | 2 | Pexels | `PEXELS_API_KEY` | Pexels License | | 2 | Pixabay | `PIXABAY_API_KEY` | Pixabay License | | 2 | Rijksmuseum (700k) | `RIJKSMUSEUM_API_KEY` | CC0 | | 2 | Unsplash | `UNSPLASH_ACCESS_KEY` | Unsplash License | | 3 | Smithsonian | No | CC0 | | 3 | Europeana (50M+) | `EUROPEANA_API_KEY` | Mixed | | 3 | Iconify (275k icons) | No | Various | | 3 | Pollinations AI | No | Free Use (AI gen) | Add Tier 2 keys to `~/.config/env/secrets.env` for expanded coverage. Source notes: - **Cleveland** downloads the ~3400px print JPEG; the ~900px web derivative is the thumbnail. The archival TIFFs are never fetched. - **Art Institute of Chicago** images are public domain (`PD`), not formally CC0 — `--license cc0` accepts them. Downloads use AIC's preferred 843px IIIF size and are serialized (1/s) per their API etiquette. - **Getty** rides the collection website's undocumented JSON search API (`open_content=true` filter) — the only keyword-search surface Getty exposes. Every emitted row is gated on the CC0 URI in its IIIF manifest license; downloads at 1200px IIIF. Superb Greek/Roman/Etruscan; thin on Egypt/Near East. ### Museum Collections on Wikimedia Commons Some museums have no usable API but mass-uploaded their images to Wikimedia Commons. Search them through the existing `wikimedia` source with a category-scoped query: | Museum | Commons Files | Example | |--------|--------------|---------| | Walters Art Museum | ~18,600 | `incategory:"Media contributed by the Walters Art Museum" scarab` | The Walters v1 API closed in 2023 and the whole `thewalters.org` domain (including its image CDN) sits behind Cloudflare bot protection — Commons is the only programmatic path. Note the 2012 Walters upload was recorded as CC BY-SA 3.0 (many files also carry a Public Domain Mark); keep the per-file license Commons reports rather than assuming CC0. ## Presets | Preset | Sources | Use Case | |--------|---------|----------| | `military` | nasa, wikimedia, smithsonian | Defense/military imagery | | `museum` | met, cleveland, artic, getty, rijksmuseum, smithsonian | Art, antiquities, historical | | `texture` | wikimedia, pollinations | Game dev, 3D materials | | `stock` | pexels, pixabay, unsplash | Editorial photography | | `all-free` | openverse, wikimedia, met, cleveland, artic, getty, nasa, smithsonian | All no-key sources | ## Options ``` --sources NAME [...] Specific sources to search --preset NAME Use a preset group --limit N Max results per source (default: 10) --license LICENSE Filter: cc0, cc-by, cc-by-sa, any --format FORMAT table, json, download, urls, html, tunnel --output DIR Download directory (default: ./well-images/) --no-cache Skip result cache --timeout N Per-source timeout in seconds (default: 15) --quiet Suppress progress output ``` ## Workflows ### Source images for a project ```bash # Search, review in table, then download the good ones uv run well.py search "Mediterranean landscape" --preset stock --format json > results.json # Review results.json, then download specific URLs ``` ### Build an image corpus ```bash # Download CC0 images for a research project uv run well.py search "Bronze Age pottery" --preset museum --license cc0 --format download --output ./corpus/ ``` ### Pipe to image-forge for processing ```bash # Search, download, then resize with image-forge uv run well.py search "sunset" --format download --output ./raw/ # Then use image-forge skill to process downloaded images ``` ## Cache Results are cached for 24 hours at `~/.cache/image-well/`. ```bash uv run well.py cache stats # Show cache size uv run well.py cache clear # Clear all cached results ```