CivArchive
    War and Diffusion: WARHAMMER 40K - WnD-v1
    NSFW
    Preview 16351847
    Preview 16352664
    Preview 16351904
    Preview 16352002
    Preview 16352049
    Preview 16352305
    Preview 16352367
    Preview 16352568
    Preview 16352817
    Preview 16352992
    Preview 16353020
    Preview 16353045
    Preview 16353688
    Preview 16353340
    Preview 16353605
    Preview 16353324

    In the grim darkness of the far future, there is only war... and diffusion.

    NSFW Anime version can be found here

    Preamble

    War and Diffusion (WnD) is the first release of my Warhammer 40,000 Fine-Tune project.

    v1 is a sample model.

    This release (WnD-v1) was trained on a sample of the full dataset (less than half). The full model has undergone many changes and is still being trained.

    While the sample model has its limitations, I decided to release it to help fill a gap in the SDXL fine-tuning ecosystem, where the lack of fine-tuned models for SDXL results in limited model merging possibilities.


    Buy me a coffee

    https://ko-fi.com/ndimensional

    All donations will be used to fund the creation of new Stable Diffusion fine-tunes and open-source AI tools.


    About

    Base Model: SDXL-v1.0

    Dataset: Subset, roughly 1/4th of the full WH40K dataset. Captions generated via an MLLM (not GPT4v/o) system I've been working on. Then evaluated with both human-eval and a hallucination detection project I'm developing.

    VAE: sdxl-vae-fp16-fix

    Aspect Ratio: General recommendations, not the full list.

    • 1344x768 (16:9)

    • 1536x640 (21:9)

    • 1152x896 (4:3)

    • 1216x832 (3:2)

    • 1024x1024 (1:1)

    • 1024x704 (11:16)

    • 768x1344 (9:16)

    • 896x1152 (3:4)

    • 832x1216 (2:3)

    • 704x1024 (16:11)

    Hardware for training: Two A100 accelerators.

    Known Limitation:

    WnD-v1 is not as capable as the full release will be. However, it learned a good portion of 40K specific concepts.

    Note: Some concepts that should be in the sample model, are not. This is due to a mistake I made when creating the subset for training. I accidently pointed the path to an older version of the dataset. Thankfully, the two concepts that I know are missing have LoRAs: Aeldari, Necron.

    I will be starting from scratch, fine-tuning a new update on the latest dataset over the next few weeks.


    Prompting

    Both Natural Language prompting, Tag prompting, and Hybrid prompting are supported.

    Tips:

    • Start prompt the medium you want to generate (such as Digital Illustration, painting, photo, ect..).

    • The version of the dataset I used had a defect where the word Skull was overused in the captions. For this, I recommend using Attention/Emphasis on skull and skulls tokens to decrease their attention. For example [[skull]]. This issue has been addressed in later iterations of the Dataset and won't be a problem in future releases.

    • Similarly, since WnD-v1 used a small sample set from the full dataset — The intricacies of some concepts were not fully learned. For example, a prompt with Death Korps of Krieg and gasmask may generate a Kriegsmen but with the incorrect gas mask. To get around this, try increasing/decreasing the attention of the offending token or, remove the token entirely. In some cases, the models weight learned what the concept is so additional tokens become redundant. Again, this won't be an issue in future releases.

    • When describing more than one character, try to describe their relative position to each other and appearance separately. For example, A illustration of a Sister of Battle of the Order of Our Martyred Lady and a Space Marine from the Blood Ravens Chapter. The Sister of Battle is standing to the left of the Space Marine. She is <description of the sister of battle.>. The Space Marine is <description of the space marine>. Then cross your fingers.

      • Tag Prompting is a bit more difficult. I think I have a solution for this in later versions of the dataset. For now, try separating the characters by inputting the 1st character token, followed by tags that describe the 1st character. Then the 2nd character token, followed by tags that describe the 2nd character. For example, Illustration, Sister of Battle, black Sororitas Power Armor, Short Hair, Boltgun, and a Space Marine, Blood Ravens chapter, Dark red Power Armor with black and cream colored pauldrons, Heavy Bolter, ect..

    • For image composition — Try describing the image composition towards the end of the prompt. This applies to both natural language (less so) and tag / hybrid prompts.

    • If using an artist tag, place the artist token at the very end of the prompt.

    Artist Tags:

    You can find a wildcard for the artist names here.


    Changelog

    6/19/24 v1.0

    • Initial release of sample weights.


    🤗Huggingface Repo.

    SDXL Checkpoints: https://civarchive.com/collections/966964

    SDXL LoRAs: https://civarchive.com/collections/966969

    40K Series: https://civarchive.com/collections/956187

    SD1.5 Checkpoints: https://civarchive.com/collections/966974

    SD1.5 LoRAs: https://civarchive.com/collections/966972

    Run WnD on Tensor Art: https://tensor.art/models/741028948575630215?source_id=nj2-r1nnnUO3ovUiaHf19Bgn

    Description

    Initial Release

    FAQ

    Comments (15)

    RedPinkRetroJun 19, 2024· 1 reaction
    CivitAI

    Highly impressive dedication and result!

    ndimensional
    Author
    Jun 19, 2024· 1 reaction

    Thanks!
    There will be an update for the sample version sometime in the next few weeks with more learned concepts.

    I made a (fairly large) mistake when training. Accidently trained it on an older/outdated dataset 😐
    v1 still works well enough, but the update will help ground it more in the 40K universe.

    udf2wozzaJun 19, 2024· 4 reactions
    CivitAI

    This is amazing! Please make the NSFW version based on Pony!! ]:-)

    barlogspam176Jun 19, 2024· 1 reaction
    CivitAI

    I love the idea. No other models come close to emulating Warhammer,

    And the ultra specific loras also fail

    THank you for making this

    blocker3dJun 19, 2024· 1 reaction
    CivitAI

    YOU SO ROCK!

    PingoLindoJun 19, 2024· 1 reaction
    CivitAI

    Time to make a new portrait for my Lord Captain. :D

    ndimensional
    Author
    Jun 20, 2024

    May the emperor protect you on your journeys through the Koronus Expanse, Lord Cap'tin.

    IncurableNerdJun 23, 2024
    CivitAI

    Question, what would be the best way to phrase a prompt to depict a homebrew space marine chapter? Specifically I'm trying to just depict a basic tactical marine with his helmet on, their colours are pale bluish-white with shiny gold trim around the pauldrons. Since you're the creator, would you have any direction on how to achieve this? Thanks again for submitting this, your work in creating a warhammer-centric checkpoint is much appreciated by fellow warhammer fans.

    Also, does this model contain enough data to depict different marks of Astartes armor? Specifically some of the older pre-Heresy varieties?

    ndimensional
    Author
    Jun 24, 2024

    I can't really say as of now. I'll do some more testing when I get the chance.
    The full dataset contains more than enough to be very specific with all things Astartes.
    One issue I ran into with this sample model is that I had to cut a lot of the Astartes data out of the subset. Since the full Astartes section alone, contained more images than the entire dataset. I tried to sample a little bit from each chapter for the subset but it's not perfect.
    The way the images are captioned goes a little something like: A <medium> of a Space Marine from the <x> chapter
    Then the armor colors/ect. are described.

    IncurableNerdJun 24, 2024

    @ndimensional Thanks, that's the answer I was looking for. So I imagine I'll just render White Scars and then edit the colors in inpaint to replace the reds with golds. Thanks for getting back with me so quickly, and one again; thanks for doing all this legwork vis-a-vis Warhammer content. First thing I thought of when I heard about Stable Diffusion was creating imagery of homebrew space marine chapters.

    DRrockJul 4, 2024
    CivitAI

    That's great. :-D I was looking for something like this, since I want to turn real people and TV characters into W40K characters. Do you have a list of concepts with trigger words?

    PabloFGJul 5, 2024
    CivitAI

    Waiting for this for long..

    Servo_ScribeJul 9, 2024
    CivitAI

    Can't wait for this to be available for on-site gens!

    adondlin255Aug 4, 2024
    CivitAI

    I hope a Pony version would be made one day. Would be helpful so one may use the 40K Pony loras.

    cliang96844Aug 8, 2024· 1 reaction
    CivitAI

    Hi, I hope you are still working on the next version of the model. I think it's a great idea that I don't need a boat load of LoRAs for my private projects.

    Also, any plans on a fantasy version of the model?

    Checkpoint
    SDXL 1.0

    Details

    Downloads
    918
    Platform
    CivitAI
    Platform Status
    Available
    Created
    6/19/2024
    Updated
    5/12/2026
    Deleted
    -

    Files

    warAndDiffusion_wndV1.safetensors

    Mirrors

    HuggingFace (1 mirrors)

    Available On (1 platform)

    Same model published on other platforms. May have additional downloads or version variants.