Instructions to use Danrisi/grainscape_qwen2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Danrisi/grainscape_qwen2.1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-2.1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Danrisi/grainscape_qwen2.1") prompt = "Color film photography, 35mm color negative look, heavy film grain, high ISO noise, pushed film contrast, underexposed night scene. A Ford Crown Victoria Police Interceptor NYPD patrol car speeding through a city street at night, captured in a handheld amateur candid shot with strong motion blur and smeared details from high speed. Side view / front-side angle, the car slightly tilted in the frame, headlights blown out, roof lightbar glowing red and blue, reflections streaking across the glossy white-and-blue body panels.\n\nLarge NYPD lettering on the front door, partially covered by messy red spray-painted graffiti reading “ACAB” in rough dripping letters. The graffiti looks fresh, uneven, aggressive, and hand-painted, with overspray and paint runs on the door. A uniformed police officer is visible in the driver’s seat through the side window and windshield, blurred by motion, low light, and reflections.\n\nBackground: dense urban night street, colorful streaked lights from traffic, streetlights, neon signs, storefronts, and wet asphalt reflections. Long horizontal light trails, blurred passing cars, dark building silhouettes, harsh contrast between deep shadows and bright highlights. Dynamic panning effect, chaotic street energy, documentary realism, imperfect framing, slight camera shake, candid amateur quality, grainy texture, low-light color cast, crushed blacks, blown highlights, chromatic aberration," image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
File size: 132 Bytes
44369d0 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:00e54ed1a005cdefdf1b0583cfd06e24c79aa739ebb838619180e4fad8d1d554
size 2365177
|