Convert animated WebP to WebM movie with Python

In my last post I mentioned converting an animated WebP image format into a WebM movie format. This post expands on how I did it. ...

21 Jan 2024

Comparing face IP-Adapters for SDXL

As a follow up to my last post regarding Consistent portraits using IP-Adapters for SDXL, this is a short comparison of the two face IP-Adapters for SDXL by h94 / xiaohu: namely, ip-adapter-plus-face_sdxl_vit-h.bin and ip-adapter-faceid_sdxl.bin. ...

14 Jan 2024

Consistent portraits using IP-Adapters for SDXL

Getting consistent character portraits generated by SDXL has been a challenge… until now! ComfyUI IPAdapter Plus (dated 30 Dec 2023) now supports both IP-Adapter and IP-Adapter-FaceID (released 4 Jan 2024)! ...

7 Jan 2024

Extracting images from PDF files

Happy new year! Ever needed to extract images from PDFs and found both on-line and off-line tools lacking? Well, I certainly have, and here I present my Python code to extract JPGs/PNGs from PDFs, using PyMuPDF. ...

6 Jan 2024

Go even faster with SDXL-Turbo!

In the span of a couple of weeks, we got Crazy fast image generation with LCM LoRA for SDXL, which led me to ask if I could get Faster Stable Diffusion on M-series macs?. A few hours ago, Stability.ai gave us their response in the form of SDXL-Turbo… and now we go even faster! ...

29 Nov 2023

Faster Stable Diffusion on M-series macs?

All my recent Stable Diffusion XL experiments have been on my Windows PC instead of my M2 mac, because it has a faster Nvidia 2060 GPU with more memory. But today, I’m curious to see how much faster diffusion has gotten on a M-series mac (M2 specifically). ...

27 Nov 2023

QR Code Monster for SDXL

Time to try another ControlNet for Stable Diffusion XL - QR Code Monster v1 in ComfyUI. This ControlNet can influence SDXL such that the generated image “hides” a scan-able QR code, which at first glance, looks like a photo! ...

14 Nov 2023

Generating animations / videos with SDXL LCM

I never tried generating video clips or animations with SDXL before, simply because my GPU is not powerful enough. But after testing out the LCM LoRA for SDXL yesterday, I thought I’d try the SDXL LCM LoRA with Hotshot-XL, which is something akin to AnimateDiff. ...

13 Nov 2023

Crazy fast image generation with LCM LoRA for SDXL

Stable Diffusion keeps improving at an astounding pace! This time, it’s the idea of distilling a model into a Latent Consistency Model (LCM) for very, very fast image generation with a quality trade-off. On 24 Oct 2023, the distilled Segmind Stable Diffusion 1B (SSD-1B) model was released, followed by a better implementation in the form of Latent Consistency LoRAs for SDXL and SDD-1B released on 9 Nov 2023. ...

12 Nov 2023

Fix Web Background Videos That Do Not Auto-play in Safari on iOS

I recently encountered a situation where Safari would not play background videos in web pages! I initially assumed the page was broken… until I realized mine was the only iPhone with this behaviour, yet I am on the latest iPhone and iOS version. I finally figured what was different with my setup, and how to solve this issue. ...

10 Sep 2023