Image sources
Where quarry acquires public-domain and CC0 images: Wikimedia Commons, plus the PD12M and Megalith metadata on Hugging Face for the /gallery Sources view.
Used by
Official guides
- Commons API (opens in new tab)
- PD12M dataset (opens in new tab)
- Megalith-10m dataset (opens in new tab)
Minimal setup
- Wikimedia Commons needs no account. Set
COMMONS_USER_AGENT(orQUARRY_USER_AGENT) to something that identifies your deployment and gives a contact, as Wikimedia's API policy asks. - PD12M and Megalith are metadata-only datasets on Hugging Face. Fetch them
with quarry's
scripts/fetch_public_domain_metadata.py(--hf-tokenorHF_TOKEN) intoQUARRY_PD12M_DIRandQUARRY_MEGALITH_DIR. The server's fetch button stays off unlessQUARRY_ALLOW_FETCH=1. - Text search over PD12M needs the
[search]extra and a CLIP model (QUARRY_CLIP_MODEL, an OpenAI CLIP ViT-L/14 from the HF cache by default).
Every acquired image keeps its source, author and licence. See public-domain archives (opens in new tab).