Views
No views yet

ideogram-ai/ideogram-4-fp8 (via the
fal/ideogram-v4-fast instant/fast release).
[Describe what this finetune changes — e.g. the dataset it was trained on, the style/domain it targets,
what makes it different from the base Instant checkpoint.]trust_remote_code
(update this if your finetune requires custom code).1import json
2import torch
3from diffusers import Ideogram4Pipeline, Ideogram4Transformer2DModel
4
5repo_id = "your-username/ideogram-4-instant-finetune"
6components_repo_id = "ideogram-ai/ideogram-4-nf4-diffusers" # or your preferred shared components repo
7
8transformer = Ideogram4Transformer2DModel.from_pretrained(
9 repo_id,
10 subfolder="transformer",
11 torch_dtype=torch.bfloat16,
12)
13pipe = Ideogram4Pipeline.from_pretrained(
14 components_repo_id,
15 transformer=transformer,
16 torch_dtype=torch.bfloat16,
17)
18pipe.to("cuda")
19
20prompt = json.dumps(
21 {
22 "high_level_description": "Describe your image here.",
23 "compositional_deconstruction": {
24 "background": "Describe the background.",
25 "elements": [
26 {"type": "text", "text": "YOUR TEXT", "desc": "Description of the element."}
27 ],
28 },
29 },
30 ensure_ascii=False,
31 separators=(",", ":"),
32)
33
34generator = torch.Generator(device="cuda").manual_seed(42)
35image = pipe(
36 prompt,
37 height=1024,
38 width=1024,
39 num_inference_steps=20,
40 guidance_scale=1.0,
41 generator=generator,
42).images[0]
43image.save("output.png")Note: Update this snippet to match your finetune's actual inference requirements (precision, number of steps, guidance settings, any custom pipeline code, LoRA loading, etc.).
ideogram-ai/ideogram-4-fp8 / fal/ideogram-v4-fast1.
2├── README.md
3├── LICENSE.md
4├── NOTICE
5└── transformer/ (or lora/ depending on release type)
6 ├── config.json
7 └── diffusion_pytorch_model.safetensorsideogram-ai/ideogram-4-fp8 and/or
fal/ideogram-v4-fast). [Describe any conversion, quantization, or format changes made during
training/export.]LICENSE.md
and governs use and redistribution of this model. By downloading or using these weights, you
acknowledge and agree to the terms of that license, including its non-commercial use
restriction.