Skip to main content
Glama

Frapea

download_stock_media

Downloads one Pexels asset into the project's media pool as a virtual file at the Library root (name pexels-<id>.jpg|.mp4). Asynchronous: the first call accepts the download and returns its state; CALL AGAIN with the same arguments to poll — state becomes 'done' with the asset's mediaRef, ready for add_clips. maxHeight picks the best video rendition not exceeding it (default: the best available). ASK FOR THE WHOLE SHOT LIST AT ONCE — three files stream at a time and the rest wait their turn, so a batch is queued for you, in the order you asked. State 'queued' is normal and needs no action but polling. ONCE DOWNLOADED, CHECK THE MOMENT YOU MEAN TO USE — not just the first frame. A clip that opens on your subject can cut away, change subject or hold a logo exactly where you planned to trim. Read the scene samples from get_media, or render frames with inspect_media, across the range you intend to cut. See read_skill {topic:'verify'}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYesphoto | video
tokenYesThe session token `connect` returned. Pass it on every call — it says which browser to drive.
pexelsIdYesThe item id from search_stock_media.
maxHeightNoVideos only: cap the rendition height (e.g. 1080).
projectIdYesProject id from get_projects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources