generative-models
civitai
generative-models | civitai | |
---|---|---|
21 | 639 | |
22,508 | 5,656 | |
4.4% | 2.6% | |
7.3 | 10.0 | |
29 days ago | 7 days ago | |
Python | TypeScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
generative-models
-
Creating Videos with Stable Video Diffusion
git clone https://github.com/Stability-AI/generative-models.git && cd generative-models
- Show HN: I have created a free text-to-image website that supports SDXL Turbo
- How To Increase Performance Time on MacOS
-
Introducing Stable Video Diffusion: Stability AI's New AI Research Tool for Image-to-Video Synthesis
Generative Models by Stability AI Github Repository
-
image-to-video tutorial
# clone SD repo !git clone https://github.com/Stability-AI/generative-models.git # cd into working directory # the % sets the pwd globally as usually each command is run in a subshell in google colab %cd /content/generative-models/ # installing dependencies !pip install -r requirements/pt2.txt !pip install . # HACK # I was getting ModuleNotFoundError: No module named 'scripts' # This is what ChatGPT suggested (let me know if there is a better way) file_path = '/content/generative-models/scripts/sampling/simple_video_sample.py' new_text = "import sys\nsys.path.append('/content/generative-models')\n\n" with open(file_path, 'r') as file: original_content = file.read() updated_content = new_text + original_content with open(file_path, 'w') as file: file.write(updated_content) # Need to create a checkpoints/ folder - that is where the system looks for weights import os dir_name = 'checkpoints' if not os.path.exists(dir_name): os.makedirs(dir_name) print(f"Directory '{dir_name}' created") else: print(f"Directory '{dir_name}' already exists") # Download weights into checkpoints/ folder from huggingface_hub import hf_hub_download hf_hub_download(repo_id="stabilityai/stable-video-diffusion-img2vid", filename="svd.safetensors", local_dir="checkpoints", local_dir_use_symlinks=False) # I can't remember if this step is needed but it aims to reduce the memory footprint of pytorch # I kept getting CUDA out of memory # I got these instructions from the out of memory error message os.environ['PYTORCH_CUDA_ALLOC_CONF'] = 'max_split_size_mb:512' print(os.environ['PYTORCH_CUDA_ALLOC_CONF']) # Inside of scripts/sampling/simple_video_sample.py you need to make 2 updates 1. input_path (line 26): update to the location of your file (I attached Gdrive so mine was "/content/drive/MyDrive/examples/car.jpeg" 2. decoding_t (line 34): update it to 5. you need to do this for memory preservation (CUDA out of memory). I'm not sure if 5 is the best value but it worked for me # Finally generate the video (output will be in the outputs/ folder) !python scripts/sampling/simple_video_sample.py
-
Stable Video Diffusion
It looks like the huggingface page links their github that seems to have python scripts to run these: https://github.com/Stability-AI/generative-models
- GitHub - Stability-AI/generative-models: Generative Models by Stability AI
-
How does ComfyUI load SDXL 1.0 so VRAM-efficiently? How do I do the same in vanilla python code?
However, when using the example code from HuggingFace or setting up stuff from the StabilityAI/generative-models repo in a jupyter notebook, I end up using 21 GB of VRAM just for running the default pipeline (with no base model output). If I try to run the extra `base.vae.decode(base_latents)` after generation to get unrefined outputs, I get a CUDA out of memory error as it blows past the 24GB of my NVIDIA RTX 3090.
- SDXL 1.0 is out!
-
SDXL 0.9 Anyone having luck NOT centering subjects?
SDXL uses cropping information as part of the conditioning. Images were randomly cropped during training and the coordinates of the crop were included as two integers at the end of the conditioning vector. If you're using ComfyUI you can use the CLIPTextEncodeSDXL node to specify where the upper left corner of the image should appear to be in relation to some hypothetical uncropped image. Here's a figure with examples from the report on SDXL:
civitai
-
Washington's Lottery forced to pull site after creating AI porn of lotto user
I find it quite funny, especially if you realize that something like 90% of the Stable Diffusion model fine-tunes out there are actually made for generating porn or images of females. Go to the website that has the most image generation models to verify this for yourself: https://civitai.com
WARNING don't visit this site on your work computer.
-
JavaScript Bloat in 2024
Remember The Website Obesity Crisis [1] article from 2015, since then [2] things only got worse, and it is been almost 10 years already (at the end of 2024).
Is it foolish to say that in 10 more years you wont be able to navigate the web on a circa 2015 PC ? If nothing changes seems like it.
My old macbook from 2013 with latest Firefox is already can not handle loading https://civitai.com web page with 23.98 MB of JavaScript, it is just hangs for half a minute while trying to render this disaster of web frontend.
[1] https://idlewords.com/talks/website_obesity.htm
[2] https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
-
Generate Unlimited AI Images for Free Online
One of the most popular free AI image generators right now is Civitai. Civitai uses a cutting-edge AI model to turn text prompts into photorealistic images in seconds.
-
Ask HN: Those making $500/month on side projects in 2024 – Show and tell
Soz, I don't like to cross link my accounts, especially with all this TSWift shenanigans going around. But, if you look at https://civitai.com/ plenty of people have links to their ko-fi accounts where you can commission them (heck you may even find me somewhere on there).
- Google Imagen 2
-
Help with finding an AI art site.
civitai.com ?
-
Prompts?
all the samples images on models at https://civitai.com/ have prompts included. I used to have a bunch of sites that list prompts bookmarked, but I lost all my bookmarks recently :(
-
not sure how to set up conterfiet modal
https://civitai.com/ most people grab models here these days I think. At least I do. And yeah, make sure to put checkpoints in the model folder, and lora in the lora folder, and hit the refresh button and it should show up.
-
Online AI instagram model with stable diffusion Attempt 1(support needed, like desperately, like really bad)
Go to civitai.com, look for images that look realistic, study their prompts and the models used to generate them.
-
‘Nudify’ Apps That Use AI to ‘Undress’ Women in Photos Are Soaring in Popularity
Tons of models to pick from on Civitai. I have a bunch downloaded for making NPCs for DnD.
What are some alternatives?
background-removal-js - Remove backgrounds from images directly in the browser environment with ease and no additional costs or privacy concerns. Explore an interactive demo.
stable-diffusion-webui-colab - stable diffusion webui colab
wizmap - Explore and interpret large embeddings in your browser with interactive visualization! 📍
huggingface_hub - The official Python client for the Huggingface Hub.
evernote-ai-chatbot
stable-diffusion-webui - Stable Diffusion web UI
gping - Ping, but with a graph
stable-diffusion-ui - Easiest 1-click way to install and use Stable Diffusion on your computer. Provides a browser UI for generating images from text prompts and images. Just enter your text prompt, and see the generated image. [Moved to: https://github.com/easydiffusion/easydiffusion]
graphic-walker - An open source alternative to Tableau. Embeddable visual analytic
InvokeAI - InvokeAI is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, supports terminal use through a CLI, and serves as the foundation for multiple commercial products.
xgen - Salesforce open-source LLMs with 8k sequence length.
stable.art - Photoshop plugin for Stable Diffusion with Automatic1111 as backend (locally or with Google Colab)