Skip to content
Back to skills

Search Images Brave Api

ASecurity

Search for images using Brave Search API. Use when you need to find images, pictures, photos, or visual content on any topic. Requires BRAVE_API_KEY environment variable.

  • 37 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentsgobashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add rondoflow/rondoflow --skill search-images-brave-api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Search Images Brave Api?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Search Images Brave Api
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-search-images-brave-api/badge)](https://www.skillsdirectory.com/skills/rondoflow-search-images-brave-api)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: search-images-brave-api
description: "Search for images using Brave Search API. Use when you need to find images, pictures, photos, or visual content on any topic. Requires BRAVE_API_KEY environment variable."
category: "Media"
author: community
version: "1.0.1"
icon: image
---

# Brave Image Search

Search images via Brave Search API.

## Usage

```bash
curl -s "https://api.search.brave.com/res/v1/images/search?q=QUERY&count=COUNT" \
  -H "X-Subscription-Token: $BRAVE_API_KEY"
```

## Parameters

| Param | Required | Description |
|-------|----------|-------------|
| `q` | yes | Search query (URL-encoded) |
| `count` | no | Results count (1-100, default 20) |
| `country` | no | 2-letter code (US, DE, IL) for region bias |
| `search_lang` | no | Language code (en, de, he) |
| `safesearch` | no | off, moderate, strict (default: moderate) |

## Response Parsing

Key fields in each result:
- `results[].title` — Image title
- `results[].properties.url` — Full image URL
- `results[].thumbnail.src` — Thumbnail URL  
- `results[].source` — Source website
- `results[].properties.width/height` — Dimensions

## Example

Search for "sunset beach" images in Israel:
```bash
curl -s "https://api.search.brave.com/res/v1/images/search?q=sunset%20beach&count=5&country=IL" \
  -H "X-Subscription-Token: $BRAVE_API_KEY"
```

Then extract from JSON response:
- Thumbnail: `.results[0].thumbnail.src`
- Full image: `.results[0].properties.url`

## Delivering Results

When presenting image search results:
1. Send images directly to the user (don't just list URLs)
2. Use `results[].properties.url` for full images or `results[].thumbnail.src` for thumbnails
3. Include image title as caption
4. If more results exist than shown, tell the user (e.g., "Found 20 images, showing 3 — want more?")

Example flow:
```
User: "find me pictures of sunsets"
→ Search with count=10
→ Send 3-5 images with captions
→ "Found 10 sunset images, showing 5. Want to see more?"
```

## Notes

- URL-encode query strings (spaces → `%20`)
- API key from env: `$BRAVE_API_KEY`
- Respect rate limits per subscription tier

Files in this skill

  • SKILL.md2.1 KB
  • manifest.json372 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.