Text-to-Image
Diffusers
TensorBoard
diffusers-training
lora
ideogram4
ideogram4-diffusers
template:sd-lora
Instructions to use linoyts/ideogram4-yarn-art-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use linoyts/ideogram4-yarn-art-bf16 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Disty0/Ideogram-4-SDNQ-FP8", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("linoyts/ideogram4-yarn-art-bf16") prompt = "{\"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.\"}]}}" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!