$npx -y skills add brave/brave-search-skills --skill images-searchUSE FOR image search. Returns images with title, source URL, thumbnail. Supports SafeSearch filter. Up to 200 results.
| 1 | # Images Search |
| 2 | |
| 3 | > **Requires API Key**: Get one at https://api.search.brave.com |
| 4 | > |
| 5 | > **Plan**: Included in the **Search** plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe |
| 6 | |
| 7 | ## Quick Start (cURL) |
| 8 | |
| 9 | ### Basic Search |
| 10 | ```bash |
| 11 | curl -s "https://api.search.brave.com/res/v1/images/search?q=mountain+landscape" \ |
| 12 | -H "Accept: application/json" \ |
| 13 | -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" |
| 14 | ``` |
| 15 | |
| 16 | ### With Parameters |
| 17 | ```bash |
| 18 | curl -s "https://api.search.brave.com/res/v1/images/search" \ |
| 19 | -H "Accept: application/json" \ |
| 20 | -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \ |
| 21 | -G \ |
| 22 | --data-urlencode "q=northern lights photography" \ |
| 23 | --data-urlencode "country=US" \ |
| 24 | --data-urlencode "search_lang=en" \ |
| 25 | --data-urlencode "count=20" \ |
| 26 | --data-urlencode "safesearch=strict" |
| 27 | ``` |
| 28 | |
| 29 | ## Endpoint |
| 30 | |
| 31 | ```http |
| 32 | GET https://api.search.brave.com/res/v1/images/search |
| 33 | ``` |
| 34 | |
| 35 | **Authentication**: `X-Subscription-Token: <API_KEY>` header |
| 36 | |
| 37 | ## Parameters |
| 38 | |
| 39 | | Parameter | Type | Required | Default | Description | |
| 40 | |--|--|--|--|--| |
| 41 | | `q` | string | **Yes** | - | Search query (1-400 chars, max 50 words) | |
| 42 | | `country` | string | No | `US` | Search country (2-letter country code or `ALL`) | |
| 43 | | `search_lang` | string | No | `en` | 2+ char language code | |
| 44 | | `count` | int | No | 50 | Results to return (1-200) | |
| 45 | | `safesearch` | string | No | `strict` | `off` or `strict` (no `moderate` for images) | |
| 46 | | `spellcheck` | bool | No | true | Auto-correct query; corrected query in `query.altered` | |
| 47 | |
| 48 | ## Response Format |
| 49 | |
| 50 | ```json |
| 51 | { |
| 52 | "type": "images", |
| 53 | "query": { |
| 54 | "original": "mountain landscape", |
| 55 | "altered": null, |
| 56 | "spellcheck_off": false, |
| 57 | "show_strict_warning": false |
| 58 | }, |
| 59 | "results": [ |
| 60 | { |
| 61 | "type": "image_result", |
| 62 | "title": "Beautiful Mountain Landscape", |
| 63 | "url": "https://example.com/mountain-photo", |
| 64 | "source": "example.com", |
| 65 | "page_fetched": "2025-09-15T10:30:00Z", |
| 66 | "thumbnail": { |
| 67 | "src": "https://imgs.search.brave.com/...", |
| 68 | "width": 200, |
| 69 | "height": 150 |
| 70 | }, |
| 71 | "properties": { |
| 72 | "url": "https://example.com/images/mountain.jpg", |
| 73 | "placeholder": "https://imgs.search.brave.com/placeholder/...", |
| 74 | "width": 1920, |
| 75 | "height": 1080 |
| 76 | }, |
| 77 | "meta_url": { |
| 78 | "scheme": "https", |
| 79 | "netloc": "example.com", |
| 80 | "hostname": "example.com", |
| 81 | "favicon": "https://imgs.search.brave.com/favicon/...", |
| 82 | "path": "/mountain-photo" |
| 83 | }, |
| 84 | "confidence": "high" |
| 85 | } |
| 86 | ], |
| 87 | "extra": { |
| 88 | "might_be_offensive": false |
| 89 | } |
| 90 | } |
| 91 | ``` |
| 92 | |
| 93 | ## Response Fields |
| 94 | |
| 95 | | Field | Type | Description | |
| 96 | |--|--|--| |
| 97 | | `type` | string | Always `"images"` | |
| 98 | | `query.original` | string | Original query | |
| 99 | | `query.altered` | string? | Spellchecked query (null if no correction) | |
| 100 | | `query.spellcheck_off` | bool? | Whether spellcheck was disabled | |
| 101 | | `query.show_strict_warning` | bool? | True if strict safesearch hid relevant results | |
| 102 | | `results[]` | array | List of image results | |
| 103 | | `results[].type` | string | Always `"image_result"` | |
| 104 | | `results[].title` | string? | Image title | |
| 105 | | `results[].url` | string? | Page URL where image was found | |
| 106 | | `results[].source` | string? | Source domain | |
| 107 | | `results[].page_fetched` | string? | ISO datetime of last page crawl | |
| 108 | | `results[].thumbnail.src` | string? | Brave-proxied thumbnail URL (~500px width) | |
| 109 | | `results[].thumbnail.width` | int? | Thumbnail width | |
| 110 | | `results[].thumbnail.height` | int? | Thumbnail height | |
| 111 | | `results[].properties.url` | string? | Original full-size image URL | |
| 112 | | `results[].properties.placeholder` | string? | Low-res placeholder URL (Brave-proxied) | |
| 113 | | `results[].properties.width` | int? | Original image width (may be null) | |
| 114 | | `results[].properties.height` | int? | Original image height (may be null) | |
| 115 | | `results[].meta_url.scheme` | string? | URL protocol scheme | |
| 116 | | `results[].meta_url.netloc` | string? | Network location | |
| 117 | | `results[].meta_url.hostname` | string? | Lowercased domain | |
| 118 | | `results[].meta_url.favicon` | string? | Favicon URL | |
| 119 | | `results[].meta_url.path` | string? | URL path | |
| 120 | | `results[].confidence` | string? | Relevance: `low`, `medium`, or `high` | |
| 121 | | `extra.might_be_offensive` | bool | Whether results may contain offensive content | |
| 122 | |
| 123 | ## Use Cases |
| 124 | |
| 125 | - **Visual content discovery**: Build image galleries, mood boards, or visual research tools. Use `count=200` for comprehensive coverage. Prefer over `web-search` when you need image-specific metadata (dimensions, thumbnails). |
| 126 | - **Content enrichment**: Add relevant images to articles or generated content. Use `country` and `search_lang` to target your audience's locale. |
| 127 | - **Safe image retrieval**: Default `safesearch=strict` ensures family-friendly results out of the box. Only two modes (off/strict) — no moderate option, unlike web/video/news search. |
| 128 | - **H |