Open source CapCut alternative.
TypeScript
feat(site): make Cut stock images searchable by vision-extracted tags
David Le305d17905ed0
diff --git a/site/scripts/generate-stock-images.ts b/site/scripts/generate-stock-images.tsindex 51c9d3b7..f676ef7a 100644--- a/site/scripts/generate-stock-images.ts+++ b/site/scripts/generate-stock-images.ts@@ -9,9 +9,14 @@// image is checked for baked-in letterbox bars (regenerated when found, trimmed// as a last resort), cropped to its exact aspect, and written twice: a// near-native WebP the lightbox and timeline use, and a small grid thumb.+//+// After generation, every image is tagged: a vision pass looks at the finished+// asset and extracts the searchable keywords (objects, animals, setting) the+// editor's search box matches. Tags already in the manifest are reused, so+// re-running only tags new or untagged images.import { existsSync } from "node:fs";-import { mkdir, writeFile } from "node:fs/promises";+import { mkdir, readFile, writeFile } from "node:fs/promises";import path from "node:path";import { GoogleGenAI } from "@google/genai";import { JWT } from "google-auth-library";@@ -27,6 +32,7 @@ interface CatalogItem {}const MODEL = process.env.GEMINI_IMAGE_MODEL?.trim() || "gemini-2.5-flash-image";+const TAG_MODEL = "gemini-2.5-flash";const OUT_DIR = path.join(import.meta.dirname, "..", "public", "cut-stock");const MANIFEST = path.join(import.meta.dirname, "..", "src", "cut", "lib", "stockManifest.ts");const CONCURRENCY = 4;@@ -248,11 +254,57 @@ async function finalize(image: Buffer, bars: Bars, item: CatalogItem) {.then((thumb) => writeFile(path.join(OUT_DIR, `${item.id}.thumb.webp`), thumb));}-async function writeManifest(done: Set<string>) {+/** Vision pass over a finished asset: extracts the concrete, searchable+ * keywords for what is actually visible — objects (tree, cup, laptop),+ * animals, people, setting (beach, road, office), and time/weather. */+async function tagOne(client: GoogleGenAI, item: CatalogItem): Promise<string[]> {+ const thumb = await readFile(path.join(OUT_DIR, `${item.id}.thumb.webp`));+ const response = await client.models.generateContent({+ model: TAG_MODEL,+ contents: [+ {+ role: "user",+ parts: [+ { inlineData: { mimeType: "image/webp", data: thumb.toString("base64") } },+ {+ text: "List 10-20 search keywords for everything visible in this image: every distinct object (e.g. tree, dog, cup, laptop), animals, people, the setting (e.g. beach, road, office, forest), and time of day or weather if evident. Lowercase, one or two words each. Respond with a JSON array of strings only.",+ },+ ],+ },+ ],+ config: { responseMimeType: "application/json" },+ });+ const parsed = JSON.parse(response.text ?? "[]") as unknown;+ if (!Array.isArray(parsed)) throw new Error("tag response is not an array");+ const tags = parsed+ .filter((t): t is string => typeof t === "string")+ .map((t) => t.trim().toLowerCase())+ .filter(Boolean);+ if (tags.length === 0) throw new Error("no tags in response");+ return [...new Set(tags)];+}++/** Tags from the current manifest, keyed by id — reused so re-runs only call+ * the vision model for new or untagged images. */+async function existingTags(): Promise<Map<string, string[]>> {+ const byId = new Map<string, string[]>();+ try {+ const { STOCK_IMAGES } = await import("../src/cut/lib/stockManifest");+ for (const entry of STOCK_IMAGES as { id: string; tags?: string[] }[]) {+ if (entry.tags?.length) byId.set(entry.id, entry.tags);+ }+ } catch {+ // No manifest yet — every image gets a fresh tagging pass.+ }+ return byId;+}++async function writeManifest(done: Set<string>, tags: Map<string, string[]>) {const entries = CATALOG.filter((c) => done.has(c.id)).map((c) => ({id: c.id,category: c.category,prompt: c.prompt,+ tags: tags.get(c.id) ?? [],aspect: c.aspect,file: `/cut-stock/${c.id}.webp`,thumb: `/cut-stock/${c.id}.thumb.webp`,@@ -311,7 +363,30 @@ async function main() {};await Promise.all(Array.from({ length: CONCURRENCY }, worker));- await writeManifest(done);+ const tags = await existingTags();+ const tagQueue = CATALOG.filter((c) => done.has(c.id) && !tags.has(c.id));+ console.log(`tagging ${tagQueue.length} images (${tags.size} already tagged)`);+ const tagWorker = async () => {+ for (let item = tagQueue.shift(); item; item = tagQueue.shift()) {+ for (let attempt = 1; ; attempt++) {+ try {+ tags.set(item.id, await tagOne(client, item));+ console.log(`✓ tags ${item.id}: ${tags.get(item.id)!.join(", ")}`);+ break;+ } catch (e) {+ if (attempt >= 2) {+ failed++;+ console.error(`✗ tags ${item.id}: ${e instanceof Error ? e.message : e}`);+ break;+ }+ console.warn(`retrying tags ${item.id}…`);+ }+ }+ }+ };+ await Promise.all(Array.from({ length: CONCURRENCY }, tagWorker));++ await writeManifest(done, tags);console.log(`manifest: ${done.size}/${CATALOG.length} images${failed ? `, ${failed} failed` : ""}`);if (failed) process.exitCode = 1;}diff --git a/site/src/cut/components/StockImagesPanel.tsx b/site/src/cut/components/StockImagesPanel.tsxindex b34fd718..2666ee86 100644--- a/site/src/cut/components/StockImagesPanel.tsx+++ b/site/src/cut/components/StockImagesPanel.tsx@@ -45,7 +45,10 @@ export function StockImagesPanel() {const q = query.trim().toLowerCase();const matches = (item: StockImage) =>- !q || item.prompt.toLowerCase().includes(q) || item.category.toLowerCase().includes(q);+ !q ||+ item.prompt.toLowerCase().includes(q) ||+ item.category.toLowerCase().includes(q) ||+ item.tags.some((t) => t.includes(q));const stock = STOCK_IMAGES.filter(matches);diff --git a/site/src/cut/lib/stock.ts b/site/src/cut/lib/stock.tsindex be6fc723..e8b7a7f2 100644--- a/site/src/cut/lib/stock.ts+++ b/site/src/cut/lib/stock.ts@@ -11,6 +11,9 @@ export interface StockImage {category: StockCategory;/** The generation prompt, saved verbatim — the editable starting point. */prompt: string;+ /** Vision-extracted keywords for the visible content (objects, setting,+ * subjects) — what the search box matches beyond the prompt text. */+ tags: string[];aspect: StockAspect;/** Site-relative full-asset URL (under /cut-stock/) — lightbox, refs, timeline. */file: string;diff --git a/site/src/cut/lib/stockManifest.ts b/site/src/cut/lib/stockManifest.tsindex b1c72739..bba20f1d 100644--- a/site/src/cut/lib/stockManifest.ts+++ b/site/src/cut/lib/stockManifest.ts@@ -6,6 +6,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "business-boardroom","category": "Business","prompt": "Professional stock photograph: a diverse team in a modern boardroom reviewing charts and documents spread across a large table, mid-discussion. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "business people",+ "meeting",+ "conference room",+ "table",+ "chairs",+ "suits",+ "shirts",+ "papers",+ "charts",+ "graphs",+ "tablet",+ "pens",+ "notebooks",+ "windows",+ "city",+ "daytime",+ "discussion",+ "collaboration",+ "professionals",+ "office"+ ],"aspect": "16:9","file": "/cut-stock/business-boardroom.webp","thumb": "/cut-stock/business-boardroom.thumb.webp"@@ -14,6 +36,24 @@ export const STOCK_IMAGES: StockImage[] = ["id": "business-whiteboard","category": "Business","prompt": "Professional stock photograph: a young founder sketching a product flow on a glass whiteboard in a bright startup loft, colleagues watching. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "people",+ "office",+ "glass partition",+ "whiteboard",+ "writing",+ "windows",+ "brick wall",+ "plant",+ "bean bag chair",+ "table",+ "daytime",+ "indoor",+ "shoes",+ "casual clothing",+ "ceiling",+ "air vent"+ ],"aspect": "9:16","file": "/cut-stock/business-whiteboard.webp","thumb": "/cut-stock/business-whiteboard.thumb.webp"@@ -22,6 +62,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "business-handshake","category": "Business","prompt": "Professional stock photograph: a close-up handshake between two professionals in a sunlit office lobby, blurred glass architecture behind. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "handshake",+ "suit",+ "business people",+ "office",+ "corridor",+ "hands",+ "sunlight",+ "building",+ "interior",+ "jacket",+ "formal wear",+ "professionalism",+ "collaboration",+ "agreement",+ "connection",+ "corporate",+ "partnership",+ "people",+ "window",+ "plant"+ ],"aspect": "16:9","file": "/cut-stock/business-handshake.webp","thumb": "/cut-stock/business-handshake.thumb.webp"@@ -30,6 +92,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "business-open-office","category": "Business","prompt": "Professional stock photograph: an open-plan office at golden hour, people working at standing desks, warm light streaming through tall windows. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "office",+ "person",+ "laptop",+ "desk",+ "window",+ "plant",+ "monitor",+ "office chair",+ "ceiling light",+ "cityscape",+ "sunset",+ "modern office",+ "worker",+ "standing desk",+ "blinds",+ "natural light",+ "open plan office",+ "sunlight",+ "glass wall",+ "workspace"+ ],"aspect": "16:9","file": "/cut-stock/business-open-office.webp","thumb": "/cut-stock/business-open-office.thumb.webp"@@ -38,6 +122,26 @@ export const STOCK_IMAGES: StockImage[] = ["id": "business-presentation","category": "Business","prompt": "Professional stock photograph: a woman presenting quarterly growth charts on a wall screen to an attentive small team in a conference room. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "meeting",+ "presentation",+ "office",+ "conference room",+ "business",+ "presenter",+ "attendees",+ "screen",+ "chart",+ "graph",+ "table",+ "people",+ "laptop",+ "corporate",+ "discussion",+ "growth",+ "data",+ "daytime"+ ],"aspect": "16:9","file": "/cut-stock/business-presentation.webp","thumb": "/cut-stock/business-presentation.thumb.webp"@@ -46,6 +150,23 @@ export const STOCK_IMAGES: StockImage[] = ["id": "business-desk-flatlay","category": "Business","prompt": "Professional stock photograph: a tidy flat-lay of a laptop, notebook, espresso cup, and phone on a light oak desk, viewed straight down. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "laptop",+ "coffee cup",+ "coffee",+ "smartphone",+ "notebook",+ "pen",+ "desk",+ "plant",+ "office",+ "workspace",+ "indoors",+ "window",+ "technology",+ "productivity",+ "light wood"+ ],"aspect": "1:1","file": "/cut-stock/business-desk-flatlay.webp","thumb": "/cut-stock/business-desk-flatlay.thumb.webp"@@ -54,6 +175,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "nature-misty-valley","category": "Nature","prompt": "Professional stock photograph: a misty mountain valley at sunrise, layered ridgelines fading into soft golden haze. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "mountains",+ "valley",+ "fog",+ "sunrise",+ "trees",+ "rocks",+ "sky",+ "sunlight",+ "village",+ "river",+ "landscape",+ "nature",+ "wilderness",+ "morning",+ "golden hour",+ "mountain peak",+ "mist",+ "greenery",+ "aerial view",+ "serene"+ ],"aspect": "16:9","file": "/cut-stock/nature-misty-valley.webp","thumb": "/cut-stock/nature-misty-valley.thumb.webp"@@ -62,6 +205,25 @@ export const STOCK_IMAGES: StockImage[] = ["id": "nature-waterfall","category": "Nature","prompt": "Professional stock photograph: a tropical waterfall pouring into a clear jungle pool, lush ferns and volcanic rock around it. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "waterfall",+ "jungle",+ "forest",+ "water",+ "pool",+ "trees",+ "ferns",+ "plants",+ "rocks",+ "moss",+ "flowers",+ "nature",+ "sunlight",+ "tranquil",+ "clear water",+ "tropical",+ "lush foliage"+ ],"aspect": "16:9","file": "/cut-stock/nature-waterfall.webp","thumb": "/cut-stock/nature-waterfall.thumb.webp"@@ -70,6 +232,23 @@ export const STOCK_IMAGES: StockImage[] = ["id": "nature-dunes","category": "Nature","prompt": "Professional stock photograph: rippled sand dunes at dusk, long shadows and a deep orange-to-violet gradient sky. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "desert",+ "sand dunes",+ "sunset",+ "sky",+ "horizon",+ "orange sky",+ "purple sky",+ "desert landscape",+ "sand ripples",+ "twilight",+ "serene",+ "vast",+ "nature",+ "outdoors",+ "wilderness"+ ],"aspect": "16:9","file": "/cut-stock/nature-dunes.webp","thumb": "/cut-stock/nature-dunes.thumb.webp"@@ -78,6 +257,24 @@ export const STOCK_IMAGES: StockImage[] = ["id": "nature-pine-fog","category": "Nature","prompt": "Professional stock photograph: tall pine trees rising through morning fog, shot upward from the forest floor. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "forest",+ "trees",+ "sunbeams",+ "mist",+ "fog",+ "ground",+ "moss",+ "tree trunks",+ "sunlight",+ "pine trees",+ "nature",+ "woods",+ "morning",+ "ethereal",+ "light rays",+ "branches"+ ],"aspect": "9:16","file": "/cut-stock/nature-pine-fog.webp","thumb": "/cut-stock/nature-pine-fog.thumb.webp"@@ -86,6 +283,26 @@ export const STOCK_IMAGES: StockImage[] = ["id": "nature-ocean-wave","category": "Nature","prompt": "Professional stock photograph: a turquoise ocean wave curling and catching backlight, spray frozen mid-air. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "wave",+ "ocean",+ "water",+ "sea",+ "breaking wave",+ "surf",+ "foam",+ "spray",+ "sky",+ "sunrise",+ "nature",+ "outdoors",+ "seascape",+ "marine",+ "blue water",+ "green water",+ "powerful wave",+ "natural phenomenon"+ ],"aspect": "16:9","file": "/cut-stock/nature-ocean-wave.webp","thumb": "/cut-stock/nature-ocean-wave.thumb.webp"@@ -94,6 +311,27 @@ export const STOCK_IMAGES: StockImage[] = ["id": "nature-wildflowers","category": "Nature","prompt": "Professional stock photograph: a macro of wildflowers in a summer meadow, one poppy in crisp focus against a creamy bokeh field. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "poppy",+ "red poppy",+ "wildflower",+ "meadow",+ "field",+ "nature",+ "flowers",+ "bloom",+ "petals",+ "stem",+ "green",+ "blurry background",+ "sunlight",+ "vibrant",+ "summer",+ "outdoor",+ "daisy",+ "yellow flowers",+ "purple flowers"+ ],"aspect": "1:1","file": "/cut-stock/nature-wildflowers.webp","thumb": "/cut-stock/nature-wildflowers.thumb.webp"@@ -102,6 +340,22 @@ export const STOCK_IMAGES: StockImage[] = ["id": "travel-train-station","category": "Travel","prompt": "Professional stock photograph: two backpackers walking through a grand old train station, a vintage orange train waiting on the platform. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "train",+ "men",+ "backpacks",+ "train station",+ "platform",+ "steam",+ "arches",+ "roof",+ "travelers",+ "holding hands",+ "luggage",+ "person",+ "daytime",+ "building interior"+ ],"aspect": "16:9","file": "/cut-stock/travel-train-station.webp","thumb": "/cut-stock/travel-train-station.thumb.webp"@@ -110,6 +364,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "travel-old-town","category": "Travel","prompt": "Professional stock photograph: a narrow cobblestone alley in a European old town, flower boxes on shutters, warm evening lanterns. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "cobblestone street",+ "buildings",+ "flower pots",+ "flowers",+ "lanterns",+ "window shutters",+ "walls",+ "alleyway",+ "evening",+ "ancient architecture",+ "italian village",+ "climbing plants",+ "narrow path",+ "brick walls",+ "stone walls",+ "glowing light",+ "quaint street",+ "old town",+ "geraniums",+ "pathway"+ ],"aspect": "9:16","file": "/cut-stock/travel-old-town.webp","thumb": "/cut-stock/travel-old-town.thumb.webp"@@ -118,6 +394,23 @@ export const STOCK_IMAGES: StockImage[] = ["id": "travel-airplane-wing","category": "Travel","prompt": "Professional stock photograph: an airplane wing over a sea of sunset clouds, window-seat perspective. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "airplane wing",+ "airplane window",+ "clouds",+ "sunset",+ "sky",+ "aerial view",+ "flight",+ "travel",+ "golden hour",+ "horizon",+ "orange sky",+ "warm colors",+ "high altitude",+ "aviation",+ "view from plane"+ ],"aspect": "16:9","file": "/cut-stock/travel-airplane-wing.webp","thumb": "/cut-stock/travel-airplane-wing.thumb.webp"@@ -126,6 +419,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "travel-boardwalk","category": "Travel","prompt": "Professional stock photograph: a wooden boardwalk lined with palm trees leading to a white-sand beach and clear shallow water. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "beach",+ "sand",+ "palm trees",+ "ocean",+ "boardwalk",+ "blue sky",+ "tropical",+ "clear water",+ "sunny",+ "paradise",+ "vacation",+ "nature",+ "white sand",+ "waves",+ "wood path",+ "seascape",+ "tranquil",+ "summer",+ "coastline",+ "outdoors"+ ],"aspect": "16:9","file": "/cut-stock/travel-boardwalk.webp","thumb": "/cut-stock/travel-boardwalk.thumb.webp"@@ -134,6 +449,20 @@ export const STOCK_IMAGES: StockImage[] = ["id": "travel-balloons","category": "Travel","prompt": "Professional stock photograph: dozens of hot-air balloons drifting over a rocky valley at dawn, soft pastel sky. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "hot air balloons",+ "valley",+ "river",+ "sunrise",+ "mountains",+ "desert",+ "sky",+ "canyon",+ "landscape",+ "rocks",+ "morning",+ "clear sky"+ ],"aspect": "16:9","file": "/cut-stock/travel-balloons.webp","thumb": "/cut-stock/travel-balloons.thumb.webp"@@ -142,6 +471,22 @@ export const STOCK_IMAGES: StockImage[] = ["id": "travel-flatlay","category": "Travel","prompt": "Professional stock photograph: a flat-lay of a passport, film camera, sunglasses, and a paper map with a marked route, viewed from above. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "passport",+ "world map",+ "camera",+ "sunglasses",+ "travel planning",+ "red pins",+ "wooden table",+ "adventure",+ "vintage camera",+ "travel accessories",+ "vacation",+ "indoor",+ "trip",+ "preparation"+ ],"aspect": "1:1","file": "/cut-stock/travel-flatlay.webp","thumb": "/cut-stock/travel-flatlay.thumb.webp"@@ -150,6 +495,24 @@ export const STOCK_IMAGES: StockImage[] = ["id": "city-skyline","category": "City","prompt": "Professional stock photograph: a modern city skyline across the water at blue hour, glass towers reflecting the last light. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "city",+ "skyline",+ "skyscrapers",+ "waterfront",+ "water",+ "reflections",+ "dusk",+ "twilight",+ "night",+ "city lights",+ "modern architecture",+ "urban",+ "boats",+ "yachts",+ "evening",+ "blue sky"+ ],"aspect": "16:9","file": "/cut-stock/city-skyline.webp","thumb": "/cut-stock/city-skyline.thumb.webp"@@ -158,6 +521,24 @@ export const STOCK_IMAGES: StockImage[] = ["id": "city-neon-crosswalk","category": "City","prompt": "Professional stock photograph: a rainy neon-lit crosswalk at night, umbrellas and reflections on wet asphalt. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "people",+ "umbrellas",+ "rain",+ "night",+ "city street",+ "neon signs",+ "reflections",+ "crosswalk",+ "cars",+ "pedestrians",+ "wet street",+ "urban",+ "colorful",+ "red umbrella",+ "yellow umbrella",+ "street lights"+ ],"aspect": "9:16","file": "/cut-stock/city-neon-crosswalk.webp","thumb": "/cut-stock/city-neon-crosswalk.thumb.webp"@@ -166,6 +547,26 @@ export const STOCK_IMAGES: StockImage[] = ["id": "city-rooftop","category": "City","prompt": "Professional stock photograph: a rooftop terrace view over downtown at sunset, string lights in the foreground. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "string lights",+ "light bulbs",+ "cityscape",+ "buildings",+ "river",+ "sunset",+ "rooftop",+ "pergola",+ "railing",+ "outdoor seating",+ "urban",+ "evening",+ "sky",+ "water",+ "bridge",+ "patio",+ "high rise",+ "twilight"+ ],"aspect": "16:9","file": "/cut-stock/city-rooftop.webp","thumb": "/cut-stock/city-rooftop.thumb.webp"@@ -174,6 +575,26 @@ export const STOCK_IMAGES: StockImage[] = ["id": "city-subway","category": "City","prompt": "Professional stock photograph: a subway train arriving in motion blur while commuters wait on the platform. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "subway",+ "train",+ "platform",+ "people",+ "commuters",+ "underground",+ "station",+ "man",+ "woman",+ "newspaper",+ "phone",+ "backpack",+ "motion blur",+ "waiting",+ "urban",+ "indoors",+ "track",+ "lights"+ ],"aspect": "16:9","file": "/cut-stock/city-subway.webp","thumb": "/cut-stock/city-subway.thumb.webp"@@ -182,6 +603,26 @@ export const STOCK_IMAGES: StockImage[] = ["id": "city-cafe-corner","category": "City","prompt": "Professional stock photograph: a sidewalk café on a leafy street corner, bicycles parked outside, morning light. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "city",+ "street",+ "cafe",+ "outdoor seating",+ "people",+ "bicycles",+ "trees",+ "sunny",+ "daytime",+ "tables",+ "chairs",+ "barista",+ "sidewalk",+ "cars",+ "street light",+ "building",+ "customers",+ "road"+ ],"aspect": "16:9","file": "/cut-stock/city-cafe-corner.webp","thumb": "/cut-stock/city-cafe-corner.thumb.webp"@@ -190,6 +631,23 @@ export const STOCK_IMAGES: StockImage[] = ["id": "city-aerial-grid","category": "City","prompt": "Professional stock photograph: a straight-down aerial of a busy city intersection, crosswalk stripes and tiny cars forming a clean grid. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "city",+ "street",+ "cars",+ "traffic",+ "intersection",+ "buildings",+ "skyscrapers",+ "rooftop garden",+ "road",+ "crosswalks",+ "urban",+ "aerial view",+ "daytime",+ "vehicles",+ "pavement"+ ],"aspect": "1:1","file": "/cut-stock/city-aerial-grid.webp","thumb": "/cut-stock/city-aerial-grid.thumb.webp"@@ -198,6 +656,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "tech-coding","category": "Technology","prompt": "Professional stock photograph: a developer at a dual-monitor setup writing code in a dim room, screen glow on their face. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "man",+ "developer",+ "programmer",+ "office",+ "desk",+ "computer monitors",+ "keyboard",+ "mouse",+ "coffee cup",+ "glasses",+ "plant",+ "books",+ "window",+ "coding",+ "technology",+ "work",+ "home office",+ "screen",+ "data",+ "software"+ ],"aspect": "16:9","file": "/cut-stock/tech-coding.webp","thumb": "/cut-stock/tech-coding.thumb.webp"@@ -206,6 +686,23 @@ export const STOCK_IMAGES: StockImage[] = ["id": "tech-server-room","category": "Technology","prompt": "Professional stock photograph: a long server-room aisle with racks of blinking status lights fading into the distance. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "server racks",+ "data center",+ "server room",+ "lights",+ "network equipment",+ "servers",+ "technology",+ "computing",+ "storage",+ "hallway",+ "indoor",+ "electronics",+ "infrastructure",+ "information technology",+ "it equipment"+ ],"aspect": "16:9","file": "/cut-stock/tech-server-room.webp","thumb": "/cut-stock/tech-server-room.thumb.webp"@@ -214,6 +711,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "tech-circuit-macro","category": "Technology","prompt": "Professional stock photograph: a macro of a circuit board, gold traces and a CPU die in sharp focus, shallow depth of field. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "circuit board",+ "microchip",+ "processor",+ "electronics",+ "computer hardware",+ "technology",+ "integrated circuit",+ "golden traces",+ "pcb",+ "semiconductors",+ "close-up",+ "data",+ "engineering",+ "cpu",+ "digital",+ "component",+ "mainboard",+ "electrical",+ "hardware",+ "modern tech"+ ],"aspect": "1:1","file": "/cut-stock/tech-circuit-macro.webp","thumb": "/cut-stock/tech-circuit-macro.thumb.webp"@@ -222,6 +741,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "tech-robot-arm","category": "Technology","prompt": "Professional stock photograph: an industrial robot arm assembling components on a clean production line, cool white lighting. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "robotic arm",+ "factory",+ "clean room",+ "assembly line",+ "electronics",+ "circuit board",+ "manufacturing",+ "industrial robot",+ "production line",+ "technology",+ "automation",+ "components",+ "bin",+ "workstation",+ "fluorescent light",+ "window",+ "technician",+ "modern",+ "precision",+ "high tech"+ ],"aspect": "16:9","file": "/cut-stock/tech-robot-arm.webp","thumb": "/cut-stock/tech-robot-arm.thumb.webp"@@ -230,6 +771,23 @@ export const STOCK_IMAGES: StockImage[] = ["id": "tech-vr-headset","category": "Technology","prompt": "Professional stock photograph: a person wearing a VR headset reaching out, lit by soft violet and cyan studio light. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "person",+ "vr headset",+ "virtual reality",+ "hand",+ "woman",+ "neon light",+ "indoors",+ "technology",+ "metaverse",+ "gaming",+ "futuristic",+ "immersive",+ "interactive",+ "digital",+ "jacket"+ ],"aspect": "9:16","file": "/cut-stock/tech-vr-headset.webp","thumb": "/cut-stock/tech-vr-headset.thumb.webp"@@ -238,6 +796,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "tech-dashboard","category": "Technology","prompt": "Professional stock photograph: a large monitor showing a clean analytics dashboard with charts, a blurred office behind it. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "office",+ "computer monitor",+ "graphs",+ "charts",+ "data visualization",+ "plant",+ "desk",+ "people",+ "windows",+ "light fixture",+ "workplace",+ "business",+ "analytics",+ "interior",+ "screen",+ "statistics",+ "line graph",+ "bar chart",+ "donut chart",+ "desktop computer"+ ],"aspect": "16:9","file": "/cut-stock/tech-dashboard.webp","thumb": "/cut-stock/tech-dashboard.thumb.webp"@@ -246,6 +826,23 @@ export const STOCK_IMAGES: StockImage[] = ["id": "anime-neon-street","category": "Anime","prompt": "High-quality anime illustration: a rain-slicked neon city street at night, a figure with a glowing umbrella walking toward the viewer. Clean line art, vibrant cel shading, detailed background, cinematic composition. No text, no watermarks.",+ "tags": [+ "city",+ "night",+ "rain",+ "wet street",+ "puddles",+ "reflections",+ "buildings",+ "neon signs",+ "person",+ "umbrella",+ "urban",+ "anime style",+ "cyberpunk",+ "glowing lights",+ "street"+ ],"aspect": "9:16","file": "/cut-stock/anime-neon-street.webp","thumb": "/cut-stock/anime-neon-street.thumb.webp"@@ -254,6 +851,25 @@ export const STOCK_IMAGES: StockImage[] = ["id": "anime-cherry-blossoms","category": "Anime","prompt": "High-quality anime illustration: a student on a hilltop path under falling cherry blossoms, a town and sea far below. Clean line art, vibrant cel shading, detailed background, cinematic composition. No text, no watermarks.",+ "tags": [+ "schoolgirl",+ "cherry blossoms",+ "trees",+ "path",+ "hillside",+ "town",+ "ocean",+ "mountains",+ "blue sky",+ "green grass",+ "falling petals",+ "sunny day",+ "spring",+ "school uniform",+ "backpack",+ "clouds",+ "coastal view"+ ],"aspect": "16:9","file": "/cut-stock/anime-cherry-blossoms.webp","thumb": "/cut-stock/anime-cherry-blossoms.thumb.webp"@@ -262,6 +878,24 @@ export const STOCK_IMAGES: StockImage[] = ["id": "anime-mecha","category": "Anime","prompt": "High-quality anime illustration: a giant mecha standing guard over a futuristic city at sunset, clouds parting dramatically. Clean line art, vibrant cel shading, detailed background, cinematic composition. No text, no watermarks.",+ "tags": [+ "mech",+ "robot",+ "futuristic city",+ "skyscrapers",+ "flying vehicles",+ "hovercrafts",+ "sunset",+ "sunrise",+ "twilight",+ "neon lights",+ "glowing buildings",+ "sci-fi",+ "cyberpunk",+ "cityscape",+ "clouds",+ "elevated platform"+ ],"aspect": "16:9","file": "/cut-stock/anime-mecha.webp","thumb": "/cut-stock/anime-mecha.thumb.webp"@@ -270,6 +904,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "anime-ramen-shop","category": "Anime","prompt": "High-quality anime illustration: a cozy late-night ramen shop interior, steam rising from bowls, warm lantern light. Clean line art, vibrant cel shading, detailed background, cinematic composition. No text, no watermarks.",+ "tags": [+ "ramen shop",+ "ramen chef",+ "customers",+ "ramen bowls",+ "steaming ramen",+ "chopsticks",+ "counter",+ "stools",+ "japanese lanterns",+ "shelves",+ "bottles",+ "jars",+ "plates",+ "windows",+ "night scene",+ "interior",+ "door",+ "street",+ "restaurant sign",+ "food"+ ],"aspect": "16:9","file": "/cut-stock/anime-ramen-shop.webp","thumb": "/cut-stock/anime-ramen-shop.thumb.webp"@@ -278,6 +934,24 @@ export const STOCK_IMAGES: StockImage[] = ["id": "anime-floating-islands","category": "Anime","prompt": "High-quality anime illustration: a fantasy landscape of floating islands with waterfalls spilling into the sky, airships drifting between them. Clean line art, vibrant cel shading, detailed background, cinematic composition. No text, no watermarks.",+ "tags": [+ "floating islands",+ "waterfalls",+ "airship",+ "sky",+ "clouds",+ "trees",+ "fantasy art",+ "daytime",+ "ancient ruins",+ "planet",+ "mystical",+ "landscape",+ "blue sky",+ "cliff",+ "nature",+ "flying boat"+ ],"aspect": "16:9","file": "/cut-stock/anime-floating-islands.webp","thumb": "/cut-stock/anime-floating-islands.thumb.webp"@@ -286,6 +960,26 @@ export const STOCK_IMAGES: StockImage[] = ["id": "anime-portrait","category": "Anime","prompt": "High-quality anime illustration: a close-up portrait of a silver-haired adventurer with bright green eyes, wind-blown hair, golden-hour light. Clean line art, vibrant cel shading, detailed background, cinematic composition. No text, no watermarks.",+ "tags": [+ "anime girl",+ "warrior",+ "green eyes",+ "silver hair",+ "armor",+ "cape",+ "mountains",+ "sunset",+ "fantasy",+ "sky",+ "clouds",+ "ancient ruins",+ "female",+ "long hair",+ "smiling",+ "autumn leaves",+ "epic landscape",+ "golden hour"+ ],"aspect": "1:1","file": "/cut-stock/anime-portrait.webp","thumb": "/cut-stock/anime-portrait.thumb.webp"@@ -294,6 +988,23 @@ export const STOCK_IMAGES: StockImage[] = ["id": "animal-retriever-beach","category": "Animal","prompt": "Professional stock photograph: a golden retriever sprinting along a beach at sunset, sand kicking up, ears flying. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "dog",+ "golden retriever",+ "running",+ "beach",+ "ocean",+ "sand",+ "sunset",+ "sun",+ "waves",+ "water",+ "sky",+ "shadow",+ "shoreline",+ "palm trees",+ "golden hour"+ ],"aspect": "16:9","file": "/cut-stock/animal-retriever-beach.webp","thumb": "/cut-stock/animal-retriever-beach.thumb.webp"@@ -302,6 +1013,23 @@ export const STOCK_IMAGES: StockImage[] = ["id": "animal-cat-window","category": "Animal","prompt": "Professional stock photograph: a tabby cat sitting in soft window light, dust motes in the sunbeam. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "cat",+ "orange cat",+ "tabby cat",+ "window",+ "windowsill",+ "sunlight",+ "daytime",+ "indoors",+ "blanket",+ "trees",+ "grass",+ "outdoors",+ "dust particles",+ "pet",+ "animal"+ ],"aspect": "1:1","file": "/cut-stock/animal-cat-window.webp","thumb": "/cut-stock/animal-cat-window.thumb.webp"@@ -310,6 +1038,20 @@ export const STOCK_IMAGES: StockImage[] = ["id": "animal-fox-snow","category": "Animal","prompt": "Professional stock photograph: a red fox stepping through fresh snow in a quiet forest, breath visible in the cold air. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "red fox",+ "snow",+ "winter",+ "forest",+ "trees",+ "cold",+ "breath vapor",+ "wildlife",+ "animal",+ "outdoor",+ "daytime",+ "canine"+ ],"aspect": "16:9","file": "/cut-stock/animal-fox-snow.webp","thumb": "/cut-stock/animal-fox-snow.thumb.webp"@@ -318,6 +1060,24 @@ export const STOCK_IMAGES: StockImage[] = ["id": "animal-macaw","category": "Animal","prompt": "Professional stock photograph: a scarlet macaw perched on a branch, vivid red and blue feathers against deep green jungle bokeh. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "macaw",+ "bird",+ "scarlet macaw",+ "parrot",+ "jungle",+ "forest",+ "branch",+ "moss",+ "wildlife",+ "nature",+ "tropical",+ "red",+ "blue",+ "yellow",+ "green",+ "outdoor"+ ],"aspect": "9:16","file": "/cut-stock/animal-macaw.webp","thumb": "/cut-stock/animal-macaw.thumb.webp"@@ -326,6 +1086,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "animal-elephants","category": "Animal","prompt": "Professional stock photograph: a family of elephants at a watering hole at dusk, golden dust in the air. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "elephants",+ "watering hole",+ "savannah",+ "sunset",+ "sunrise",+ "dust",+ "water",+ "elephant calf",+ "adult elephant",+ "wild",+ "nature",+ "africa",+ "wilderness",+ "trees",+ "golden hour",+ "landscape",+ "animal family",+ "wildlife",+ "mud",+ "tusks"+ ],"aspect": "16:9","file": "/cut-stock/animal-elephants.webp","thumb": "/cut-stock/animal-elephants.thumb.webp"@@ -334,6 +1116,26 @@ export const STOCK_IMAGES: StockImage[] = ["id": "animal-horse","category": "Animal","prompt": "Professional stock photograph: a chestnut horse galloping through a misty field at dawn, mane streaming. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "horse",+ "field",+ "grass",+ "trees",+ "forest",+ "mist",+ "fog",+ "sunrise",+ "morning",+ "animal",+ "nature",+ "outdoors",+ "running",+ "gallop",+ "landscape",+ "golden hour",+ "sky",+ "light"+ ],"aspect": "16:9","file": "/cut-stock/animal-horse.webp","thumb": "/cut-stock/animal-horse.thumb.webp"@@ -342,6 +1144,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "food-brunch","category": "Food & Drink","prompt": "Professional stock photograph: a generous brunch spread on a rustic table: pancakes, fruit, coffee, and fresh juice, soft morning light. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "kitchen",+ "wooden table",+ "pancakes",+ "berries",+ "strawberries",+ "blueberries",+ "croissants",+ "orange juice",+ "coffee",+ "mug",+ "pitcher",+ "fruit",+ "grapes",+ "kiwi",+ "melon",+ "window",+ "plant",+ "basket",+ "daytime",+ "breakfast"+ ],"aspect": "16:9","file": "/cut-stock/food-brunch.webp","thumb": "/cut-stock/food-brunch.thumb.webp"@@ -350,6 +1174,25 @@ export const STOCK_IMAGES: StockImage[] = ["id": "food-latte-art","category": "Food & Drink","prompt": "Professional stock photograph: a close-up of latte art in a ceramic cup on a marble counter, steam curling upward. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "coffee",+ "latte",+ "mug",+ "cup",+ "latte art",+ "steam",+ "window",+ "windowsill",+ "plant",+ "marble",+ "beverage",+ "hot drink",+ "indoor",+ "natural light",+ "drink",+ "foam",+ "caffeine"+ ],"aspect": "1:1","file": "/cut-stock/food-latte-art.webp","thumb": "/cut-stock/food-latte-art.thumb.webp"@@ -358,6 +1201,28 @@ export const STOCK_IMAGES: StockImage[] = ["id": "food-sushi","category": "Food & Drink","prompt": "Professional stock photograph: an elegant sushi platter on dark slate, nigiri and rolls arranged with pickled ginger and wasabi. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "sushi",+ "nigiri",+ "sushi rolls",+ "salmon",+ "tuna",+ "eel",+ "shrimp",+ "avocado",+ "rice",+ "nori",+ "pickled ginger",+ "wasabi",+ "serving board",+ "wooden table",+ "green bowls",+ "japanese food",+ "seafood",+ "food",+ "flower petals",+ "meal"+ ],"aspect": "16:9","file": "/cut-stock/food-sushi.webp","thumb": "/cut-stock/food-sushi.thumb.webp"@@ -366,6 +1231,24 @@ export const STOCK_IMAGES: StockImage[] = ["id": "food-tacos","category": "Food & Drink","prompt": "Professional stock photograph: three street tacos with charred meat, cilantro, and lime on a paper-lined tray, market lights behind. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "tacos",+ "corn tortillas",+ "meat",+ "cilantro",+ "onion",+ "lime wedges",+ "serving tray",+ "wooden table",+ "string lights",+ "blurred people",+ "outdoor setting",+ "night market",+ "street food",+ "evening",+ "bokeh lights",+ "food stall"+ ],"aspect": "16:9","file": "/cut-stock/food-tacos.webp","thumb": "/cut-stock/food-tacos.thumb.webp"@@ -374,6 +1257,27 @@ export const STOCK_IMAGES: StockImage[] = ["id": "food-smoothie-bowl","category": "Food & Drink","prompt": "Professional stock photograph: a vibrant berry smoothie bowl topped with granola, banana, and chia seeds, shot from a high angle. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "smoothie bowl",+ "smoothie",+ "bowl",+ "granola",+ "banana slices",+ "blueberries",+ "raspberries",+ "chia seeds",+ "mint leaves",+ "wooden table",+ "breakfast",+ "healthy food",+ "fruit",+ "berries",+ "sunlight",+ "morning",+ "acai bowl",+ "vegan food",+ "snack"+ ],"aspect": "9:16","file": "/cut-stock/food-smoothie-bowl.webp","thumb": "/cut-stock/food-smoothie-bowl.thumb.webp"@@ -382,6 +1286,24 @@ export const STOCK_IMAGES: StockImage[] = ["id": "food-pizza","category": "Food & Drink","prompt": "Professional stock photograph: a wood-fired margherita pizza fresh from the oven, bubbling mozzarella and basil, embers glowing behind. Natural lighting, shallow depth of field, sharp focus, realistic color grading. No text, no watermarks, no logos.",+ "tags": [+ "pizza",+ "pizza peel",+ "wood-fired oven",+ "oven",+ "fire",+ "flames",+ "bricks",+ "crust",+ "mozzarella",+ "basil",+ "tomato sauce",+ "cooking",+ "indoor",+ "food",+ "pizzeria",+ "neapolitan pizza"+ ],"aspect": "16:9","file": "/cut-stock/food-pizza.webp","thumb": "/cut-stock/food-pizza.thumb.webp"