cloneofsimo/lora 🔢🖼️❓📝 → 🖼️

▶️ 132.7K runs 📅 Feb 2023 ⚙️ Cog 0.6.1 🔗 GitHub 📄 Paper ⚖️ License
image-to-image text-to-image

About

LoRA Inference model with Stable Diffusion

Example Output

Prompt:

"a photo of an astronaut riding a horse in the style of <1>"

Output

Example output

Performance Metrics

6.83s Prediction Time
6.90s Total Time
All Input Parameters
{
  "width": 512,
  "height": 512,
  "prompt": "a photo of an astronaut riding a horse in the style of <1>",
  "lora_urls": "https://replicate.delivery/pbxt/c32Ba8UOS6bFDBwybc16WDREfzWCqeCRUzL3YtTgNrTIrqaQA/tmpan_f4msxcaravaggio.safetensors",
  "scheduler": "DPMSolverMultistep",
  "lora_scales": "0.6",
  "num_outputs": "1",
  "guidance_scale": 7.5,
  "negative_prompt": "frame",
  "num_inference_steps": 50
}
Input Parameters
seed Type: integer
Random seed. Leave blank to randomize the seed
image Type: string
(Img2Img) Inital image to generate variations of. If this is not none, Img2Img will be invoked.
width Default: 512
Width of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
height Default: 512
Height of output image. Maximum size is 1024x768 or 768x1024 because of memory limits
prompt Type: stringDefault: a photo of <1> riding a horse on mars
Input prompt. Use <1>, <2>, <3>, etc., to specify LoRA concepts
lora_urls Type: stringDefault:
List of urls for safetensors of lora models, seperated with | .
scheduler Default: DPMSolverMultistep
Choose a scheduler.
lora_scales Type: stringDefault: 0.5
List of scales for safetensors of lora models, seperated with |
num_outputs Type: integerDefault: 1Range: 1 - 4
Number of images to output.
adapter_type Default: sketch
(T2I-adapter) Choose an adapter type for the additional condition.
guidance_scale Type: numberDefault: 7.5Range: 1 - 20
Scale for classifier-free guidance
negative_prompt Type: stringDefault:
Specify things to not see in the output
prompt_strength Type: numberDefault: 0.8
(Img2Img) Prompt strength when providing the image. 1.0 corresponds to full destruction of information in init image
num_inference_steps Type: integerDefault: 50Range: 1 - 500
Number of denoising steps
adapter_condition_image Type: string
(T2I-adapter) Adapter Condition Image to gain extra control over generation. If this is not none, T2I adapter will be invoked. Width, Height of this image must match the above parameter, or dimension of the Img2Img image.
Output Schema

Output

Type: arrayItems Type: stringItems Format: uri

Example Execution Logs
Using seed: 12291
The requested LoRAs are loaded.
  0%|          | 0/50 [00:00<?, ?it/s]
  2%|▏         | 1/50 [00:00<00:06,  7.09it/s]
  4%|▍         | 2/50 [00:00<00:06,  7.93it/s]
  6%|▌         | 3/50 [00:00<00:05,  8.20it/s]
  8%|▊         | 4/50 [00:00<00:05,  8.40it/s]
 10%|█         | 5/50 [00:00<00:05,  8.50it/s]
 12%|█▏        | 6/50 [00:00<00:05,  8.56it/s]
 14%|█▍        | 7/50 [00:00<00:04,  8.61it/s]
 16%|█▌        | 8/50 [00:00<00:04,  8.63it/s]
 18%|█▊        | 9/50 [00:01<00:04,  8.64it/s]
 20%|██        | 10/50 [00:01<00:04,  8.67it/s]
 22%|██▏       | 11/50 [00:01<00:04,  8.68it/s]
 24%|██▍       | 12/50 [00:01<00:04,  8.68it/s]
 26%|██▌       | 13/50 [00:01<00:04,  8.69it/s]
 28%|██▊       | 14/50 [00:01<00:04,  8.69it/s]
 30%|███       | 15/50 [00:01<00:04,  8.69it/s]
 32%|███▏      | 16/50 [00:01<00:03,  8.70it/s]
 34%|███▍      | 17/50 [00:01<00:03,  8.70it/s]
 36%|███▌      | 18/50 [00:02<00:03,  8.69it/s]
 38%|███▊      | 19/50 [00:02<00:03,  8.71it/s]
 40%|████      | 20/50 [00:02<00:03,  8.71it/s]
 42%|████▏     | 21/50 [00:02<00:03,  8.62it/s]
 44%|████▍     | 22/50 [00:02<00:03,  8.66it/s]
 46%|████▌     | 23/50 [00:02<00:03,  8.69it/s]
 48%|████▊     | 24/50 [00:02<00:02,  8.70it/s]
 50%|█████     | 25/50 [00:02<00:02,  8.70it/s]
 52%|█████▏    | 26/50 [00:03<00:02,  8.70it/s]
 54%|█████▍    | 27/50 [00:03<00:02,  8.70it/s]
 56%|█████▌    | 28/50 [00:03<00:02,  8.71it/s]
 58%|█████▊    | 29/50 [00:03<00:02,  8.72it/s]
 60%|██████    | 30/50 [00:03<00:02,  8.72it/s]
 62%|██████▏   | 31/50 [00:03<00:02,  8.73it/s]
 64%|██████▍   | 32/50 [00:03<00:02,  8.73it/s]
 66%|██████▌   | 33/50 [00:03<00:01,  8.72it/s]
 68%|██████▊   | 34/50 [00:03<00:01,  8.72it/s]
 70%|███████   | 35/50 [00:04<00:01,  8.65it/s]
 72%|███████▏  | 36/50 [00:04<00:01,  8.67it/s]
 74%|███████▍  | 37/50 [00:04<00:01,  8.68it/s]
 76%|███████▌  | 38/50 [00:04<00:01,  8.69it/s]
 78%|███████▊  | 39/50 [00:04<00:01,  8.70it/s]
 80%|████████  | 40/50 [00:04<00:01,  8.69it/s]
 82%|████████▏ | 41/50 [00:04<00:01,  8.69it/s]
 84%|████████▍ | 42/50 [00:04<00:00,  8.71it/s]
 86%|████████▌ | 43/50 [00:04<00:00,  8.71it/s]
 88%|████████▊ | 44/50 [00:05<00:00,  8.67it/s]
 90%|█████████ | 45/50 [00:05<00:00,  8.67it/s]
 92%|█████████▏| 46/50 [00:05<00:00,  8.67it/s]
 94%|█████████▍| 47/50 [00:05<00:00,  8.68it/s]
 96%|█████████▌| 48/50 [00:05<00:00,  8.69it/s]
 98%|█████████▊| 49/50 [00:05<00:00,  8.67it/s]
100%|██████████| 50/50 [00:05<00:00,  8.44it/s]
100%|██████████| 50/50 [00:05<00:00,  8.63it/s]
Version Details
Version ID
fce477182f407ffd66b94b08e761424cabd13b82b518754b83080bc75ad32466
Version Created
March 3, 2023
Run on Replicate →