Instructions to use Danrisi/grainscape_moss with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Danrisi/grainscape_moss with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OpenMOSS-Team/MOSS-Image-Base", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Danrisi/grainscape_moss") prompt = "Color film photography, 35mm color negative look, heavy film grain, pronounced noise, strong high-ISO texture, underexposed. In a dim club restroom with a black brick wall background, two lip-shaped urinals (glossy bright-red plastic, white teeth, mouths gaping) hang at head height left and right. Centered between them kneeling a 20 years old russian girl in a sleeveless red latex crop-top with a heart-shaped cut-out on the chest; black tattoo on her left shoulder. She faces the camera, mouth open in mock surprise, echoing the urinals. Symmetrical, waist-up framing, frontal composition. Dramatic overhead spot light, deep shadows, crisp reflections on latex and plastic" 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!