# blog image finder

> Automate royalty-free image sourcing, cropping, and license tracking for blog posts and pipelines.

blog image finder is a free AI agent skill on Agensi by Koffi A. Hounnou, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Koffi A. Hounnou](https://www.agensi.io/creators/koffi-a-hounnou)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-08
- Security: scan passed (2026-10-08); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/blog-image-finder
- Tags: automation, python, seo, content-creation, api

## About this skill

Finding the right header image for a blog post is a time-consuming chore that often leads to copyright risks or repeated visuals. This skill automates the entire discovery and preparation pipeline, moving from a text topic to a legal, cropped, and optimized WebP image in seconds. It handles multi-source searching, deduplication, and license tracking so you never accidentally reuse an image or violate a TOS.

### What it does
- **Multi-source discovery** queries Pexels, Pixabay, Unsplash, Openverse, and Wikimedia Commons simultaneously.
- **Smart deduplication** tracks every image used per site to ensure you never publish the same visual twice.
- **Automated optimization** crops images to specific ratios like 16:9, resizes for performance, and converts to WebP.
- **Vision-based judging** uses AI to inspect candidates for regional relevance, quality, and brand logos before selection.
- **License management** generates sidecar JSON files with author credits, source URLs, and specific attribution text.
- **AI fallback** generates custom editorial photographs via FLUX or Cloudflare if no suitable stock photo exists.

### How it works
1. **Source validation**: Run the `check` command to verify API keys and provider availability.
2. **Visual querying**: The skill translates abstract article topics into concrete, searchable English scene descriptions.
3. **Selection and processing**: Use the `pick` command to find, download, crop, and record the chosen image for a specific site.
4. **Integration**: Embed the resulting file path, alt text, and attribution line directly into your article or CMS.

### Frameworks & tools
Built with Python 3.10, utilizing Pillow for image processing and standard libraries for API orchestration. Integrates with OpenAI-compatible vision models for automated quality grading and supports NVIDIA FLUX and Cloudflare Workers AI for generation.

### Why this beats prompting it yourself
Generic prompts often return abstract or low-quality stock results that require manual cropping and licensing checks. This skill enforces strict commercial license filters, manages a persistent local database of used images, and handles the technical conversion to modern web formats automatically.

### Use cases
- Automating cover image selection for high-volume SEO blog networks.
- Sourcing legally compliant photography for commercial landing pages and newsletters.
- Wiring a programmatic content pipeline to a royalty-free image API.
- Replacing manual stock photo searches with specific AI-generated editorial visuals.

### Known limitations
Unsplash images cannot be downloaded and must be hotlinked via URL. PIllow is required for local cropping and WebP conversion. Vision-based judging requires an external OpenAI-compatible API key.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the blog image finder skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill automate the image sourcing process differently than a basic API search?

The skill queries multiple sources like Pexels and Unsplash simultaneously, uses AI vision to 'judge' image quality for your specific topic, crops it to your desired ratio (like 16:9), and converts it to an optimized WebP format.

### How does the skill prevent me from using the same image twice on my blog?

The skill maintains a local database that tracks every image used per site, ensuring your automated pipelines never accidentally publish the same visual twice across your network.

### Can this skill generate AI images if it can't find a good stock photo?

Yes, if no suitable stock photo is found, the skill can automatically trigger a fallback to generate a custom editorial image using FLUX or Cloudflare Workers AI.

### What is included in the purchase, and do I need my own API keys?

You will receive the Python-based skill files, documentation for API integration, and the schema for the license tracking database; note that you will need your own API keys for providers like Pexels or OpenAI.

### How does the skill handle image attribution and licensing requirements?

The skill automatically generates a JSON sidecar file for every image containing the author credit, source URL, and specific attribution text required by the provider's terms of service.

### What are the technical requirements for running this skill?

This skill is built for Python 3.10 environments and requires the Pillow library for image processing; it is compatible with any AI agent or pipeline capable of executing Python scripts.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
