cloneofsimo/portraitplus_lora 🔢🖼️❓📝 → 🖼️

▶️ 7.2K runs 📅 Feb 2023 ⚙️ Cog 0.6.1
image-lora-training image-to-image text-to-image

Performance

7.5sTypical run time
7.2KTotal runs

About

https://huggingface.co/wavymulder/portraitplus

Example Output

Prompt:

"portrait+ style, a photo of <1> on mars"

Output

Example output

Performance Metrics

7.49s Prediction Time
7.55s Total Time
All Input Parameters
{
  "width": 512,
  "height": 512,
  "prompt": "portrait+ style, a photo of <1> on mars",
  "lora_urls": "https://replicate.delivery/pbxt/IzbeguwVsW3PcC1gbiLy5SeALwk4sGgWroHagcYIn9I960bQA/tmpjlodd7vazekezip.safetensors",
  "scheduler": "DPMSolverMultistep",
  "lora_scales": "0.5",
  "num_outputs": 1,
  "adapter_type": "keypose",
  "guidance_scale": "5.5",
  "prompt_strength": 0.8,
  "num_inference_steps": 50,
  "adapter_condtion_image": "https://replicate.delivery/pbxt/IOajPfw4P6cXcFp6SUOzgBl1wlq3Wb5qgDdAhKaeuL55skYB/keypose_0%20copy.png"
}
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: 53960
The requested LoRAs are loaded.
  0%|          | 0/50 [00:00<?, ?it/s]
  2%|▏         | 1/50 [00:00<00:06,  7.87it/s]
  4%|▍         | 2/50 [00:00<00:05,  8.19it/s]
  6%|▌         | 3/50 [00:00<00:05,  7.88it/s]
  8%|▊         | 4/50 [00:00<00:05,  7.67it/s]
 10%|█         | 5/50 [00:00<00:05,  7.69it/s]
 12%|█▏        | 6/50 [00:00<00:05,  7.94it/s]
 14%|█▍        | 7/50 [00:00<00:05,  8.10it/s]
 16%|█▌        | 8/50 [00:01<00:05,  8.16it/s]
 18%|█▊        | 9/50 [00:01<00:05,  8.05it/s]
 20%|██        | 10/50 [00:01<00:04,  8.16it/s]
 22%|██▏       | 11/50 [00:01<00:04,  8.28it/s]
 24%|██▍       | 12/50 [00:01<00:04,  8.53it/s]
 26%|██▌       | 13/50 [00:01<00:04,  8.39it/s]
 28%|██▊       | 14/50 [00:01<00:04,  8.38it/s]
 30%|███       | 15/50 [00:01<00:04,  8.18it/s]
 32%|███▏      | 16/50 [00:01<00:04,  8.13it/s]
 34%|███▍      | 17/50 [00:02<00:03,  8.29it/s]
 36%|███▌      | 18/50 [00:02<00:03,  8.45it/s]
 38%|███▊      | 19/50 [00:02<00:03,  8.58it/s]
 40%|████      | 20/50 [00:02<00:03,  8.53it/s]
 42%|████▏     | 21/50 [00:02<00:03,  8.32it/s]
 44%|████▍     | 22/50 [00:02<00:03,  8.25it/s]
 46%|████▌     | 23/50 [00:02<00:03,  7.98it/s]
 48%|████▊     | 24/50 [00:02<00:03,  7.89it/s]
 50%|█████     | 25/50 [00:03<00:03,  7.91it/s]
 52%|█████▏    | 26/50 [00:03<00:02,  8.26it/s]
 54%|█████▍    | 27/50 [00:03<00:02,  8.59it/s]
 56%|█████▌    | 28/50 [00:03<00:02,  8.37it/s]
 58%|█████▊    | 29/50 [00:03<00:02,  8.42it/s]
 60%|██████    | 30/50 [00:03<00:02,  8.23it/s]
 62%|██████▏   | 31/50 [00:03<00:02,  8.25it/s]
 64%|██████▍   | 32/50 [00:03<00:02,  8.07it/s]
 66%|██████▌   | 33/50 [00:04<00:02,  7.82it/s]
 68%|██████▊   | 34/50 [00:04<00:02,  7.63it/s]
 70%|███████   | 35/50 [00:04<00:02,  7.47it/s]
 72%|███████▏  | 36/50 [00:04<00:01,  7.48it/s]
 74%|███████▍  | 37/50 [00:04<00:01,  7.48it/s]
 76%|███████▌  | 38/50 [00:04<00:01,  7.58it/s]
 78%|███████▊  | 39/50 [00:04<00:01,  7.84it/s]
 80%|████████  | 40/50 [00:04<00:01,  7.87it/s]
 82%|████████▏ | 41/50 [00:05<00:01,  8.08it/s]
 84%|████████▍ | 42/50 [00:05<00:01,  7.95it/s]
 86%|████████▌ | 43/50 [00:05<00:00,  8.10it/s]
 88%|████████▊ | 44/50 [00:05<00:00,  8.12it/s]
 90%|█████████ | 45/50 [00:05<00:00,  7.99it/s]
 92%|█████████▏| 46/50 [00:05<00:00,  7.93it/s]
 94%|█████████▍| 47/50 [00:05<00:00,  8.29it/s]
 96%|█████████▌| 48/50 [00:05<00:00,  8.38it/s]
 98%|█████████▊| 49/50 [00:06<00:00,  8.29it/s]
100%|██████████| 50/50 [00:06<00:00,  8.22it/s]
100%|██████████| 50/50 [00:06<00:00,  8.09it/s]
Version Details
Version ID
fec6839adecf94f362a1e74b8f40e55a85df94c711a6660911f321e468fe4fe1
Version Created
March 3, 2023
Run on Replicate →