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": 5102, | |
| "modelId": 4499, | |
| "name": "Unspeakable Horrors 48 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-48v.pt", | |
| "id": 5144, | |
| "sizeKB": 144.9169921875, | |
| "type": "Model", | |
| "format": "PickleTensor", | |
| "pickleScanResult": "Success", | |
| "pickleScanMessage": "**Detected Pickle imports (3)**\n```\ntorch.FloatStorage\ntorch._utils._rebuild_tensor_v2\ncollections.OrderedDict\n```", | |
| "virusScanResult": "Success", | |
| "scannedAt": "2023-01-14T01:03:31.088Z", | |
| "hashes": { | |
| "AutoV2": "4F1144BC8D", | |
| "SHA256": "4F1144BC8D162737B0F36DE8B4F9D6A476C01C2B5DBB87F35F9471F87FB233BF", | |
| "CRC32": "F5CBFB7D", | |
| "BLAKE3": "3C73FAD3B223AC83ED43FE3D31E6B01264EA730420015D3C932F6454656814EB" | |
| }, | |
| "primary": true, | |
| "downloadUrl": "https://civitai.com/api/download/models/5102" | |
| } | |
| ], | |
| "images": [ | |
| { | |
| "url": "https://imagecache.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/65ef8fcc-ee3f-4bcc-7e23-c0a50f700c00/width=450/37882", | |
| "nsfw": false, | |
| "width": 1792, | |
| "height": 1280, | |
| "hash": "UPExYDbw9ZM{}@xZNbNbtQ$%IpNa^koyNGRj", | |
| "meta": { | |
| "Size": "1792x1280", | |
| "seed": 3242590173, | |
| "steps": 60, | |
| "prompt": "(sports car:1.1) on a highway with a sci-fi city in the distance, Style-TronLegacy-8v-B", | |
| "sampler": "Euler a", | |
| "cfgScale": 7, | |
| "Mask blur": "4", | |
| "negativePrompt": "Unspeakable-Horrors-48v, 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.806Z", | |
| "tags": [ | |
| { | |
| "tag": { | |
| "id": 111758, | |
| "name": "vehicle", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111757, | |
| "name": "transportation", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 112015, | |
| "name": "limo", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111805, | |
| "name": "car", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111798, | |
| "name": "metropolis", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 112108, | |
| "name": "freeway", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 7913, | |
| "name": "urban", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 55, | |
| "name": "city", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111797, | |
| "name": "road", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| } | |
| ] | |
| } | |
| ], | |
| "downloadUrl": "https://civitai.com/api/download/models/5102" | |
| } |