curated-stock-backgrounds

Downloads royalty-free Pexels photos and converts them to optimized webp backgrounds for web pages.

Updated Jun 9, 2026
One-click install
npx skills add https://github.com/timikalo7/Execute --skill curated-stock-backgrounds-timikalo7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: curated-stock-backgrounds
Source: https://github.com/timikalo7/Execute/tree/main/.claude/skills/curated-stock-backgrounds
Command: npx skills add https://github.com/timikalo7/Execute --skill curated-stock-backgrounds-timikalo7

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sharp.

What problem does it solve? Marketing and landing pages need real photographic backgrounds, but sourcing stock images usually requires API keys, and unoptimized multi-megabyte images hurt page load performance. This Skill discovers royalty-free Pexels CDN photos without any API key, converts them to lightweight webp files, and commits them locally so the site never depends on an external CDN at runtime. ## Core Features & Use Cases - Keyless photo discovery: Fetches Pexels search pages and extracts direct CDN image URLs without needing an API key, with Unsplash direct CDN links as an alternative. - Local webp optimization: Converts downloaded JPEGs to webp at quality 80 using sharp, typically shrinking multi-MB images to roughly 30-235KB for a real LCP improvement, and writes them to public/backgrounds/. - Story-driven image planning: Plans a before → during → after narrative across page sections and pairs each CTA image with matching copy. - Use Case: You are building a landing page for a fitness app. Use this Skill to pull real gym and lifestyle photos from Pexels, convert them to webp, place them in public/backgrounds/, and wire them into hero and CTA sections with legible overlay gradients. ## Quick Start Find royalty-free Pexels photos for my landing page, convert them to optimized webp files in public/backgrounds, and wire them into the hero and CTA sections.

Frequently Asked Questions about curated-stock-backgrounds

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I download Pexels photos without an API key?

Fetch a Pexels search page like https://www.pexels.com/search/<query>/ and extract CDN links from the HTML. The images.pexels.com CDN serves photos directly with no API key, using URLs with width and compression parameters.

How to convert JPEG images to webp in Node.js?

Install sharp with npm i --no-save sharp, then call sharp(input).webp({quality: 80}).toFile(output) in a Node script. Quality 80 typically reduces multi-megabyte JPEGs to roughly 30-235KB webp files.

Should I use stock photos or AI-generated images for landing pages?

Curated stock photos are preferred for product and marketing backgrounds because they are free, on-brief, and never garble text. Generative image tools often inject garbled lettering on dark premium-style prompts and consume credits.

Does the old source.unsplash.com random image endpoint still work?

No, the source.unsplash.com random endpoint is dead and returns 503 errors. Use direct images.unsplash.com CDN URLs with a known photo id instead, or use Pexels CDN links.

Why should background images be committed locally instead of hotlinked?

Committing optimized webp files to public/backgrounds removes runtime dependency on external CDNs, avoiding availability risks and extra network latency. Next.js serves files from public/ directly at the root path.