--- base_model: Disty0/Ideogram-4-SDNQ-FP8 library_name: diffusers license: other instance_prompt: yarn art style widget: - text: '{"high_level_description":"A whimsical yarn-craft illustration of Yoda rendered entirely in knitted and crocheted fiber, mounted inside a round wooden embroidery hoop on a linen backdrop, a soft diffused daylight photograph with 1:1 aspect ratio.","compositional_deconstruction":{"background":"Neutral pale linen backdrop filling the frame, fine grain texture visible, soft diffused daylight from upper-left casting gentle shadows across the surface, palette dominated by mossy greens, cream, oatmeal browns, and warm wood tones against the pale linen ground.","elements":[{"type":"obj","desc":"Round wooden embroidery hoop framing the entire piece, light birch finish with a small brass tension screw at the bottom edge. The hoop sits flat on the linen backdrop, centered in the frame."},{"type":"obj","desc":"Yoda''s head and shoulders sculpted from soft moss-green yarn, filling roughly 80% of the hoop interior, centered. Large pointed ears with visible stitch texture and tiny pink felt inner-ear patches. Wrinkled forehead formed by gathered cream-colored yarn tufts. Deep-set eyes made from two small black beads set into white felt circles. Long hooked nose crafted from a single rolled cord of darker green yarn. Mouth stitched as a small closed curve in dark thread. Wispy white beard and sideburns made from looped mohair fibers cascading down the chin. Three-dimensional stitch texture reads clearly under the soft directional light."},{"type":"obj","desc":"Small brown robe collar at the base of Yoda''s neck, crocheted in chunky oatmeal-brown yarn with a loose cable-knit pattern, sitting just below the chin within the lower portion of the hoop."},{"type":"obj","desc":"Scattered loose yarn scraps in moss-green, cream, and oatmeal-brown resting on the linen surface beneath the lower-left edge of the hoop, falling into soft focus."},{"type":"obj","desc":"A pair of small wooden crochet hooks lying crossed on the linen surface beneath the lower-right edge of the hoop, light wood handles with tapered metal tips, softly out of focus."}]}}' output: url: image_0.png - text: '{"high_level_description":"A whimsical yarn-craft illustration of Yoda rendered entirely in knitted and crocheted fiber, mounted inside a round wooden embroidery hoop on a linen backdrop, a soft diffused daylight photograph with 1:1 aspect ratio.","compositional_deconstruction":{"background":"Neutral pale linen backdrop filling the frame, fine grain texture visible, soft diffused daylight from upper-left casting gentle shadows across the surface, palette dominated by mossy greens, cream, oatmeal browns, and warm wood tones against the pale linen ground.","elements":[{"type":"obj","desc":"Round wooden embroidery hoop framing the entire piece, light birch finish with a small brass tension screw at the bottom edge. The hoop sits flat on the linen backdrop, centered in the frame."},{"type":"obj","desc":"Yoda''s head and shoulders sculpted from soft moss-green yarn, filling roughly 80% of the hoop interior, centered. Large pointed ears with visible stitch texture and tiny pink felt inner-ear patches. Wrinkled forehead formed by gathered cream-colored yarn tufts. Deep-set eyes made from two small black beads set into white felt circles. Long hooked nose crafted from a single rolled cord of darker green yarn. Mouth stitched as a small closed curve in dark thread. Wispy white beard and sideburns made from looped mohair fibers cascading down the chin. Three-dimensional stitch texture reads clearly under the soft directional light."},{"type":"obj","desc":"Small brown robe collar at the base of Yoda''s neck, crocheted in chunky oatmeal-brown yarn with a loose cable-knit pattern, sitting just below the chin within the lower portion of the hoop."},{"type":"obj","desc":"Scattered loose yarn scraps in moss-green, cream, and oatmeal-brown resting on the linen surface beneath the lower-left edge of the hoop, falling into soft focus."},{"type":"obj","desc":"A pair of small wooden crochet hooks lying crossed on the linen surface beneath the lower-right edge of the hoop, light wood handles with tapered metal tips, softly out of focus."}]}}' output: url: image_1.png tags: - text-to-image - diffusers-training - diffusers - lora - ideogram4 - ideogram4-diffusers - template:sd-lora --- # Ideogram4 DreamBooth LoRA - linoyts/ideogram4-yarn-art-bf16 ## Model description These are linoyts/ideogram4-yarn-art-bf16 DreamBooth LoRA weights for Disty0/Ideogram-4-SDNQ-FP8. The weights were trained using [DreamBooth](https://dreambooth.github.io/) with the [Ideogram4 diffusers trainer](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_ideogram4.md). ## Trigger words You should use `yarn art style` to trigger the image generation. Ideogram 4 is trained on structured JSON captions, so for best results pass a caption in the JSON schema (see the [prompt format](https://github.com/huggingface/diffusers/blob/main/examples/dreambooth/README_ideogram4.md#prompt-format)) or a short prompt with `prompt_upsampling=True`. ## Download model [Download the *.safetensors LoRA](linoyts/ideogram4-yarn-art-bf16/tree/main) in the Files & versions tab. ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) ```py from diffusers import Ideogram4Pipeline import torch pipeline = Ideogram4Pipeline.from_pretrained("Disty0/Ideogram-4-SDNQ-FP8", torch_dtype=torch.bfloat16) pipeline.to('cuda') pipeline.load_lora_weights('linoyts/ideogram4-yarn-art-bf16', weight_name='pytorch_lora_weights.safetensors') image = pipeline('{"high_level_description":"A whimsical yarn-craft illustration of Yoda rendered entirely in knitted and crocheted fiber, mounted inside a round wooden embroidery hoop on a linen backdrop, a soft diffused daylight photograph with 1:1 aspect ratio.","compositional_deconstruction":{"background":"Neutral pale linen backdrop filling the frame, fine grain texture visible, soft diffused daylight from upper-left casting gentle shadows across the surface, palette dominated by mossy greens, cream, oatmeal browns, and warm wood tones against the pale linen ground.","elements":[{"type":"obj","desc":"Round wooden embroidery hoop framing the entire piece, light birch finish with a small brass tension screw at the bottom edge. The hoop sits flat on the linen backdrop, centered in the frame."},{"type":"obj","desc":"Yoda's head and shoulders sculpted from soft moss-green yarn, filling roughly 80% of the hoop interior, centered. Large pointed ears with visible stitch texture and tiny pink felt inner-ear patches. Wrinkled forehead formed by gathered cream-colored yarn tufts. Deep-set eyes made from two small black beads set into white felt circles. Long hooked nose crafted from a single rolled cord of darker green yarn. Mouth stitched as a small closed curve in dark thread. Wispy white beard and sideburns made from looped mohair fibers cascading down the chin. Three-dimensional stitch texture reads clearly under the soft directional light."},{"type":"obj","desc":"Small brown robe collar at the base of Yoda's neck, crocheted in chunky oatmeal-brown yarn with a loose cable-knit pattern, sitting just below the chin within the lower portion of the hoop."},{"type":"obj","desc":"Scattered loose yarn scraps in moss-green, cream, and oatmeal-brown resting on the linen surface beneath the lower-left edge of the hoop, falling into soft focus."},{"type":"obj","desc":"A pair of small wooden crochet hooks lying crossed on the linen surface beneath the lower-right edge of the hoop, light wood handles with tapered metal tips, softly out of focus."}]}}').images[0] ``` For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters) ## License Please adhere to the licensing terms of the base model [Disty0/Ideogram-4-SDNQ-FP8](https://huggingface.co/Disty0/Ideogram-4-SDNQ-FP8). ## Intended uses & limitations #### How to use ```python # TODO: add an example code snippet for running this diffusion pipeline ``` #### Limitations and bias [TODO: provide examples of latent issues and potential remediations] ## Training details [TODO: describe the data used to train the model]