Pexels
Pexels free stock media: search photos and videos with orientation, size, colour and locale filters, curated photos, popular videos, single photo or video details, and featured or own collections. Pexels API with an API key.
7 天免费 · 无需信用卡 · EU 托管
问 Pexels 任何事
通过 AnythingMCP 对 Pexels 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。
在 Cloud 上安装 PexelsClaude 是 AI,可能会出错。请核对回答。
2 分钟设置
- 1在 cloud.anythingmcp.com 开始免费试用。
- 2在连接器商店点击 Pexels。提示时粘贴凭据。
- 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
Pexels 指南
面向主流 AI 客户端的逐步设置。
配置 Pexels
直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。
Pexels
This connector uses the Pexels API (https://api.pexels.com/v1): search and browse free stock photos and videos, curated and popular media, and collections. It is read-only.
Setup
Sign in at pexels.com, open Image & Video API (https://www.pexels.com/api/new/), fill in the short form about your use and copy the key into PEXELS_API_KEY. The key is sent as Authorization: <key>, without the word Bearer.
Start here
pexels_search_photos or pexels_search_videos with a query. Each photo has src with ready-made sizes (original, large2x, large, medium, small, portrait, landscape, tiny), photographer, photographer_url, url (the Pexels page) and alt. Each video has video_files (one per resolution, with quality, width, height and link) and video_pictures.
Filters
orientation landscape, portrait or square; size large, medium or small (minimum size); photo color as a name (red, blue, black, white, ...) or a hex code; locale such as en-US or de-DE for searching in another language. Popular videos filter by min_width, min_height, min_duration, max_duration.
Paging and limits
page starts at 1, per_page is 15 by default and at most 80. Answers carry total_results and next_page (missing on the last page). The default limit is 200 requests per hour and 20,000 per month per key; above it Pexels answers 429. Pexels raises limits for free on request if you attribute properly.
Attribution
Pexels asks every app to show a visible link to Pexels and, where possible, to credit the photographer: "Photo by <photographer> on Pexels", linking photographer_url and url. Use the media URLs from the answers rather than re-hosting at scale; the API may not be used to build a wallpaper app or a copy of Pexels.
Ids
Photo and video ids are integers; collection ids are short strings (the last part of a pexels.com/collections/ URL). pexels_get_collection_media reads only featured collections and the collections of the account that created the key; any other collection answers 404, even a public one.