Instructions to use PrunaAI/p-image-comic-noir-art-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PrunaAI/p-image-comic-noir-art-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("PrunaAI/p-image-comic-noir-art-lora") prompt = "tok_comic_noir A towering, menacing gray mech with red eyes dominates the cityscape, its colossal form walking forward with arms slightly bent at the elbows, hands open as if crushing something. The mech has intricate armor plating, visible seams, and panels, with hints of blue in its metallic surface. Red glowing elements are visible on its chest, shoulders, and head. It has two large antennas on its head. The background features a vibrant orange and red sky with an old comic book halftone pattern effect, filled with stylized clouds and explosions, indicating an ongoing conflict. Several tall buildings, some partially obscured by the mech, line the horizon. Below, the street is in disarray, with three detailed cars in various states of distress, one heavily damaged two-door sedan at the right, one slightly damaged four-door grey sedan just left of center with its lights on, and another four-door car at the left, facing towards the left. Debris and smoke rise from the ground, further emphasizing the destruction. The overall style is reminiscent of a retro comic book, with thick, bold linework, dramatic lighting, and a limited color palette focused on reds, grays, and oranges, conveying a sense of urgency and chaos." image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!