Generowanie obrazu to technika, którą stosuje sztuczna inteligencja (AI) do tworzenia nowych, unikalnych grafik. Można to osiągnąć na różne sposoby, ale jednym z najpopularniejszych jest zastosowanie sieci neuronowych.
Model do generowania obrazu składa się z dwóch sieci neuronowych, które "rywalizują" ze sobą. Pierwsza sieć, zwana generatorem, stara się tworzyć obrazy, które są jak najbardziej przekonujące. Druga sieć, zwana dyskryminatorem, stara się określić, czy obraz jest prawdziwy czy fałszywy.
Łatwiej to zrozumieć jeśli pomyśli się o takim modelu jak o grze między dwoma graczami. W tej grze jeden gracz (nazywamy go generatorem) stara się tworzyć fałszywe banknoty, które wyglądają jak prawdziwe. Drugi gracz (nazywamy go dyskryminatorem) jest detektywem, który stara się rozpoznać, które banknoty są prawdziwe, a które są fałszywe.
Na początku gry, generator nie jest zbyt dobry w tworzeniu fałszywych banknotów, a dyskryminator łatwo odróżnia prawdziwe od fałszywych. Ale z każdym ruchem generator staje się coraz lepszy w tworzeniu fałszywych banknotów, a dyskryminator musi się uczyć, jak być coraz lepszym w rozpoznawaniu tych coraz lepszych fałszywych banknotów.
Gra trwa, aż generator staje się tak dobry w tworzeniu fałszywych banknotów, że dyskryminator nie jest w stanie odróżnić ich od prawdziwych.
Jednym z najbardziej znanych modeli do generowania obrazu jest Midjourney, który działa bardzo podobnie jak ChatGPT. W tej sekcji możesz zapoznać się z tutorialem, który krok po kroku wyjaśnia jak zacząć korzystać efektywnie z tego narzędzia.
Poniżej przykładowe prompty oraz efekty, jakie można osiągnąć przy użyciu Midjourney. Inne generatory warte uwagi, to chociażby Leonardo.AI lub DALL-E2 od OpenAI.
Ludzkie emocje
Prompt
Close-up photo | GENRE: Lifestyle | EMOTION: Joyful | SCENE: A mother lovingly embracing her newborn child, with the focus on their intertwined fingers | ACTORS: Mother and newborn | LOCATION TYPE: Home | CAMERA MODEL: Nikon Z7 II | CAMERA LENSE: 85mm f/1.8 | SPECIAL EFFECTS: Soft focus, natural light | TAGS: Love, complex emotions, affection, warmth, respect, close-up, mother and child, intertwined fingers
Output
Prompt
IMAGE_TYPE: Conceptual photography | GENRE: Drama | EMOTION: Anger | SCENE: A stormy beach, with a lone figure standing near the crashing waves, fists clenched and face contorted in anger, while dark clouds gather overhead | ACTORS: Lone figure | LOCATION TYPE: Stormy beach | CAMERA MODEL: Canon EOS R6 | CAMERA LENSE: 24–70mm f/2.8 | SPECIAL EFFECTS: Dramatic storm, intense emotion | TAGS: Anger, annoyance, displeasure, hostility, stormy beach, dramatic, emotional expression
Output
IMAGE_TYPE: Close-up | GENRE: Romantic Comedy | EMOTION: Excitement & Embarrassment | SCENE: A couple sharing their first kiss under a beautiful fireworks display, but getting startled by a loud explosion and bumping their heads together, causing them to laugh in embarrassment | ACTORS: Couple | LOCATION TYPE: Outdoor festival | CAMERA MODEL: Fujifilm X-T4 | CAMERA LENSE: 56mm f/1.2 | SPECIAL EFFECTS: Fireworks, low-light | TAGS: excitement, embarrassment, close-up, first kiss, fireworks, romantic comedy
Output
Prompt
IMAGE_TYPE: Close-up photo | GENRE: Travel | EMOTION: Passionate | SCENE: A close-up of a young couple sharing a loving gaze, with the romantic setting of the Eiffel Tower at sunset softly blurred in the background | ACTORS: Young couple | LOCATION TYPE: Paris | CAMERA MODEL: Fujifilm X-T4 | CAMERA LENSE: 56mm f/1.2 | SPECIAL EFFECTS: Shallow depth of field, golden hour | TAGS: Love, complex emotions, affection, warmth, respect, close-up, romantic gaze, Eiffel Tower
Output
Prompt
IMAGE_TYPE: Close-up portrait | GENRE: Drama | EMOTION: Excitement | SCENE: A child’s face lit up in excitement as they unwrap a birthday present, revealing a much-desired toy | ACTORS: Child | LOCATION TYPE: Birthday party | CAMERA MODEL: Canon EOS R6 | CAMERA LENSE: 100mm f/2.8 Macro | SPECIAL EFFECTS: Shallow depth of field, high contrast | TAGS: Excitement, enthusiasm, affection, warmth, respect, birthday present, surprise, child’s joy
Przyroda i krajobrazy
Prompt
IMAGE_TYPE: Landscape photo | GENRE: Adventure | EMOTION: Inspiring | SCENE: A panoramic view of majestic snow-capped peaks with a pristine alpine lake reflecting the mountains in the foreground | LOCATION TYPE: Alpine lake | CAMERA MODEL: Nikon D850 | CAMERA LENSE: 14–24mm f/2.8 | SPECIAL EFFECTS: Reflection, golden hour light | TAGS: Mountains, majestic peaks, snow-capped summits, rugged terrain, alpine lake, breathtaking shots
Output
Prompt
IMAGE_TYPE: Landscape | GENRE: Nature | EMOTION: Soothing | SCENE: A small waterfall cascading into a tranquil lagoon, surrounded by mossy rocks and lush greenery, with a narrow wooden bridge arching over the water | ACTORS: None | LOCATION TYPE: Waterfall | CAMERA MODEL: Nikon Z7 II | CAMERA LENSE: 14–30mm f/4 | SPECIAL EFFECTS: Cascading water, mossy rocks | TAGS: Rivers & Lakes, serene water bodies, lush vegetation, reflective surfaces, meandering paths, stunning compositions
Output
Prompt
IMAGE_TYPE: Landscape | GENRE: Fantasy | EMOTION: Enchanting | SCENE: An ancient stone bridge under the swirling hues of the Northern Lights, with star trails illuminating the scene and a peaceful river flowing below | LOCATION TYPE: Countryside | CAMERA MODEL: Sony A7R IV | CAMERA LENSE: 12–24mm f/2.8 | SPECIAL EFFECTS: Long exposure, composite image | TAGS: Auroras, starry skies, nighttime landscapes, Northern Lights, stone bridge, enchanting, magical perspective
Output
Prompt
IMAGE_TYPE: Panoramic photo | GENRE: Nature | EMOTION: Breathtaking | SCENE: A panoramic view of a majestic canyon in a National Park, with the sun setting behind the jagged cliffs, casting golden light across the landscape | ACTORS: None | LOCATION TYPE: National Park | CAMERA MODEL: Canon EOS R6 | CAMERA LENSE: 16–35mm f/2.8 | SPECIAL EFFECTS: HDR, panoramic stitching | TAGS: National Parks & Reserves, protected natural area, diverse landscapes, flora, fauna, majestic canyon, golden sunset
Output
Prompt
IMAGE_TYPE: Landscape | GENRE: Nature | EMOTION: Dynamic | SCENE: A desert landscape during a sandstorm, with sand dunes shifting and swirling in the wind, creating intricate patterns | ACTORS: None | LOCATION TYPE: Desert | CAMERA MODEL: Fujifilm X-T4 | CAMERA LENSE: 16–55mm f/2.8 | SPECIAL EFFECTS: Sandstorm | TAGS: deserts, stark beauty, desert landscape, sand dunes, sandstorm, patterns
Output
Logo
Prompt
IMAGE_TYPE: Logo design | GENRE: Technology | EMOTION: Innovative | SCENE: A geometric logo for a cutting-edge tech company, combining triangles and hexagons to create the impression of a futuristic city skyline | TAGS: Geometric, logo design, technology, innovative, triangles, hexagons, city skyline
Output
Prompt
IMAGE_TYPE: Logo design | GENRE: Technology | EMOTION: Innovative | SCENE: A geometric logo for a cutting-edge tech company, combining triangles and hexagons to create the impression of a futuristic city skyline | TAGS: Geometric, logo design, technology, innovative, triangles, hexagons, city skyline
Output
Prompt
IMAGE_TYPE: Logo design | GENRE: Abstract | EMOTION: Trustworthy | SCENE: An abstract logo for a financial institution, using solid shapes and cool colors to symbolize stability and trust | TAGS: Abstract logo, solid shapes, cool colors, financial institution, stability, trust
Output
Prompt
IMAGE_TYPE: Logo design | GENRE: Abstract | EMOTION: Joyful | SCENE: An abstract logo for a children’s toy company, using playful shapes and bright colors to represent fun and imagination | TAGS: Abstract logo, playful shapes, bright colors, children’s toy company, fun, imagination
Output
Tła PowePointa
Prompt
IMAGE_TYPE: PowerPoint background | GENRE: Abstract | SCENE: A vibrant, fluid art pattern with swirling colors merging into one another | TAGS: Abstract, fluid art, vibrant colors
Output
Prompt
IMAGE_TYPE: PowerPoint background | GENRE: Pattern | SCENE: A 3D texture of interlocking hexagons with a metallic finish | TAGS: Patterns, textures, 3D, hexagons, metallic
Output
Prompt
IMAGE_TYPE: PowerPoint background | TOPIC: Fashion | SCENE: A high fashion runway with models sporting avant-garde clothing, interspersed with close-up shots of designer fabrics, accessories, and makeup | TAGS: fashion, runway, designer, avant-garde, 8k
Prompt
IMAGE_TYPE: PowerPoint background | GENRE: Abstract | SCENE: An array of glowing, neon squares, creating an abstract digital landscape | TAGS: Abstract, neon squares, digital landscape
Output
Prompt
IMAGE_TYPE: PowerPoint background | GENRE: Fresh | SCENE: A beautiful spring blossom scene with pink cherry blossom trees and a clear blue sky | TAGS: PowerPoint background, seasonal events, spring, fresh, cherry blossom, blue sky
Output
Architektura
Prompt
IMAGE_TYPE: Architectural photography | GENRE: Surreal | EMOTION: Dreamlike | SCENE: A parametricism-inspired bridge stretching across a serene lake, with its fluid and organic design reflecting beautifully on the water’s surface | ACTORS: None | LOCATION TYPE: Lake | CAMERA MODEL: Canon EOS R5 | CAMERA LENSE: 24–70mm f/2.8 | SPECIAL EFFECTS: Reflection, serene atmosphere | TAGS: parametricism, contemporary architecture, fluid design, surreal, bridge, lake reflection
Output
Prompt
IMAGE_TYPE: Architectural photography | GENRE: Neo-vernacular | EMOTION: Inviting | SCENE: A cozy, sustainable residential community built using reclaimed materials and traditional construction methods, fostering a sense of belonging and connection to local heritage | ACTORS: None | LOCATION TYPE: Residential community | CAMERA MODEL: Hasselblad X1D II 50C | CAMERA LENSE: 45mm f/3.5 | SPECIAL EFFECTS: Warm tones, intimate perspective | TAGS: Neo-vernacular Architecture, contemporary approach, traditional building techniques, sustainable community, reclaimed materials
Output
Prompt
IMAGE_TYPE: Architectural photography | GENRE: High-Tech Architecture | EMOTION: Inspiring | SCENE: A sustainable high-tech building featuring a vertical garden, rooftop solar panels, and a visible rainwater harvesting system | LOCATION TYPE: Urban park | CAMERA MODEL: Sony A7R IV | CAMERA LENSE: 35mm f/1.4 | SPECIAL EFFECTS: Golden hour lighting | TAGS: High-Tech Architecture, inspiring, sustainable building, vertical garden, solar panels, rainwater harvesting
Output
Prompt
IMAGE_TYPE: Architectural photography | GENRE: Mid-Century Modern | EMOTION: Tranquil | SCENE: A peaceful Mid-Century Modern courtyard with a central water feature, surrounded by minimalist landscaping, sculptural plants, and a seamless connection to the interior living spaces | LOCATION TYPE: Mid-Century Modern courtyard | CAMERA MODEL: Leica SL2 | CAMERA LENSE: 24–90mm f/2.8–4 | SPECIAL EFFECTS: Serene atmosphere, water feature | TAGS: architecture, Mid-Century Modern, courtyard, minimalist landscaping, sculptural plants, indoor-outdoor integration
Output
Prompt
IMAGE_TYPE: Architectural photography | GENRE: Modernism | EMOTION: Serene | SCENE: An International Style museum building, featuring minimal ornamentation, open floor plans, and large windows that allow natural light to illuminate the interior, highlighting the artwork on display | ACTORS: None | LOCATION TYPE: Museum | CAMERA MODEL: Fujifilm GFX 100 | CAMERA LENSE: 32–64mm f/4 | SPECIAL EFFECTS: Natural light, interior illumination | TAGS: International Style, modernist architecture, minimal ornamentation, open floor plans, large windows, museum
Output
Prompt
IMAGE_TYPE: Architectural photography | GENRE: Urban exploration | EMOTION: Mysterious | SCENE: An abandoned gothic mansion with ornate details, including pointed arches, ribbed vaults, and flying buttresses, overgrown with ivy and surrounded by an eerie mist | ACTORS: None | LOCATION TYPE: Abandoned mansion | CAMERA MODEL: Sony A7R IV | CAMERA LENSE: 16–35mm f/2.8 | SPECIAL EFFECTS: Eerie mist, overgrown ivy | TAGS: Gothic architecture, medieval Europe, pointed arches, ribbed vaults, flying buttresses, urban exploration, abandoned mansion