Snip130 commited on
Commit
be145b6
·
verified ·
1 Parent(s): 212dfa8

Upload Ideogram cartoon LoRA weights and samples

Browse files
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ samples/generated/clockwork_beetle.png filter=lfs diff=lfs merge=lfs -text
37
+ samples/generated/crystal_lantern.png filter=lfs diff=lfs merge=lfs -text
38
+ samples/generated/storm_dragon.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ base_model: ideogram-ai/ideogram-4-fp8
4
+ pipeline_tag: image-to-image
5
+ tags:
6
+ - ideogram4
7
+ - lora
8
+ - adapter
9
+ - image-to-image
10
+ - cartoon
11
+ - game-art
12
+ - safetensors
13
+ ---
14
+
15
+ # Ideogram Cartoon LoRA
16
+
17
+ This is a LoRA adapter trained for a clean, readable cartoon game-asset style on
18
+ top of `ideogram-ai/ideogram-4-fp8`.
19
+
20
+ Repository and scripts:
21
+ [github.com/ChaseC-130/Ideogram-Cartoon-Lora](https://github.com/ChaseC-130/Ideogram-Cartoon-Lora)
22
+
23
+ ## Sample Outputs
24
+
25
+ | Clockwork beetle | Crystal lantern | Storm dragon |
26
+ | --- | --- | --- |
27
+ | ![Clockwork beetle](samples/generated/clockwork_beetle.png) | ![Crystal lantern](samples/generated/crystal_lantern.png) | ![Storm dragon](samples/generated/storm_dragon.png) |
28
+
29
+ ## Sample Prompts
30
+
31
+ ```text
32
+ custom_subject {"caption": "A whimsical clockwork beetle hero made from polished brass plates and tiny blue glass lenses, standing on mossy stone in a cozy workshop, chunky readable silhouette, clean cel-shaded edges, vibrant cartoon game asset style, no text or letters."}
33
+ custom_subject {"caption": "A cheerful enchanted crystal lantern creature with small metal feet, warm golden light glowing through teal glass, posed on a forest path at dusk, crisp 2D fantasy game illustration, expressive face, no text or logos."}
34
+ custom_subject {"caption": "A tiny full-body storm dragon mascot centered with plenty of margin, rounded dark scales, bright yellow lightning horns, playful eyes, and fluffy cloud puffs around its feet, dramatic readable lighting, colorful cartoon game card art, no words or symbols."}
35
+ ```
36
+
37
+ ## Quick Usage
38
+
39
+ Clone the workflow repo and install dependencies:
40
+
41
+ ```bash
42
+ git clone https://github.com/ChaseC-130/Ideogram-Cartoon-Lora.git
43
+ cd Ideogram-Cartoon-Lora
44
+ python3 -m venv .venv
45
+ source .venv/bin/activate
46
+ pip install -r requirements.txt
47
+ ```
48
+
49
+ Download this LoRA adapter from Hugging Face, then run img2img with a local AI
50
+ Toolkit checkout:
51
+
52
+ ```bash
53
+ python scripts/run_image_to_image.py \
54
+ --ai-toolkit-path ../ai-toolkit \
55
+ --image_path samples/source_images/crystal_lantern.png \
56
+ --prompt 'A cheerful enchanted crystal lantern creature with small metal feet, warm golden light glowing through teal glass, posed on a forest path at dusk, crisp 2D fantasy game illustration, expressive face, no text or logos.' \
57
+ --lora_path weights/ideogram_cartoon_lora.safetensors \
58
+ --output_path output/crystal_lantern_sample.png \
59
+ --strength 0.88 \
60
+ --steps 20 \
61
+ --guidance 3.6 \
62
+ --device mps \
63
+ --seed 21
64
+ ```
65
+
66
+ ## Files
67
+
68
+ - `ideogram_cartoon_lora.safetensors`: LoRA adapter weights.
69
+ - `samples/prompts.txt`: sample JSON-style prompts.
70
+ - `samples/prompt_cache.json`: prompt cache for the batch img2img script.
71
+ - `samples/source_images/`: synthetic source sketches used for examples.
72
+ - `samples/generated/`: generated sample outputs.
73
+
74
+ ## License Notes
75
+
76
+ This adapter is a derivative of `ideogram-ai/ideogram-4-fp8`. Use and
77
+ redistribution of this adapter must remain compatible with the base model
78
+ license and your use case. The public Ideogram 4 weights are distributed under
79
+ Ideogram's model terms, which are separate from the MIT-licensed workflow code
80
+ in the GitHub repository.
81
+
82
+ This model card is not legal advice.
ideogram_cartoon_lora.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:755a98c514241c07d2be9e60d39095143cadca3f7e03f21664ec5e53fcbb786d
3
+ size 105892560
samples/generated/clockwork_beetle.png ADDED

Git LFS Details

  • SHA256: 012c6eb50fb82e2633ea3a71d58e8a1e5ff5c97cdeb76f20f8507aa4c2cf4a12
  • Pointer size: 131 Bytes
  • Size of remote file: 196 kB
samples/generated/crystal_lantern.png ADDED

Git LFS Details

  • SHA256: cb1d79ff518d207139ac7e209a7fd52a7fe1f7060235c99b15adbecc5b163da6
  • Pointer size: 131 Bytes
  • Size of remote file: 222 kB
samples/generated/storm_dragon.png ADDED

Git LFS Details

  • SHA256: 0943ba1f4e9e26f49ed27d13a779e01129c9925bf1f490e7e9c5a462ec3c07d1
  • Pointer size: 131 Bytes
  • Size of remote file: 147 kB
samples/prompt_cache.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "clockwork_beetle.png": "A whimsical clockwork beetle hero made from polished brass plates and tiny blue glass lenses, standing on mossy stone in a cozy workshop, chunky readable silhouette, clean cel-shaded edges, vibrant cartoon game asset style, no text or letters.",
3
+ "crystal_lantern.png": "A cheerful enchanted crystal lantern creature with small metal feet, warm golden light glowing through teal glass, posed on a forest path at dusk, crisp 2D fantasy game illustration, expressive face, no text or logos.",
4
+ "storm_dragon.png": "A tiny full-body storm dragon mascot centered with plenty of margin, rounded dark scales, bright yellow lightning horns, playful eyes, and fluffy cloud puffs around its feet, dramatic readable lighting, colorful cartoon game card art, no words or symbols."
5
+ }
samples/prompts.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ custom_subject {"caption": "A whimsical clockwork beetle hero made from polished brass plates and tiny blue glass lenses, standing on mossy stone in a cozy workshop, chunky readable silhouette, clean cel-shaded edges, vibrant cartoon game asset style, no text or letters."}
2
+ custom_subject {"caption": "A cheerful enchanted crystal lantern creature with small metal feet, warm golden light glowing through teal glass, posed on a forest path at dusk, crisp 2D fantasy game illustration, expressive face, no text or logos."}
3
+ custom_subject {"caption": "A tiny full-body storm dragon mascot centered with plenty of margin, rounded dark scales, bright yellow lightning horns, playful eyes, and fluffy cloud puffs around its feet, dramatic readable lighting, colorful cartoon game card art, no words or symbols."}
samples/source_images/clockwork_beetle.png ADDED
samples/source_images/crystal_lantern.png ADDED
samples/source_images/storm_dragon.png ADDED