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": 5100, | |
| "modelId": 4499, | |
| "name": "Unspeakable Horrors 24 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-24v.pt", | |
| "id": 5142, | |
| "sizeKB": 72.9169921875, | |
| "type": "Model", | |
| "format": "PickleTensor", | |
| "pickleScanResult": "Success", | |
| "pickleScanMessage": "**Detected Pickle imports (3)**\n```\ncollections.OrderedDict\ntorch.FloatStorage\ntorch._utils._rebuild_tensor_v2\n```", | |
| "virusScanResult": "Success", | |
| "scannedAt": "2023-01-14T00:58:19.129Z", | |
| "hashes": { | |
| "AutoV2": "AFD4896B98", | |
| "SHA256": "AFD4896B98D65071598CC60BEC235BB2C2139DE3C07AC4784F732718DCABB925", | |
| "CRC32": "D9E8D0D9", | |
| "BLAKE3": "E1405D413779D0145E915AE5D9C5F00D3AABF25FFB316E211F30139FCA89A927" | |
| }, | |
| "primary": true, | |
| "downloadUrl": "https://civitai.com/api/download/models/5100" | |
| } | |
| ], | |
| "images": [ | |
| { | |
| "url": "https://imagecache.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/08a6e530-41d1-4c8f-6143-5849ec5a9400/width=450/37880", | |
| "nsfw": true, | |
| "width": 1280, | |
| "height": 1792, | |
| "hash": "UTL;5G%%5Q?HxK?H?HS1-T%1%MWCs=E1Vrxu", | |
| "meta": { | |
| "Size": "1280x1792", | |
| "seed": 4173332065, | |
| "steps": 60, | |
| "prompt": "photo of a beautiful japanese woman, beach, bikini, fantasy setting, portrait, bloom, fog, glow, mythical, close-up", | |
| "sampler": "Euler a", | |
| "cfgScale": 7, | |
| "Mask blur": "4", | |
| "negativePrompt": "Unspeakable-Horrors-24v, 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:54.141Z", | |
| "tags": [ | |
| { | |
| "tag": { | |
| "id": 1441, | |
| "name": "portrait", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5241, | |
| "name": "photography", | |
| "isCategory": true, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111754, | |
| "name": "head", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5484, | |
| "name": "face", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111839, | |
| "name": "plant", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111857, | |
| "name": "flower", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 7802, | |
| "name": "hair", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 3642, | |
| "name": "black hair", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5133, | |
| "name": "woman", | |
| "isCategory": true, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 66, | |
| "name": "person", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 192, | |
| "name": "female", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5163, | |
| "name": "adult", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 2392, | |
| "name": "bikini", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 111943, | |
| "name": "swimwear", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 5193, | |
| "name": "clothing", | |
| "isCategory": false, | |
| "type": "Label" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 6924, | |
| "name": "revealing clothes", | |
| "isCategory": false, | |
| "type": "Moderation" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| }, | |
| { | |
| "tag": { | |
| "id": 112070, | |
| "name": "female swimwear or underwear", | |
| "isCategory": false, | |
| "type": "Moderation" | |
| }, | |
| "automated": true, | |
| "needsReview": false | |
| } | |
| ] | |
| } | |
| ], | |
| "downloadUrl": "https://civitai.com/api/download/models/5100" | |
| } |