search_images
Searches Pexels stock photos (API: https://www.pexels.com/api/documentation/) by short English subject queries. Each photo includes hotlinkable URLs at several sizes, a sizes map with each variant's pixel dimensions, avg_color, and the…
Instructions
Searches Pexels stock photos (API: https://www.pexels.com/api/documentation/) by short English subject queries. Each photo includes hotlinkable URLs at several sizes, a sizes map with each variant's pixel dimensions, avg_color, and the photographer's name and attribution URL; the response also includes a size_guide mapping slot widths to variants (hero/banner ~940–1880px → large/large2x, card ~350px → medium, avatar → tiny). queries: [...] runs several searches in parallel and returns { queries: { [q]: result } } — pick:'best' (default) keeps only the top photo per query, pick:'all' the full list; query runs a single search. Works without configuration through a shared hosted proxy; a PEXELS_API_KEY env var or x-pexels-key header uses a personal Pexels quota.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Result page for pagination (default 1). | |
| pick | No | With `queries`, 'best' (default) returns only the top photo per query (compact, drop-in for specials.src); 'all' returns the full result. Single-query calls always return the full result. | |
| size | No | Minimum photo size to return (default any). | |
| color | No | Optional color filter: a name (red, blue, …) or a hex like '6a8f3c'. | |
| query | No | Single subject query; returns the full result. | |
| queries | No | Several subject queries (typically one per image slot), run in parallel in one call. | |
| per_page | No | Photos per query (default 5). | |
| orientation | No | Preferred shape — 'landscape' for heroes/banners, 'portrait' for tall cards, 'square' for icons/avatars. |