Instructions to use mirroring/civitai_mirror with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mirroring/civitai_mirror with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mirroring/civitai_mirror", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| { | |
| "id": 5101, | |
| "modelId": 4499, | |
| "name": "Unspeakable Horrors 32 Vectors", | |
| "createdAt": "2023-01-14T00:54:56.274Z", | |
| "updatedAt": "2023-01-14T19:41:53.144Z", | |
| "trainedWords": [], | |
| "baseModel": "SD 1.5", | |
| "earlyAccessTimeFrame": 0, | |
| "description": null, | |
| "model": { | |
| "name": "Unspeakable Horrors (Negative prompt)", | |
| "type": "TextualInversion", | |
| "nsfw": false, | |
| "poi": false | |
| }, | |
| "files": [ | |
| { | |
| "name": "Unspeakable-Horrors-32v.pt", | |
| "id": 5143, | |
| "sizeKB": 96.9169921875, | |
| "type": "Model", | |
| "format": "PickleTensor", | |
| "pickleScanResult": "Success", | |
| "pickleScanMessage": "**Detected Pickle imports (3)**\n```\ncollections.OrderedDict\ntorch._utils._rebuild_tensor_v2\ntorch.FloatStorage\n```", | |
| "virusScanResult": "Success", | |
| "scannedAt": "2023-01-14T01:00:58.334Z", | |
| "hashes": { | |
| "AutoV2": "0E8A074022", | |
| "SHA256": "0E8A074022182DFFF7D45588F0BAD7D3B319C5AF9094BD871B8E86580BD43681", | |
| "CRC32": "D8462E4B", | |
| "BLAKE3": "7128D1C9E9E3F4EBA1CF3E994D9F503C02F92ABDB344A4D7DE138CAB85105646" | |
| }, | |
| "primary": true, | |
| "downloadUrl": "https://civitai.com/api/download/models/5101" | |
| } | |
| ], | |
| "images": [ | |
| { | |
| "url": "https://imagecache.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/28e31dfd-a143-4153-0e4a-b2e838bba800/width=450/37881", | |
| "nsfw": false, | |
| "width": 1280, | |
| "height": 1792, | |
| "hash": "UICjOmS500W;_Nxu4nIUxut6IVRj?HkCWAWC", | |
| "meta": { | |
| "Size": "1280x1792", | |
| "seed": 2669760887, | |
| "steps": 60, | |
| "prompt": "close-up of man's face walking on a busy sidewalk, sci-fi city at night, raining, Style-BladeRunner2049-8v, partial face, face focus", | |
| "sampler": "Euler a", | |
| "cfgScale": 7, | |
| "Mask blur": "4", | |
| "negativePrompt": "Unspeakable-Horrors-32v, anime, drawing, art, 3d", | |
| "Denoising strength": "0.4", | |
| "Ultimate SD upscale padding": "32", | |
| "Ultimate SD upscale upscaler": "ESRGAN_4x", | |
| "Ultimate SD upscale mask_blur": "16", | |
| "Ultimate SD upscale tile_size": "704" | |
| }, | |
| "userId": 55684, | |
| "generationProcess": "inpainting", | |
| "needsReview": false, | |
| "scannedAt": "2023-03-23T17:29:52.884Z", | |
| "tags": [ | |
| { | |
| "tag": { | |
| "id": 5772, | |
| "name": "smile", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 4211, | |
| "name": "happy", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 7913, | |
| "name": "urban", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5484, | |
| "name": "face", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111754, | |
| "name": "head", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 55, | |
| "name": "city", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 7757, | |
| "name": "weather", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111763, | |
| "name": "outdoors", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 321, | |
| "name": "nature", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111783, | |
| "name": "coat", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5193, | |
| "name": "clothing", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 66, | |
| "name": "person", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5232, | |
| "name": "man", | |
| "isCategory": true, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5231, | |
| "name": "male", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5163, | |
| "name": "adult", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| } | |
| ] | |
| } | |
| ], | |
| "downloadUrl": "https://civitai.com/api/download/models/5101" | |
| } |