Instructions to use ideogram-ai/ideogram-4-fp8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ideogram-ai/ideogram-4-fp8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ideogram-ai/ideogram-4-fp8", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
the pormpt "Photo of woman lying om grass" gets blocked. i guess easily outperforms Flux2, SD3, Zimage
just need to structure the prompt. I also had this filter thing pop up a bit.
But after structuring the prompt better (or use LLM for a json prompt), i never see this anymore ;-)
https://huggingface.co/ideogram-ai/ideogram-4-fp8#prompting-guide
https://github.com/ideogram-oss/ideogram4/blob/main/docs/prompting.md
You can try this system prompt with any LLM node in comfy, or using any llm site:
https://pastebin.com/VihLY5Ct
Ideogram truly seems to support and push for gender discrimination with this move.
i guess this model is just TOO optimized for json prompt and have lost the ability to classify natural language prompts, anyhow, a built-in safety filter is a scum move.
btw, does any of what ideogram did rings any bells? isnt this what stable diffusion 3 did all over again but worse?
- non commercial license
- built in safity filter
- no bf16 weights
- json ONLY
Its json prompting "only"
And it creates stunning images if just prompting right
https://blog.comfy.org/p/ideogram-4-day-0-support-in-comfyui
or try here https://huggingface.co/spaces/ideogram-ai/ideogram4
I'm never seeing the filter ever, when I made the prompt json with LLM node in comfy.
Its probably not a safety filter in the way it sounds, the model just fails when the prompt structure is unknown / not correct
But they are working on fixing that
The json prompting is mandatory indeed, most of the "safety" filter issues are just the model collapsing on out of distribution prompts. Quick example with the json structure using my prompt builder:
Not suggesting my settings are optimal at all, and this is relatively lazy attempt, just to show it's less a safety issue than the model just not working with plain/short prompting.
Iβve observed the same thing. With proper JSON formatting and a reasonable request, there can still be some issues with the safety filters, but even so, I can easily see that this is one of the best open-source models for consistent text rendering and creating stunning images.
That said, itβs a bit unfortunate that the first impression may not be as impressive as it could be. Still, Iβm genuinely grateful that the team chose to release their latest models, which they paid tremendous amount of their resources.
Thank you very much for this amazing work!






