Pexels
images & design 9 tools availablePexels offers a free API that provides access to a vast library of high-quality photos and videos, enabling seamless integration into applications and websites.
About this integration
Connect Pexels to Definable to generate on-brand assets, refresh creative in bulk, render storyboards from briefs. Personas call Pexels's 9 tools directly from chat or scheduled flows. Hand it to a creative persona that knows your brand — the agent generates assets that ship.
Connect Pexels to Definable and it becomes a set of typed tools your agents plan with — triggered by events, run on schedules, or invoked mid-conversation. Every write is checked by the verifier before it lands.
Pexels · in workflows
What teams actually run.
Three patterns teams run with Pexels on day one. Each one is a plain-English prompt — no canvas, no glue code — and you can remix them into anything.
Bulk asset refresh
Storyboard pipeline
9 tools available
The Pexels toolbox.
Every Pexels capability your agents can call, each with a typed schema the planner reads. The router picks the right tool per step; the verifier checks the result.
Get Collection Media Tool to get all media within a collection by its ID. Use when you need to fetch paginated media from a specific collection.
Get Curated Photos Tool to get real-time curated photos. Use when you need to fetch curated photos with pagination support.
Featured Collections Tool to get featured collections. Use when you need curated collections of photos and videos with pagination support.
Get Photo Tool to retrieve detailed information about a specific photo. Use when you have a valid photo ID to fetch metadata including dimensions, photographer details, and image URLs. Use after confirming the photo ID from search or curated endpoints.
Get Video by ID Tool to retrieve detailed information about a specific video from Pexels. Use when you have a valid video ID to fetch metadata including dimensions, duration, videographer details, and available video file versions.
Get My Collections Tool to get all of the user's collections on Pexels. Use when you need to list a user's collections with pagination support.
Get Popular Videos Tool to retrieve current popular Pexels videos. Use when you want to fetch trending videos from Pexels.
Search Photos Tool to search for photos on Pexels. Use when you need to retrieve photos by a search term and optional filters. Call after confirming you have a valid Pexels API key. Response image URLs are nested under `photo.src.<size>` (e.g., `photo.src.original`, `photo.src.landscape`, `photo.src.medium`); the top-level `url` field is not sufficient for accessing specific image sizes.
Search Videos Tool to search for videos on Pexels by query and optional filters. Use when you need to find relevant video assets. Combining multiple filters with a narrow query may return few or no results; only apply strict filter combinations when explicitly required.
See it run
One prompt, start to finish.
A real prompt, the Pexels tools it calls, and what comes back. This is the whole interface — describe the outcome, agents handle the rest.
Run a real Pexels task end-to-end — plan it, execute across the API, and hand back a verified result.
pexels.get_collection_media Tool to get all media within a collection by its ID. Use when you need to fetch paginated pexels.get_curated_photos Tool to get real-time curated photos. Use when you need to fetch curated photos with pagin pexels.featured_collections Tool to get featured collections. Use when you need curated collections of photos and vide · verified Done. Pexels responded across 3 calls, the verifier signed off, and the result is logged with every payload.
FAQ · Pexels
Questions, answered.
What teams ask before connecting Pexels.
01 What can I automate with Pexels on Definable?
Anything Pexels exposes through its API. Common images & design workflows on Definable include generate on-brand assets, refresh creative in bulk, render storyboards from briefs. Personas can call any of the 9 Pexels tools directly, then chain the result into another integration without you writing code.
02 How does Pexels authentication work?
Pexels uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.
03 Is the Pexels integration included in my Definable plan?
Yes — every Definable plan, including Starter, includes access to all 9 Pexels tools. You only need a separate Pexels subscription if Pexels itself charges per seat or per API call.
04 Is using Pexels through Definable secure?
Every call from a persona to Pexels is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.
05 How do I get started with Pexels on Definable?
Sign up for Definable, open the integrations page, find Pexels, and connect via OAuth or API key. You can immediately attach Pexels to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.
06 What Pexels actions does Definable expose?
Definable exposes all 9 Pexels actions as callable tools — including `Get Collection Media`, `Get Curated Photos`, `Featured Collections`, plus 6 more. Each tool gets a typed parameter schema so personas know exactly how to call it.
Put Pexels to work tonight.
Connect in two clicks, describe an outcome, and your first workflow is live in minutes. Free plan included — no card required.