Instructions to use Yofardev/kiki_ideogram4_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Yofardev/kiki_ideogram4_v1 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") pipe.load_lora_weights("Yofardev/kiki_ideogram4_v1") 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
Kiki Ideogram4 v1
LoRA (lokr) adapter trained on Ideogram 4 (ideogram-ai/ideogram-4-fp8) for a Studio Ghibli style.
Prompt format
Ideogram 4 does not take a plain-text prompt. It expects a structured JSON prompt. This LoRA is activated by setting the style fields:
style_description.art_style:Studio Ghibli stylestyle_description.medium:anime_screencap
Fill the rest of the JSON schema (high_level_description, style_description.aesthetics/lighting/color_palette, compositional_deconstruction) to describe the scene.
Example JSON prompt
{
"high_level_description": "A young girl with dark hair in a ponytail sits at a wooden desk, writing in a notebook while wearing headphones labeled 'LOFI'. A sleeping orange tabby cat rests on the windowsill beside her. A red desk lamp illuminates the workspace, with a laptop, books, and stationery nearby.",
"style_description": {
"aesthetics": "warm, cozy, detailed, anime-inspired",
"lighting": "soft, directional light from a red desk lamp and natural light from a large window",
"art_style": "Studio Ghibli style",
"medium": "anime_screencap",
"color_palette": ["#272A33", "#BCBCB5", "#6A707A", "#A0695C", "#2A7A74", "#96223E"]
},
"compositional_deconstruction": {
"background": "A large window with dark frames shows a view of multi-story buildings with red-tiled roofs and white walls. A potted plant with trailing green leaves hangs from the window frame.",
"elements": [
{"type": "text", "bbox": [393, 347, 865, 808], "text": "LOFI", "desc": "A young girl with dark brown hair tied in a high ponytail, wearing a green hoodie with a pink hood, writing in a notebook."},
{"type": "obj", "bbox": [518, 155, 630, 443], "desc": "An orange tabby cat curled up and sleeping peacefully on the windowsill."}
]
}
}
Specifications
| Base model | ideogram-ai/ideogram-4-fp8 |
| Architecture | ideogram4 |
| Network | lokr (linear 32, alpha 32, factor 8, full rank) |
| Training steps | 5000 |
| Resolution | 512 / 768 / 1024 |
| Optimizer | automagic3 |
| Learning rate | 1e-5 |
| dtype | bf16 |
Keep art_style = Studio Ghibli style and medium = anime_screencap in every prompt to trigger the LoRA.
Samples
- Downloads last month
- 54
Model tree for Yofardev/kiki_ideogram4_v1
Base model
ideogram-ai/ideogram-4-fp8






