CivArchive
    mosaic restoration - v1.0
    NSFW

    I created MosaicDiff. It restores NSFW mosaic censorship using minimax h3 and custom lora.

    Could be used in comfy ui but I made a tool that makes usage more easy.

    It is free: github.com/dotaku22/MosaicDiff

    If you want to use comfy ui anyway you can get workflow and custom nodes here: https://github.com/dotaku22/MosaicDiff-Comfy

    I added censorship to random AI generated videos to show of what it can do, credits go to the creators of the original clips.

    Description

    FAQ

    Comments (40)

    discord110458361Oct 7, 2026· 13 reactions
    CivitAI

    I don't understand the Japanese; here we are in 2026 and they still censor porn like that.

    Tad_GhostalOct 7, 2026· 2 reactions

    You're right; you don't understand them.

    It's kinda funny because they are WAY more sexually permissive than almost any country in the world. I mean, America doesn't have hentai porn.

    herpderpmerp
    Author
    Oct 7, 2026· 3 reactions

    well at least now we have a way to reverse it :D

    MahfakahOct 7, 2026

    @herpderpmerp That video isn't originally censored. Does that just happen over there no matter what you look at?

    jdoe_55513Oct 7, 2026· 2 reactions

    Their choice.

    LuringSuccubusOct 7, 2026· 6 reactions

    @jdoe_55513 and my choice is to not respect their choice

    herpderpmerp
    Author
    Oct 7, 2026· 2 reactions

    @Mahfakah it works for any censored video

    MahfakahOct 7, 2026

    @herpderpmerp But that Goblintide video isn't censored. It kinda looks like you blurred it and then put the original video as the "after" result.

    LuringSuccubusOct 7, 2026

    @herpderpmerp hentai anime too?

    DaddyWolfgangOct 7, 2026· 1 reaction

    I mean the USA is MUCH more about censorship. Look at all the video games that have been censored, the book bans (Over 6000 books banned in the USA this year so far), the TV censorship. I mean America is puritanical. Movies have been changed in the USA so that they push puritanical ideals (The Girl with a Dragon Tattoo is a great example of this) and censored content that challenges the status quo.

    The USA is extremely prudish and uneasy about nudity, even the topic of sex from an educational standpoint bothers them, shit science in general is an issue in the USA. Seriously, sex is considered sinful and should be avoided as a topic, but violence is glorified and encouraged.

    It's barbaric.

    Make no mistake, this sorta stuff we're downloading here is being put on the table to be banned in the USA. Project 2025 , Turning Point, and others are working their way towards that future very soon for the USA if the midterms go in the GOP's favor.

    herpderpmerp
    Author
    Oct 7, 2026

    @Mahfakah well if you think it's the original it did a good job :D
    Since I can not post anything with real humans and none creates censored ai porn I had to add censorship myself. But it is actually just the result when putting in the mosaic version, and it was not part of the training data.
    Also if you look at the original version you will see it looks different. https://civitai.red/images/143821823

    herpderpmerp
    Author
    Oct 7, 2026

    @LuringSuccubus not tested, but was not part of my training data, could still work tho.

    MahfakahOct 7, 2026

    @herpderpmerp You're right it does. Towards the end of your sample video it looks like the dick really wanted to censor itself again. 😂

    lolmao500Oct 8, 2026

    Japan censoring industry : we're worth billions

    Also Japan : we're run by right wing nutjobs who LOVE to control people and act like we're superior because of our supposed moral superiority (basically like the evangelical nutjobs in the US)...
    Basically once again CONSERVATIVES ruining everything thanks to religion and their tiny little brains

    CyclopsGEROct 8, 2026

    To hide bushy pubic hair :-)

    AnistasiataOct 8, 2026· 1 reaction

    @lolmao500 The Japanese religion has no real moral opposition to sex, I don't think. They're Shinto-Buddhist, and to my knowledge, neither Shinto nor Buddhism teach that all people everywhere should be prudish. The censorship was more likely influenced by America's views on sex in the 80's and 90's, and I believe I once heard that they elected to keep it because they didn't want the people who did the censorship work to lose their jobs.

    samluckyguy86855Oct 9, 2026

    That's how Japanese law works. If you want to publish legally, you have to add mosaics. Otherwise, it's illegal content, which not only can't be sold through normal channels but also can get you in legal trouble. It's kind of like their bubble bath and similar entertainment industries—you can offer body-to-body rubbing services, but actually paying for sex (on the premises) is illegal. That's Japan for you.

    jdoe_55513Oct 7, 2026· 8 reactions
    CivitAI

    lora.safetensors. at least it is not named v1.safetensors.

    Mka123Oct 8, 2026
    CivitAI

    Does this work with ref2va?

    herpderpmerp
    Author
    Oct 10, 2026

    yes

    Rapidfire_sukOct 8, 2026
    CivitAI

    Could this eventually be used to de-blur faces?

    herpderpmerp
    Author
    Oct 9, 2026

    it probably already does fine with faces as you can see half of widow makers face is covered in the example

    JJoker375Oct 8, 2026
    CivitAI

    Great work , can you provide a workflow and a general purpose prompt

    AI_DKOct 8, 2026· 1 reaction

    the workflow is on the github.

    ailu91Oct 8, 2026· 5 reactions
    CivitAI

    Great now all the fake "uncensored leaked" javs will be impossible to tell.

    santo5311Oct 9, 2026
    CivitAI

    Thanks for making it! It seems it also uses basicvsr for restoration. Is H3 alone not capable of full restoration?

    herpderpmerp
    Author
    Oct 9, 2026

    results are better with it, and it is so much faster that it does not really slow it down

    Mka123Oct 9, 2026
    CivitAI

    Does this only work with video? Would this also work with images that have a mosaic censor? I think it would turn them into a video, but that's fine, right? Instead of a video loader node, could you use an image loader node?

    herpderpmerp
    Author
    Oct 9, 2026

    It does smart stuff by taking multiple frames into account for it, for images just inpaint

    thisisnotduy164Oct 16, 2026

    There are plenty easier ways to uncensor an image. Just use qwen edit

    m_c_106Oct 16, 2026

    @thisisnotduy164 what prompt?

    RLKOct 10, 2026
    CivitAI

    Thanks for making it. I do have an idea, though: would it be possible to make an IC-LoRA version for LTX-2.5? It might be probably run faster.

    herpderpmerp
    Author
    Oct 10, 2026· 1 reaction

    probaply, correct me if I am wrong but isn't h3 much better in text 2 video for genitals? And that's what matters here.

    RLKOct 11, 2026

    @herpderpmerp Since I usually only use H3, I don't really know all that much about LTX 2.5. I just feel like the current speed is pretty slow, which is why I had this thought. I think you're right, too.

    jj43797771Oct 12, 2026
    CivitAI

    Any chance for a linux release?

    artyclawOct 12, 2026· 2 reactions
    CivitAI

    The node version throws

    ModuleNotFoundError: No module named 'mosaicdiff.paths'

    Do we have to install the desktop version as well?

    triallOct 13, 2026

    The current repository appears to be missing two modules required by mosaicdiff/pipeline.py.

    pipeline.py imports:

    from mosaicdiff.paths import nodes_dir, worker_script

    from mosaicdiff.settings import Settings

    However, neither mosaicdiff/paths.py nor mosaicdiff/settings.py exists in the cloned repository, and neither file appears in git ls-files.

    This causes ModuleNotFoundError: No module named 'mosaicdiff.paths' when running the custom node.

    Could you check whether these files were accidentally omitted or whether the code needs to be updated to match the current repository?

    artyclawOct 17, 2026

    @triall I fixed it. Just get the two files from the original repo and put them in ComfyUI-MosaicDiff\mosaicdiff\

    https://github.com/dotaku22/MosaicDiff/blob/main/mosaicdiff/paths.py

    https://github.com/dotaku22/MosaicDiff/blob/main/mosaicdiff/settings.py

    MAGIC_KOct 22, 2026
    CivitAI

    Replacing the model with fastH3 omni model, 2x speedup.