Home Creators Posts Import Register Favorites Logout

Downloads

Content

Hey everyone! I’ve created a new 1-click installer for the "ULTIMATE FREE LORA TRAINING IDEOGRAM 4", and it can be trained with less than 8Gb of VRAM.

Ideogram 4 is already the best open-weight image models available, especially for precise prompt building, text, and overall image quality, and now with AI-Toolkit you can make your own LoRAs super easy.

You can train your own faces, characters, outfits, art styles, concepts, all with insanely good details.

You can check out the video right here: https://youtu.be/u1vjK9TtJYsThe installer of course automates the entire install process!

AI-TOOLKIT:

Local install:

Requisites:

– CUDA 12.8 (RTX-50) OR CUDA 12.6 (RTX-40/30/20/GTX)

– Git, Python 3.10 64-bit, Node 18/20 LTS

1. Download the AI-TOOLKIT_AUTO_INSTALL.bat and place it in a folder WITHOUT any spaces in the path!!!

2. Run the bat file and select either option 1 or 2 depending on your GPU

3. Wait for the install to finish

4. ???

5. Profit 😎Use then one of the launcher once you have closed the ui and you want to restart it.

RUNPOD:

1. Create an account if you haven't already: Runpod

2. Click on Pod (on the left side) then click deploy

3. Choose a 4090 or 5090 GPU and chose the pytorch 2.8.0 then edit the template and choose 100GB for both the container and volume disk, then under expose ports, edit:

8888 into 8888, 8675. Then go into environment variables below, click add and then type:

AI_TOOLKIT_AUTH on the left then type a password on the right

then scroll then and deploy.

4. Go to my pods, wait for everything to finish and then click "connect", then "Connect to HTTP SERVICE port 8888"

5. Then drag and drop the AI-TOOLKIT_AUTO_INSTALL-RUNPOD_FAST.sh file on the left side of the UI then click on the "Terminal" icon on the right side on the UI

6. Copy and paste these two lines then press enter:

chmod +x AI-TOOLKIT_AUTO_INSTALL-RUNPOD_FAST.sh

./AI-TOOLKIT_AUTO_INSTALL-RUNPOD_FAST.sh

7. Wait for everything to be installed

8. Go back to the port 8675 and click on it to launch the webui then enter your password you created previously

IF YOU WANT TO RESTART THE UI AFTER STOPPING AND RESTARTING THE POD

Use the same

chmod +x AI-TOOLKIT_AUTO_INSTALL-RUNPOD_FAST.sh

./AI-TOOLKIT_AUTO_INSTALL-RUNPOD_FAST.sh

command as you did for the install

As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!

Files

Comments

Warspectre

The AI-toolkit_auto_install.bat gets a Virus Scan Failed when I tried to download it.

Aitrepreneur

False positive as always, disable the antivirus before running it

Rufine

Howdy Aitrepreneur!! Love your content as a subscriber. Can you create a video on how to set up a partition or a specific container for multiple installations?? I want to play with each installation separately so constantly installing, over writing and deleting "new" versions every few weeks uses up OS resources and space, plus create software issues when files are not uninstalling themselves cleanly. If we could uninstall/ separate all "old" installations and then poof, no more fuss!! All files are gone for good as well as the resources they used. I'm running Win 11 Pro on a 4090 machine!! Can create a Linux/Docker container on whatever you prefer! Thanks!!

Warspectre

This the first time I've gotten that message trying to download something, just thought I'd mention it. Oddly, the error was that it failed to scan it, not that it was a virus. Maybe just my browser glitching out I guess.

Pastil

working well. trained my first offline lora, running perfect! Thanks.

Kodaijin Starfall

Added API key on HF, but when try to train it, the model is 404 that tries to pull. ~thinking face~

DanO..

I think I got Failed to download LAUNCHER-TOOLKIT.bat the last time I tried to install AI Toolkit. This time python embedded as well. Any ideas? ------------------ ERROR: Failed downloading Python embedded zip: https://www.python.org/ftp/python/3.10.11/python-3.10.11-embed-amd64.zip Press any key to exit... & Downloading launcher BAT files... curl: option --retry-all-errors: is unknown curl: try 'curl --help' for more information ERROR: Failed to download LAUNCHER-TOOLKIT.bat Press any key to exit...

Antes

How do you install it on RunPod?

Pixey Luna

any one stuck here: "huggingface_hub.errors.GatedRepoError: 403 Client Error. (Request ID: Root=1-6a37e289-7278b37c2feacceb2b8ad797;11ee5d19-1fcb-4068-850a-c003a8ea8b10) Cannot access gated repo for url https://huggingface.co/ideogram-ai/ideogram-4-fp8/resolve/main/transformer/diffusion_pytorch_model.safetensors.index.json. Access to model ideogram-ai/ideogram-4-fp8 is restricted and you are not in the authorized list. Visit https://huggingface.co/ideogram-ai/ideogram-4-fp8 to ask for access."

Aitrepreneur

Huh, yeah that is weird maybe a bug I guess...if it happens only once then no biggy

Aitrepreneur

I think you are doing something wrong because you don't need to do any of that. For comfyui, once you have 1 install you can use the nodes-model only bat file installer to only install the missing models and nodes you need to use the new workflow, I always give people the choice of installing everything from scratch if they want to since my installers use the comfyui portable version so you can have as many installs you want. But once you have 1 install of comfyui ready you can just update it using the update bat file in the update folder. For any other webui install (like Ai-toolkit) you can update them as well, any of them, just go inside the tool's folder you want to update, click on the folder's path type cmd press enter, this will open a new cmd window inside that folder and there you can type git pull and then press enter, this will update and download the latest version of the tool if the tool got a recent update on github, it's that simple, no need to play with containers or partitions.

Aitrepreneur

You sure you created the api key with the correct rights? Did you correctly copy and pasted the key in the correct section? Did you click save? Did you correctly select the ideogram 4 model... So many things can explain that error, without seeing what you did step by step I can't say where the issue was though..

Aitrepreneur

I would need the full error log to know what happened for sure, you can dm me the full export

Aitrepreneur

yeah you need to input your huggingface api key as I show in the video

Rufine

I found thses links and this is what they recommended. So you think the performance is fine using just Windows? I want to isolate Python/CUDA from the rest of Win apps. https://www.reddit.com/r/comfyui/comments/1j2x4qv/comfydock_the_easiest_free_way_to_run_comfyui_in/?solution=d403525f4a50e9dbd403525f4a50e9db&js_challenge=1&token=7afd7253fec22262ff1c52b1703fe9ec1405889ae186d6a0c71cfac7d75c08d7&jsc_orig_r= or this link https://www.google.com/search?q=comfyUI+in+a+VHD+vs+docker+container%3F%3F&rlz=1C1CHBF_enUS1188US1189&oq=comfyUI+in+a+VHD+vs+docker+container%3F%3F&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRiPAjIHCAIQIRiPAtIBCTE5OTY3ajBqN6gCCLACAfEF5J0LKGU08q0&sourceid=chrome&ie=UTF-8

TechnoCore

Hello, does anyone know if I can use all the recommended processes in this, to train Klein Flux.2 loras or do I need different settings? Cause this was super easy

TriciaFox

Hello there! I tried making a lora and it's stuck on generating the first sample image. I am not sure what is wrong :/ I am using 4080 super and amd ryzen 9 5950x [WORKER] No more jobs in queue for GPU(s) 0, stopping queue [WORKER] Starting job 87b18078-3d9c-40c6-b680-18ac43b22dd0 on GPU(s) 0

muski

hello mate. Im not able to auto capation the images, but im not getting an error the job is just doing nothing Ui iterminal: # Running job: Caption Directory ############################################# Running 1 process Loading Qwen3VL model Downloading (incomplete total...): 0.00B [00:00, ?B/s] Fetching 4 files: 100%|##########| 4/4 [00:00

Ricky Joynes Jr.

Hey, thanks for making this. When I tried to install it never completes, and I get this message: "[UI] ⚠ `devIndicators.buildActivity` is deprecated and no longer configurable. Please remove it from next.config.ts."

Aitrepreneur

This is almost gimicky, in my opinion there is very little reason (basically none) to use something like this.

Aitrepreneur

I have made different lora training videos, every model (except Anima) can be trained with Ai-toolkit. For specific editing models, the concept is a bit different but I have made a video training Flux Kontext (the ancestor of Klein): https://youtu.be/s9eXc8PmOos That is the same principle for Klein

Aitrepreneur

It just takes a long time to start, be patient, if it's still there after an hour then yeah restart

Pixey Luna

thank you I did, also I accepted the agreement on the ideogram page, no luck weird :(, but thank you for you reply

Rufine

I don't want to clutter up my PC with endless installations from all these companies. Not everyone is as tidy as you!! 🤣😂

Anthony

What image dimensions (portrait, landscape) do you recommend for the training? Also is there any difference in quality between using png and jpg?

Aitrepreneur

No visible difference and it doesn't matter what dimension you choose, what matters is the diversity of your dataset and quality of the images

Aitrepreneur

Well no need to have multiple installs, 1 install is all you need

Rufine

But I watch other YTs so I install what they recommend. I would have yours and their configurations conflicting. 🤣😂

Pixey Luna

1.30h for caption 10 image in json with 3090 rtx :(((

Aitrepreneur

That is really slow..if it's the first time I know it takes time for the model to be downloaded so it should be faster next time but yeah for some reason it take a bit too much time just to caption not sure why it's implementation is so slow

Aitrepreneur

Their recommendations doesn't matter it's pretty much the same base, you just need the correct models and nodes not new comfyui installs

DanO..

I should have gotten back to you right away. We're thinking my "curl" on my system is way too old. It will take a bit to update it. I'll let you know if that was the problem in case anyone else gets the same errors.

dattrax

The image to image works roughy. If you leave the image prompt builder on, then you just get whats described in the example. If you disable then you do get something, but no option to change anything. It needs to feed(populate) the image prompt builder with what it detected so you can fix any errors

Frank Sanders

What could be wrong here: **Exception Message:** ValueError: Krea2 expects conditioning with 12x2560=30720 features (a 12-layer Qwen3-VL stack) but got 2560. Load the text encoder with CLIPLoader type 'krea2'. If I Do not bypass Smart Seed I get: 6 ERRORS Failed to convert an input value to a INT value Value 0 smaller than min of 1 Value 670662679079476.0 bigger than max of 1.0 Value not in list ValueError: Krea2 expects conditioning with 12x2560=30720 features (a 12-layer Qwen3-VL stack) but got 2560. Load the