import os WORKSPACE = '/home/hermes/workspace' articles = { 'artikel_cmon_status_update_2026.html': 'Zombicide (CMON)', 'artikel_renegade_essence20_ende_2026.html': 'Transformers RPG / Power Rangers RPG (Renegade)', 'artikel_awaken_realms_thundergryph_2026.html': "Darwin's Journey + Nemesis", 'artikel_asmodee_moodbox_2026.html': 'Guess the Mess (Moodbox)', 'artikel_medium_hand_of_fate_2026.html': 'Medium (Synapses Games)', 'artikel_bgg_best_of_june_2026.html': 'BoardGameGeek / Brettspiel-Kultur', } prompts = { 'artikel_cmon_status_update_2026.html': """Using the provided board game cover of Zombicide as the primary reference for the game's dark survival-horror artwork, create a cinematic, photorealistic hero image. Place the Zombicide game box prominently on a weathered concrete floor in an abandoned urban warehouse. The box is slightly tilted, leaning against a rusty metal pipe. Scattered dice and a survivor miniature rest nearby in the foreground. Faint, flickering emergency lights illuminate the scene from above, and distant broken windows reveal a blood-red sunset skyline. The lighting is a dramatic low-key setup: a single harsh overhead source creates long, menacing shadows, with subtle rim light from the window catching the edge of the game box. Deep cinematic blacks in the shadows. Shot with a 35mm wide-angle lens at f/2.8, low angle perspective emphasizing the box's presence against the desolate warehouse backdrop. The mood is tense, atmospheric, post-apocalyptic survival horror. Style: photorealistic product photography meets cinematic editorial from a zombie film set, rich textures on the cardboard and concrete, deep shadows with crushed blacks, desaturated urban color palette with a single warm sunset accent, shot on medium-format digital camera. Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""", 'artikel_renegade_essence20_ende_2026.html': """Using the provided board game cover of the Transformers Roleplaying Game as the primary reference for the mecha-sci-fi artwork, create a cinematic, photorealistic hero image. Place the Transformers RPG sourcebook prominently on a brushed steel metal table in a high-tech command center. The book is open, revealing its glossy interior pages with mecha illustrations. Holographic blue interface projections float subtly above the table surface. In the background, a massive panoramic window shows Earth from orbit with stars and a nebula. The lighting is cinematic sci-fi: cool blue rim light from the holographic displays combined with warm amber console lights creating a two-tone color contrast. Soft overhead panel lighting eliminates harsh shadows. Shot with a 50mm prime lens at f/2.0, eye-level perspective focusing sharply on the book cover with a creamy bokeh background. The mood is epic, futuristic, and heroic. Style: photorealistic product photography meets sci-fi film production still, sharp metallic textures, vibrant blue-and-amber color grading, polished surfaces reflecting ambient light, shot on medium-format digital camera. Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""", 'artikel_awaken_realms_thundergryph_2026.html': """Using the provided board game covers of Darwin's Journey and Nemesis as dual references — Darwin's Journey for the warm, exploratory adventure aesthetic and Nemesis for the dark sci-fi tension — create a cinematic, photorealistic hero image. Place both game boxes side by side on a richly textured dark oak library table. Darwin's Journey is on the left, catching warm candlelight; Nemesis is on the right, partially in shadow. Between them, a vintage brass compass and a flickering oil lamp cast warm pools of light. In the background, towering bookshelves filled with leather-bound scientific volumes and star charts recede into darkness. The lighting is a chiaroscuro Rembrandt-style setup: the oil lamp creates a dramatic warm key light from the center, with deep shadows at the edges of the frame. Dust motes float in the light beam. Shot with a 85mm portrait lens at f/1.8, straight-on tabletop perspective, razor-sharp focus on the game boxes with a soft, painterly background blur. The mood is contemplative discovery meets quiet dread. Style: photorealistic still-life photography meets cinematic editorial, rich wood and leather textures, warm amber and cool shadow color split, museum-quality lighting, shot on medium-format digital camera. Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""", 'artikel_asmodee_moodbox_2026.html': """Using the provided board game cover of Guess the Mess as the primary reference for the colorful, playful party-game artwork, create a cinematic, photorealistic hero image. Place the Guess the Mess game box prominently on a bright, sun-lit kitchen table made of light maple wood. The box is surrounded by real, physical party props that match the game's chaotic energy: colorful markers, scribbled paper cards with funny doodles, a tipped-over coffee mug, and scattered game tokens. Fresh flowers in a vase add a vibrant pop of color in the background, near a sun-drenched window. The lighting is bright, natural morning sunlight streaming through a large window, creating soft, diffused shadows and warm highlights. A sheer curtain gently diffuses the light for a clean, lifestyle-photography look. Shot with a 50mm lens at f/2.8, slightly elevated angle looking down at the table scene, sharp focus on the game box with a natural depth-of-field falloff toward the window. Style: photorealistic lifestyle product photography, bright and airy, warm natural tones, soft textures of wood grain and paper, editorial-quality color grading with a slight golden warmth. Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""", 'artikel_medium_hand_of_fate_2026.html': """Using the provided board game cover of Medium as the primary reference for the mystical, Art-Deco-inspired card game artwork, create a cinematic, photorealistic hero image. Place the Medium card game box prominently on a dark velvet-covered seance table in a dimly lit parlor room. The box is angled slightly toward the camera, its metallic foil accents catching a single dramatic light source. A vintage crystal ball rests to the left of the box, with ethereal, swirling mist inside. Tarot-style cards are fanned out in the foreground. In the background, heavy velvet curtains in deep purple frame the scene. The lighting is theatrical and mysterious: a single warm spotlight from above right illuminates the game box and crystal ball, creating dramatic chiaroscuro. Soft purple ambient light from an unseen source fills the shadows. Shot with a 85mm portrait lens at f/1.4, eye-level perspective, extremely shallow depth of field with the game box in tack-sharp focus and everything else dissolving into a dreamy, atmospheric blur. Style: photorealistic product photography meets atmospheric theatrical lighting, rich velvet textures, metallic highlights on the foil, deep jewel-tone color palette (purple, gold, black), mysterious and elegant mood. Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""", 'artikel_bgg_best_of_june_2026.html': """Using the provided BoardGameGeek logo and a selection of popular June 2026 board game covers as references, create a cinematic, photorealistic hero image celebrating board gaming culture. Place a curated collection of board game boxes arranged artfully on a mid-century modern wooden credenza in a cozy, lived-in game room. The games are stacked and displayed at varying angles, creating visual depth. A half-played board game with wooden meeples, dice, and cards is spread out on a coffee table in the foreground. Warm string lights hang above, casting a festive glow. The lighting is warm and inviting: soft golden hour light from a side window combined with the gentle twinkle of string lights overhead. The mix of natural and ambient light creates a rich, three-dimensional feel with soft shadows. Shot with a 35mm wide-angle lens at f/4.0, slightly elevated perspective capturing both the displayed games and the play area in a single, rich composition. The mood is warm, nostalgic, and communal. Style: photorealistic interior lifestyle photography meets editorial board game culture feature, rich textures of cardboard and wood, warm amber and cream color palette, cozy yet polished, shot on medium-format digital camera. Aspect ratio: 16:9 landscape. Resolution: Full HD 1920x1080, 72 DPI.""" } prompt_block_tpl = '''
{prompt}