AI Art
Faith inspired art, created using AI.
Information
Relevant information around generating AI images.
Software
UI
Databases
Prompt Engineering
Introduction
Creating an image that matches a certain expectation is not as trivial as one might expect. The solution space of the AI model is insanely high. To limit this a well engineered prompt can be used to steer the AI in the right direction. This practice is called Prompt Engineering.
Prompt guides
- https://stable-diffusion-art.com/how-to-come-up-with-good-prompts-for-ai-image-generation/#Some_good_keywords_for_you
- https://anakin.ai/blog/stable-diffusion-prompt-guide/
- https://cheatsheet.md/stable-diffusion/stable-diffusion-prompts-guide.en
- https://cheatsheet.md/stable-diffusion/stable-diffusion-webui-styles
- https://stable-diffusion-art.com/
- https://supagruen.github.io/StableDiffusion-CheatSheet/
Resource references
- https://civitai.com/
- https://www.mage.space/explore
- https://tensor.art/
- https://majinai.art/
- https://openmodeldb.info/
Prompt perfecters
Using ChatGPT to optimize the prompt is efficient, because it is not always clear how the AI will respond to a certain prompt. There are templates available to help kickstart the prompt perfectioning via ChatGPT.
- https://www.feedough.com/stable-diffusion-prompt-generator/
- https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion
- https://sd-prompt-generator.netlify.app/
Prompt format
A good prompt exists of (most) of the following topics:
- Subject(s)
- Background
- Medium
- Artistic style
- Lighting
- Resolution
Subject(s)
- Description (What kind of subject is it?)
- Professions, like: 'artist, magician, knight'
- Clothes or accessories
- Body features, like: 'brown hair, blue eyes'
- Action (what is the subject doing?)
- Running, jumping, dancing, etc.
- Pose (Which pose should the subject have? Only relevant for creatures!)
- Extract pose from built-in ControlNet and OpenPose Editor.
- Location (Where in the picture should the subject be displayed?)
- Regional prompting can be used to indicate a sub region in the picture.
- Orientation (From which direction should the subject be displayed?)
- Use camera angle descriptions, like: 'low angle'
- Distance (From which distance should the subject be displayed?)
- Use camera shot descriptions, like: 'medium shot'
- Use length units, like: 'viewed from 100 meters'
Background
The background gives the total setting in which the picture is presented.
- Seasons (Winter, Spring, Summer, Fall)
- Nature (mountains, beach, hills, grass, desert)
- Human-made environments (hotel, restaurant, road, city)
Medium
The medium is the type of picture, like: illustration, oil painting, 3D rendering, digital art and photography.
Artistic style
The style refers to the artistic style of the image, like: impressionist, surrealist, pop art. The names of famous artists can help. Use the SDXL Styles Editor for quickly selecting a preset.
Lighting
The type of lighting is important, because it has a large impact on the emotional value of a picture, like: studio lighting, warm light, crepuscular rays, rim lighting.
Resolution
Resolution represents how sharp and detailed the image is, like: highly detailed, sharp focus, 8K, HD.
Workflow
High level workflow
- Figure out an write down the following specifications for the digital art project:
- Source of inspiration (Bible, images, movies, other art, etc.)
- Topic
- Context
- Theme
- Style
- Composition
- Subjects
- Background
- Create one or more (digital) sketches on how the global picture should look like.
- Separate the individual objects in the sketch in layers (e.g. in Krita or GIMP).
- Create a good prompt for each object (including negative prompts)
- Work from the back to the front (so start with the background).
- Use txt2img and ControlNet (lineart or softedge) to generate the background image, based on the background sketch.
- Use img2img Inpainting-tab for the farthest object
- Repeat up to the last object that is located at the front.
- Clean up interactions between objects using img2img Inpainting-tab.
- Clean up incorrect details (e.g. hands, eyes etc.) using img2img Inpainting-tab.
- Use img2img to create a more coherent image by playing with the denoising strength.
- Inspect the high resolution image for visible defects. NOTE: Inpainting can only be done up to 2048 x 2048 pixels!
- Use ControlNet Tile Upscaling method to get to a high resolution image. (Example: https://www.youtube.com/watch?v=yv4J4orS-SY)
- Use Photo editing software (e.g. Krita, GIMP or Lightroom) to enhance the colors etc. and check print in the final color space.
- Create an A4 info page for the picture
- Explain in compact form the topic and context by referencing the sources and own inspiration.
- Generate some nice background and details, similar to the picture.
SD-Web-UI Forge workflow
To get as close to the imagined concept and as efficiently as possible, the following workflow is proposed:
- Database selection:
- Checkpoint selection: Each model is trained for specific output. Use the right one! (Multiple can be combined)
- Add additional LoRa or LyCORIS files to improve specific features (download at: https://civitai.com/models)
- Prompt creation:
- Use prompt perfector to get to a good descriptive prompt
- Use CLIP Interrogator to retrieve a prompt from an example image that can be used to get detailed prompts for specific features
- Use a fixed seed, in order to same results for the same prompt.
- Choose settings:
- Choose proper sampling method. Each method has it's own benefits and downsides.
- Use relative low resolution, but at the desired aspect ratio. Exact resolution is depending on the used database models (e.g. 512x512, 768x768, 1024x1024 px).
- Image generation:
- Iterate the prompt until the concept is mainly displayed.
- Finalize the details:
- Move to the img2img tab to use inpainting to improve certain aspects
- Upscale image:
- Move to Extras tab and set higher resolution and iterations. Fine-tune the prompt until all details are correct.
- Save image and save prompt & settings.
Image Prompts
Gathering of all used image prompts
Armor of God
Introduction
Efeze 6:10-20 HSV:
"[10] Verder, mijn broeders, word gesterkt in de Heere en in de sterkte van Zijn macht. [11] Bekleed u met de hele wapenrusting van God, opdat u stand kunt houden tegen de listige verleidingen van de duivel. [12] Want wij hebben de strijd niet tegen vlees en bloed, maar tegen de overheden, tegen de machten, tegen de wereldbeheersers van de duisternis van dit tijdperk, tegen de geestelijke machten van het kwaad in de hemelse gewesten. [13] Neem daarom de hele wapenrusting van God aan, opdat u weerstand kunt bieden op de dag van het kwaad, en na alles gedaan te hebben, stand kunt houden. [14] Houd dan stand, uw middel omgord met de waarheid, en bekleed met het borstharnas van de gerechtigheid, [15] en de voeten geschoeid met bereidheid van het Evangelie van de vrede. [16] Neem bovenal het schild van het geloof op, waarmee u alle vurige pijlen van de boze zult kunnen uitblussen. [17] En neem de helm van de zaligheid en het zwaard van de Geest, dat is Gods Woord, [18] terwijl u bij elke gelegenheid met alle gebed en smeking bidt in de Geest en daarin waakzaam bent met alle volharding en smeking voor alle heiligen. [19] Bid ook voor mij, opdat mij het woord gegeven wordt bij het openen van mijn mond, om met vrijmoedigheid het geheimenis van het Evangelie bekend te maken, [20] waarvan ik een gezant ben in ketenen, opdat ik daarin vrijmoedig mag spreken, zoals ik moet spreken."
https://bible.com/bible/1990/eph.6.11.HSV