prithivMLmods's picture
Update README.md
4ef2b47 verified
metadata
tags:
  - text-to-image
  - stable-diffusion
  - lora
  - diffusers
  - template:sd-lora
  - StableDiffusionXLPipeline
  - Inference Endpoints
  - sdxl
widget:
  - text: >-
      A Dog, a simple vector illustration in the style of dark and sublime,
      against a light green background
    output:
      url: images/dw1.png
  - text: >-
      A small monkey standing on a womans shoulder, in the style of darkly
      romantic illustrations, muted tones, surrealism, bold shadows, flat,
      animals and people, mysterious jungle, editorial illustrations,
      caravaggesque chiaroscuro --ar 61:75 --v 5
    output:
      url: images/dw.png
  - text: >-
      Dog , colorful cartoon style, high resolution vector, in the style of
      simplified and stylized illustrations
    output:
      url: images/dw2.png
base_model: stabilityai/stable-diffusion-xl-base-1.0
instance_prompt: art, illustration
license: creativeml-openrail-m

Art-Medium

Prompt
A Dog, a simple vector illustration in the style of dark and sublime, against a light green background
Prompt
A small monkey standing on a womans shoulder, in the style of darkly romantic illustrations, muted tones, surrealism, bold shadows, flat, animals and people, mysterious jungle, editorial illustrations, caravaggesque chiaroscuro --ar 61:75 --v 5
Prompt
Dog , colorful cartoon style, high resolution vector, in the style of simplified and stylized illustrations

Model description

Canopus-Art Image Processing Parameters

Parameter Value Parameter Value
LR Scheduler constant Noise Offset 0.03
Optimizer AdamW Multires Noise Discount 0.1
Network Dim 64 Multires Noise Iterations 10
Network Alpha 32 Repeat 20
Epoch 15 Save Every N Epochs 1

SETTING-UP

    pipe = StableDiffusionXLPipeline.from_pretrained(
        "------------------------------",
        torch_dtype=torch.float16,
        use_safetensors=True,
    )
                    (or)
-----------------------------------------------------------
    pipe = StableDiffusionXLPipeline.from_pretrained(
        "stabilityai/stable-diffusion-xl-base-1.0",
        torch_dtype=torch.float16,
        use_safetensors=True,
    )
    pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
    
    pipe.load_lora_weights("prithivMLmods/Canopus-Art-Medium-LoRA", weight_name="prithivMLmods/Canopus-Art-Medium-LoRA.safetensors", adapter_name="mdm")
    pipe.set_adapters("mdm")
    pipe.to("cuda")

Trigger words

You should use art to trigger the image generation.

You should use illustration to trigger the image generation.

Parameter Value
Prompt An illustration of a deer with large antlers, in the style of 18th century, dark gray and light brown, realistic renderings of the human form, 1860–1969, bengal school of art, die brücke, angura kei --ar 258:197 --v 5.1 --style raw
Sampler euler

Download model

Weights for this model are available in Safetensors format.

Download them in the Files & versions tab.