Pexels integration
Free stock photos and videos API. Search and download high-quality images and video content. Access curated collections and trending media. Build content platforms, design tools, and media applications.
Say what should happen.
The workflow builds itself.
Common Pexels use cases
- Content discovery
- Gallery organization
- Asset retrieval
- Photo display
- Themed content
- Video playback
- Featured videos
- Featured content
- Collection display
- Stock photo search
What you can do with Pexels
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Photo, 3 operations
curated_photosCurated photosGETRetrieves curated trending photos.get_photoGet photoGETRetrieves a specific photo by ID.search_photosSearch photosGETSearches for photos matching a query.
Video, 3 operations
get_videoGet videoGETRetrieves a specific video by ID.popular_videosPopular videosGETRetrieves popular trending videos.search_videosSearch videosGETSearches for videos matching a query.
Collection, 2 operations
list_collectionsList collectionsGETLists featured photo and video collections.list_my_collectionsList my collectionsGETLists all personal collections belonging to the authenticated API user.
Media, 1 operation
get_collection_mediaGet collection mediaGETRetrieves media from a specific collection.
Use Pexels from Claude Code, Cursor or Codex
Connect Pexels in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Pexels operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Pexels
- Create your workspace
Sign up free. Nothing to install.
- Connect Pexels once
Add your Pexels connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Pexels integration FAQ
What can you do with the Pexels integration?
LiveContext exposes 9 operations on Pexels, covering photo, video, collection and media. Common uses include Content discovery, Gallery organization and Asset retrieval.
