Pexels

9 tools available

Pexels offers a free API that provides access to a vast library of high-quality photos and videos, enabling seamless integration into applications and websites.

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.

Common workflows with Pexels

01

On-brand variants

  1. Brief in plain English
  2. Persona applies brand rules
  3. Generates approved variants
02

Bulk asset refresh

  1. List all assets in a folder
  2. Re-render with new style spec
  3. Replace and version-tag
03

Storyboard pipeline

  1. Persona drafts a sequence
  2. This integration renders frames
  3. Exports as a deck or video

Pexels actions 9

Every Pexels action below is a callable tool any Definable persona can invoke.

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.

Frequently asked questions

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.

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.

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.

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.

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.

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.

Ready to automate with Pexels?

Wire it up in minutes. No coding required.

← All integrations