Open History to see the last commit
1// Photo-realistic prompts with lens specifications for fal.ai models
2
3export const IMAGE_PROMPTS = [
4 // Action/Sports
5 'Professional motorsport photograph of a rally car mid-drift on a gravel mountain stage, dust cloud frozen in motion, driver visible through windshield, shot on Canon EOS R3 with 70-200mm f/2.8 at 1/2000s, golden hour backlighting',
6 'Explosive action shot of a stuntwoman leaping through a glass window, shards suspended around her, practical pyrotechnics in background, photographed with Sony A1 and 24-70mm f/2.8 GM at 1/4000s, high-speed sync flash',
7 'MMA fighter throwing a spinning back kick in the octagon, sweat droplets frozen mid-air, intense concentration on face, shot on Nikon Z9 with 85mm f/1.4 at 1/3200s, dramatic rim lighting',
8 'Parkour athlete mid-backflip between rooftops at sunset, city skyline behind, clothes rippling in wind, Canon 5D Mark IV with 35mm f/1.4L at 1/2500s, natural golden hour light',
9
10 // Portrait/Fashion
11 'Editorial fashion portrait of a woman in a crimson silk gown on a windswept cliff, fabric billowing dramatically, stormy ocean backdrop, Phase One IQ4 with 110mm f/2.8 lens, overcast diffused lighting',
12 'Intimate boudoir photograph, woman wrapped in sheer white linen on unmade bed, morning sunlight streaming through venetian blinds creating shadow patterns on skin, Leica SL2 with 50mm Summilux f/1.4, natural window light',
13 'High-fashion beauty shot, model with slicked wet hair and glistening skin, water droplets on face and shoulders, studio shot on Hasselblad H6D with 100mm f/2.2 and Profoto beauty dish',
14 'Noir-style portrait of a jazz singer at a vintage microphone, cigarette smoke curling, red lipstick, sequined dress catching spotlight, shot on Fuji GFX 100S with 80mm f/1.7, single spotlight with haze',
15
16 // Cinematic/Documentary
17 'War correspondent photograph of special forces operator in full tactical gear during night operation, NVG goggles raised, face lit by distant explosion, Sony A7S III with 35mm f/1.4 at ISO 12800, available light only',
18 'Behind-the-scenes film set photograph, actress in period costume between takes, crew and lighting equipment visible, depth of field isolating subject, Leica M11 with 75mm Summilux f/1.4',
19 'Street photography of a mysterious woman in a rain-soaked Tokyo alley, neon signs reflected in puddles, steam rising from vents, Ricoh GR III at f/2.8, high contrast black and white with selective color',
20
21 // Nature/Adventure
22 'National Geographic style photograph of a female free diver descending into a cenote, sunbeams piercing crystal blue water, ancient rock formations, Nikon Z8 in Nauticam housing with 14-24mm f/2.8 at f/8',
23 'Expedition photograph of a mountaineer on knife-edge ridge at dawn, dramatic drop on both sides, distant peaks catching first light, Fuji X-T5 with 16-55mm f/2.8 at f/11, HDR composite',
24 'Wildlife photograph of a lioness mid-pounce during hunt, muscles tensed, dust kicked up, prey blurred in background, Canon EOS R5 with 600mm f/4L at 1/3200s, Serengeti golden grass',
25
26 // Glamour/Lifestyle
27 'Yacht lifestyle photograph, sun-kissed woman in white bikini diving into Mediterranean waters, villa-dotted coastline behind, water splash frozen, Sony A7 IV with 24mm f/1.4 GM at 1/8000s',
28 'Fitness editorial of athletic woman performing yoga pose on volcanic black sand beach at sunrise, steam rising from hot springs, toned physique silhouetted, Canon R6 with 85mm f/1.2L',
29 'Luxury automotive advertisement, woman in designer dress stepping out of vintage Ferrari on Monaco harbor, superyachts in background, Hasselblad X2D with 90mm f/2.5 at golden hour',
30 'Pool party photograph, group of friends laughing and splashing, champagne spray catching sunlight, summer villa setting, shot underwater and above with dual camera rig, Sony A7R V with 20mm f/1.8',
31
32 // Atmospheric/Moody
33 'Rain-soaked urban photograph of a woman running across empty Times Square at 3am, umbrella abandoned, mascara running, taxi headlights creating lens flares, Leica Q3 at f/1.7 wide open',
34 'Abandoned industrial photograph, model in couture gown exploring derelict factory, dust particles in light shafts, decay and beauty contrast, Canon 1DX III with tilt-shift 45mm f/2.8',
35] as const
36
37export const VIDEO_PROMPTS = {
38 textToVideo: [
39 // Action sequences - cinematic realism
40 'Cinematic car commercial: Porsche 911 GT3 powerslides around mountain hairpin, camera on helicopter gimbal tracking alongside, gravel spraying, golden hour light flaring through dust, shot on RED V-Raptor 8K with Angenieux Optimo zoom',
41 'Professional fight choreography: Two MMA fighters exchanging combinations in slow motion, sweat flying, muscles rippling, octagon lights creating rim lighting, phantom high-speed camera at 1000fps',
42 'Extreme sports documentary: Wingsuit pilot launches from cliff edge, spreads arms, terrain rushing below at 150mph, POV and chase drone perspectives intercut, GoPro Hero 12 and FPV drone footage',
43 'Motorcycle commercial: Ducati Panigale weaving through Monaco streets at dawn, lean angles catching golden light on fairings, reflections in shop windows, shot on Arri Alexa Mini with anamorphic glass',
44
45 // Atmospheric/Documentary
46 'Nature documentary: Thunderstorm cell rolling across Great Plains at sunset, supercell structure illuminated by internal lightning, time-lapse clouds morphing, shot on RED Komodo with 50-500mm cinema zoom',
47 'Macro cinematography: Single water droplet falls in extreme slow motion, impacts still pool, crown splash forms perfectly, ripples expand outward, Phantom Flex4K at 5000fps with macro probe lens',
48 'Travel documentary: Aurora borealis dancing over Icelandic glacier lagoon, icebergs reflecting green light, stars wheeling above, Sony FX6 with 14mm f/1.8 on motorized timelapse dolly',
49 'Fashion film: Supermodel walks Paris runway, haute couture gown flowing, strobes firing in sequence, slow motion fabric movement, multiple angle coverage on Arri Alexa 35',
50 ],
51 imageToVideo: [
52 // Subtle realistic animation
53 'Gentle breeze animation: hair strands lift and fall naturally, fabric ripples softly, chest rises and falls with breathing, dust motes drift through sunbeam',
54 'Portrait animation: slow push-in on face, subject blinks naturally twice, slight head turn toward camera, ambient light subtly shifts',
55 'Cinematic orbit: camera slowly circles subject at 15 degrees, parallax reveals depth, bokeh shifts in background, volumetric haze catches light',
56 'Action burst: subject explodes into motion, hair and clothing react to momentum, environment responds with particle displacement',
57 'Dolly parallax: camera tracks laterally, foreground and background separate dimensionally, subject remains sharp, shallow depth of field maintained',
58 'Weather transition: rain begins falling, droplets land on skin and surfaces, reflections form in pooling water, mood shifts darker',
59 'Practical fire effect: flames flicker and dance realistically, ember particles rise, warm light plays across subject, smoke wisps drift',
60 'Dynamic action: subject performs athletic movement, muscles engage visibly, hair whips with motion, impact creates environmental reaction',
61 ],
62} as const
63
64export type ImagePrompt = (typeof IMAGE_PROMPTS)[number]
65export type VideoPrompt =
66 | (typeof VIDEO_PROMPTS.textToVideo)[number]
67 | (typeof VIDEO_PROMPTS.imageToVideo)[number]
68
69export function getRandomImagePrompt(): string {
70 return IMAGE_PROMPTS[Math.floor(Math.random() * IMAGE_PROMPTS.length)] ?? ''
71}
72
73export function getRandomVideoPrompt(
74 mode: 'text-to-video' | 'image-to-video',
75): string {
76 const prompts =
77 mode === 'text-to-video'
78 ? VIDEO_PROMPTS.textToVideo
79 : VIDEO_PROMPTS.imageToVideo
80 return prompts[Math.floor(Math.random() * prompts.length)] ?? ''
81}