Results 1 to 6 of 6

Thread: Total War : AI

  1. #1
    olipro's Avatar Civis
    Join Date
    Oct 2006
    Location
    County of Blois
    Posts
    134

    Default Total War : AI

    I want to try a concept.
    These are the last five POTW winner screenshots used to generate images with an AI, using Stable Diffusion.

    POTW699




    Code:
    (photography:1.3) of a battle, Babylon, Alexander the great, bronze age, dirty coats, spears, smoke, dirt, blood, (best quality),(realistic),(detailed), ultra quality, 8K, UHD, phrygian caps, real actors, noon, natural lighting, desert, sand
    Negative prompt: metal armors, metal helmets, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft, video game
    Steps: 45, Sampler: DDIM, CFG scale: 8.5, Seed: 604679201, Size: 1024x576, Model hash: c0d1994c73, Model: realisticVisionV20_v20, ControlNet 0: "preprocessor: softedge_pidisafe, model: control_v11p_sd15_softedge [a8575a2a], weight: 0.8, starting/ending: (0, 0.7), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (1024, 64, 64)", ControlNet 1: "preprocessor: depth_midas, model: control_v11f1p_sd15_depth [cfd03158], weight: 0.8, starting/ending: (0, 0.7), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 64, 64)
    POTW698




    Code:
    Photography of a battle during the three kingdoms era in (China:1.5), 295 A.D., (historical photography:1.5), (realistic), photography, photo, actors, (award–winning photograph),(Canon 5d), (plain battle in the background:1.5), (raw photo), (Nikon Z9), (intricate details), (best quality),(realistic),(detailed),(masterpiece), dslr, ultra quality, 8K, UHD, (dark and dirty outfits:1.5), dirt, smoke
    Negative prompt: ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft, castle, city, fortifications, buildings
    Steps: 40, Sampler: DDIM, CFG scale: 11, Seed: 1225164193, Face restoration: CodeFormer, Size: 1024x576, Model hash: 9aba26abdf, Model: deliberate_v2, ControlNet 0: "preprocessor: softedge_pidisafe, model: control_v11p_sd15_softedge [a8575a2a], weight: 0.7, starting/ending: (0, 0.7), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (875, 64, 64)", ControlNet 1: "preprocessor: depth_leres++, model: control_v11f1p_sd15_depth [cfd03158], weight: 0.7, starting/ending: (0, 0.7), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (1024, 0, 0)
    POTW697


    <- this one is so complicated that the original is far better in my option

    Code:
    animal documentary, (photography:1.3) of an army of crocodiles and lizard monsters wearing swords, shields and armors, aztec, heroic fantasy movie, dark, CGI, epic scene, climax, sunset, (best quality),(realistic),(detailed), ultra quality, 8K, UHD
    Negative prompt: metal armors, metal helmets, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft, video game
    Steps: 40, Sampler: DDIM, CFG scale: 8.5, Seed: 3326455306, Size: 1024x576, Model hash: 4d91c4c217, Model: lyriel_v15, ControlNet 0: "preprocessor: softedge_hed, model: control_v11p_sd15_softedge [a8575a2a], weight: 1, starting/ending: (0, 0.8), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 64, 64)", ControlNet 1: "preprocessor: depth_zoe, model: control_v11f1p_sd15_depth [cfd03158], weight: 1, starting/ending: (0, 0.8), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 64, 64)
    POTW696




    Code:
    documentary, (photography:1.3) of an renaissance soldiers, armor, dwarf, beard, war hammer, shield, feathers on hat, CGI, epic heroic fantasy movie, (best quality),(realistic),(detailed), ultra quality, 8K, UHD
    Negative prompt: metal armors, metal helmets, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft, video game
    Steps: 40, Sampler: DDIM, CFG scale: 8.5, Seed: 4202726173, Size: 1024x576, Model hash: 4d91c4c217, Model: lyriel_v15, ControlNet 0: "preprocessor: softedge_hed, model: control_v11p_sd15_softedge [a8575a2a], weight: 1, starting/ending: (0, 0.8), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 64, 64)", ControlNet 1: "preprocessor: depth_zoe, model: control_v11f1p_sd15_depth [cfd03158], weight: 1, starting/ending: (0, 0.8), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 64, 64)
    POTW695




    Code:
    documentary, (photography:1.3) of saxon soldiers riding horses, chainmail armors, iron helmets, swords, viking age, burning wooden houses in the background, smoke, dirt, CGI, epic history movie, (best quality),(realistic),(detailed), ultra quality, 8K, UHD
    Negative prompt: metal armors, metal helmets, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft, video game
    Steps: 40, Sampler: DDIM, CFG scale: 8.5, Seed: 1919037, Size: 1024x576, Model hash: 4d91c4c217, Model: lyriel_v15, ControlNet 0: "preprocessor: softedge_hed, model: control_v11p_sd15_softedge [a8575a2a], weight: 1, starting/ending: (0, 0.8), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 64, 64)", ControlNet 1: "preprocessor: depth_zoe, model: control_v11f1p_sd15_depth [cfd03158], weight: 1, starting/ending: (0, 0.8), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 64, 64)

    Explainations of how to install and use Stablediffusion

    Summary for those afraid about the number of steps : you must install a Python API that will make the programm run. Then install GIT in order to install the program. Then install the program. And finally, configure it.

    0. The prerequit is a very good GPU. I'm serious about it, it's exponentially degressive :
    https://cdn.mos.cms.futurecdn.net/iU...qPa-970-80.png

    1. You need to install locally StableDiffusion.
    I recommand to follow both of these textual tutorials at the same time (they are the same but also complementary concerning explanations)
    https://rentry.org/UnofficialUnstabl...on-on-computer
    https://stable-diffusion-art.com/ins...ep_5_Run_webui

    The best you can do when it's installed is to play with it. I haven't followed any tutorial about usage of Stable Diffusion because the web interface is very intuitive.

    2. You need one or multiple models (basically, a model is a knowledge tank filled with both tangible and cognitive content). You can download them here :
    https://civitai.com/
    They are called "checkpoints".
    (Warning, some NSFW content)

    3. You need a module called ControlNet
    This tutorial about installation and usage is the best I have found, very slow, didactic and comprehensive.
    https://www.youtube.com/watch?v=zrGLEgGFJY4
    This page shows what is theorically possible with ControlNet :
    https://github.com/lllyasviel/Contro...main/README.md
    Last edited by olipro; May 28, 2023 at 02:56 AM.
    Mont-joye Saint-Denis !
    Puisse mon épée éviscérer l'envahisseur étranger.

  2. #2

    Default Re: Total War : AI

    Interesting concept and implementation. Funny how in the second pic the AI has created a building complex where those units originally stood.

  3. #3
    olipro's Avatar Civis
    Join Date
    Oct 2006
    Location
    County of Blois
    Posts
    134

    Default Re: Total War : AI

    Quote Originally Posted by Maximinus Thrax View Post
    Interesting concept and implementation. Funny how in the second pic the AI has created a building complex where those units originally stood.
    ControlNet's team is working on a technology that detects "zones" and aknowledges that a zone is, in fact, a house, a tree etc.
    Maybe in the futur we will be able to delimit zones and say "this is a group of soldiers" for example.
    Mont-joye Saint-Denis !
    Puisse mon épée éviscérer l'envahisseur étranger.

  4. #4
    olipro's Avatar Civis
    Join Date
    Oct 2006
    Location
    County of Blois
    Posts
    134

    Default Re: Total War : AI

    POT694




    Code:
    (Historical photography) of Greek amazon warriors females charging in the battlefield during day time, Bronze Age, horses, war-paints on face, bronze spear, bronze armor, wooden shield, trojan war, Homer,(raw photo), (intricate details), (best quality),(realistic),(detailed),(masterpiece), dslr, ultra quality, 8K, UHD,
    Negative prompt: ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft, asian
    Steps: 20, Sampler: Euler, CFG scale: 7, Seed: 1572974692, Face restoration: CodeFormer, Size: 768x432, Model hash: a87a37d0a1, Model: cyberrealistic_v21, Denoising strength: 0.7, Clip skip: 3, ADetailer model: face_yolov8n.pt, ADetailer conf: 30, ADetailer dilate/erode: 32, ADetailer mask blur: 4, ADetailer denoising strength: 0.4, ADetailer inpaint full: True, ADetailer inpaint padding: 0, ADetailer version: 23.5.17, ControlNet 0: "preprocessor: depth_leres, model: control_v11f1p_sd15_depth [cfd03158], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 0, 0)", ControlNet 1: "preprocessor: lineart_realistic, model: control_v11p_sd15s2_lineart_anime [3825e83e], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 64, 64)", Hires upscale: 1.334, Hires upscaler:
    POTW693




    Code:
    a field full of (warrior corpses:1.3), medieval, dawn,(raw photo), (intricate details), (best quality),(realistic),(detailed),(masterpiece), dslr, ultra quality, 8K, UHD,
    Negative prompt: ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft, tombs, graveyard, stone tombs
    Steps: 20, Sampler: Euler, CFG scale: 7, Seed: 2025309119, Face restoration: CodeFormer, Size: 1024x576, Model hash: a87a37d0a1, Model: cyberrealistic_v21, Clip skip: 3, ControlNet 0: "preprocessor: depth_leres, model: control_v11f1p_sd15_depth [cfd03158], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 0, 0)", ControlNet 1: "preprocessor: lineart_realistic, model: control_v11p_sd15s2_lineart_anime [3825e83e], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 64, 64)
    POTW692




    Code:
    (peplum raw photography) of persian cataphracts charging on the battlefield, smoke, spears, lamellar armors, classical era,(raw photo), (intricate details), (best quality),(realistic),(detailed),(masterpiece), dslr, ultra quality, 8K, UHD,
    Negative prompt: painting, artistic, drawing, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft,
    Steps: 30, Sampler: Euler, CFG scale: 7, Seed: 2658904970, Face restoration: CodeFormer, Size: 1024x576, Model hash: a87a37d0a1, Model: cyberrealistic_v21, Clip skip: 3, ControlNet 0: "preprocessor: depth_leres++, model: control_v11f1p_sd15_depth [cfd03158], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 0, 0)", ControlNet 1: "preprocessor: lineart_realistic, model: control_v11p_sd15s2_lineart_anime [3825e83e], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (1024, 100, 200)
    POTW691




    Code:
    (movie photography) of full armor dwarves with a full bronze steam tank, steampunk, fantasy, war, machinery, (raw photo), (intricate details), (best quality),(realistic),(detailed),(masterpiece), dslr, ultra quality, 8K, UHD,
    Negative prompt: painting, artistic, drawing, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft,
    Steps: 30, Sampler: Euler, CFG scale: 7, Seed: 3178481771, Face restoration: CodeFormer, Size: 1024x576, Model hash: a87a37d0a1, Model: cyberrealistic_v21, Clip skip: 3, ControlNet 0: "preprocessor: depth_midas, model: control_v11f1p_sd15_depth [cfd03158], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 0, 0)", ControlNet 1: "preprocessor: lineart_realistic, model: control_v11p_sd15s2_lineart_anime [3825e83e], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (1024, 100, 200)
    POTW690




    Code:
    (movie photography) of full armor soldiers with a full bronze steam mecha, steampunk, fantasy, war, machinery, (raw photo), (intricate details), (best quality),(realistic),(detailed),(masterpiece), dslr, ultra quality, 8K, UHD,
    Negative prompt: painting, artistic, drawing, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, extra limbs, disfigured, deformed, body out of frame, blurry, bad anatomy, blurred, watermark, grainy, signature, cut off, draft,
    Steps: 30, Sampler: Euler, CFG scale: 7, Seed: 4189867627, Face restoration: CodeFormer, Size: 1024x576, Model hash: a87a37d0a1, Model: cyberrealistic_v21, Clip skip: 3, ControlNet 0: "preprocessor: depth_midas, model: control_v11f1p_sd15_depth [cfd03158], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (512, 0, 0)", ControlNet 1: "preprocessor: lineart_realistic, model: control_v11p_sd15s2_lineart_anime [3825e83e], weight: 1, starting/ending: (0, 1), resize mode: Crop and Resize, pixel perfect: False, control mode: Balanced, preprocessor params: (1024, 100, 200)
    The colors are globally the same, so I think I have to modify some parameters in my prompt the next time, in order to have more diversity and to break the monotony between renders.
    Mont-joye Saint-Denis !
    Puisse mon épée éviscérer l'envahisseur étranger.

  5. #5

    Default Re: Total War : AI

    Great stuff.

  6. #6
    Flinn's Avatar His Dudeness of TWC
    Patrician Citizen Consul Content Emeritus spy of the council

    Join Date
    Dec 2012
    Location
    Italy
    Posts
    20,377
    Blog Entries
    46

    Default Re: Total War : AI

    Quote Originally Posted by Maximinus Thrax View Post
    Great stuff.
    Seconded.
    Under the patronage of Finlander, patron of Lugotorix & Lifthrasir & joerock22 & Socrates1984 & Kilo11 & Vladyvid & Dick Cheney & phazer & Jake Armitage & webba 84 of the Imperial House of Hader

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •