alexgenovese / sdxl-lora
Inference on Realistic Vision XL 4.0 - Use any LoRA model
- Public
- 474 runs
-
A100 (80GB)
- GitHub
Prediction
alexgenovese/sdxl-lora:d21b74354426634dc83432e38ac7d7ed10ce897be5c515bc98510f6dc898427eIDymi7ngtbfwar2izkbivtl5gdemStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- one violet bag aeqq on the table with lights from the top in a luxury suite of hotel
- refine
- no_refiner
- lora_url
- https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar
- scheduler
- K_EULER
- lora_scale
- 0.8
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:d21b74354426634dc83432e38ac7d7ed10ce897be5c515bc98510f6dc898427e", { input: { seed: 100, width: 1024, height: 1024, prompt: "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", refine: "no_refiner", lora_url: "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", scheduler: "K_EULER", lora_scale: 0.8, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:d21b74354426634dc83432e38ac7d7ed10ce897be5c515bc98510f6dc898427e", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:d21b74354426634dc83432e38ac7d7ed10ce897be5c515bc98510f6dc898427e", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-08-31T12:37:42.122238Z", "created_at": "2023-08-31T12:37:24.656843Z", "data_removed": false, "error": null, "id": "ymi7ngtbfwar2izkbivtl5gdem", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 1.035414695739746\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 1.9320476055145264\nPrompt: one violet bag <s0><s1> on the table with lights from the top in a luxury suite of hotel\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.73it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.71it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.70it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.70it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.69it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.69it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.69it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.69it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.69it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.68it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.68it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.68it/s]\n 26%|██▌ | 13/50 [00:03<00:10, 3.68it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.68it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.68it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.68it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.67it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.67it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.67it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.67it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.67it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.67it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.67it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.67it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.67it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.67it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.67it/s]\n 56%|█████▌ | 28/50 [00:07<00:06, 3.66it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.66it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.66it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.66it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.66it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.66it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.65it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.65it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.65it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.65it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.65it/s]\n 78%|███████▊ | 39/50 [00:10<00:03, 3.65it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.65it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.65it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.65it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.65it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.65it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.65it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.65it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.65it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.65it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.64it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.64it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.67it/s]", "metrics": { "predict_time": 17.479634, "total_time": 17.465395 }, "output": [ "https://pbxt.replicate.delivery/yWQqo28VCvLnLVqcs2lORRoxtdhYbRXrEWMsiRC8cgbl74XE/out-0.png" ], "started_at": "2023-08-31T12:37:24.642604Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ymi7ngtbfwar2izkbivtl5gdem", "cancel": "https://api.replicate.com/v1/predictions/ymi7ngtbfwar2izkbivtl5gdem/cancel" }, "version": "d21b74354426634dc83432e38ac7d7ed10ce897be5c515bc98510f6dc898427e" }
Generated inUsing seed: 100 downloading url: https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar downloading to: ./trained-model downloading took: 1.035414695739746 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 1.9320476055145264 Prompt: one violet bag <s0><s1> on the table with lights from the top in a luxury suite of hotel txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.73it/s] 4%|▍ | 2/50 [00:00<00:12, 3.71it/s] 6%|▌ | 3/50 [00:00<00:12, 3.70it/s] 8%|▊ | 4/50 [00:01<00:12, 3.70it/s] 10%|█ | 5/50 [00:01<00:12, 3.69it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.69it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.69it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.69it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.69it/s] 20%|██ | 10/50 [00:02<00:10, 3.68it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.68it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.68it/s] 26%|██▌ | 13/50 [00:03<00:10, 3.68it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.68it/s] 30%|███ | 15/50 [00:04<00:09, 3.68it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.68it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.67it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.67it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.67it/s] 40%|████ | 20/50 [00:05<00:08, 3.67it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.67it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.67it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.67it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.67it/s] 50%|█████ | 25/50 [00:06<00:06, 3.67it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.67it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.67it/s] 56%|█████▌ | 28/50 [00:07<00:06, 3.66it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.66it/s] 60%|██████ | 30/50 [00:08<00:05, 3.66it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.66it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.66it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.66it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.65it/s] 70%|███████ | 35/50 [00:09<00:04, 3.65it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.65it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.65it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.65it/s] 78%|███████▊ | 39/50 [00:10<00:03, 3.65it/s] 80%|████████ | 40/50 [00:10<00:02, 3.65it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.65it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.65it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.65it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.65it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.65it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.65it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.65it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.65it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.64it/s] 100%|██████████| 50/50 [00:13<00:00, 3.64it/s] 100%|██████████| 50/50 [00:13<00:00, 3.67it/s]
Prediction
alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802bIDxyolmpdb6grwaz62gepeeuhzfyStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- one violet bag aeqq on the table with lights from the top in a luxury suite of hotel
- refine
- no_refiner
- lora_url
- https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar
- scheduler
- K_EULER
- lora_scale
- 1
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 1, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b", { input: { seed: 100, width: 1024, height: 1024, prompt: "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", refine: "no_refiner", lora_url: "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", scheduler: "K_EULER", lora_scale: 1, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 1, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 1, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-07T13:19:07.404668Z", "created_at": "2023-09-07T13:16:51.714660Z", "data_removed": false, "error": null, "id": "xyolmpdb6grwaz62gepeeuhzfy", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag aeqq on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 1, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 1.276538372039795\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 2.840672731399536\nPrompt: one violet bag <s0><s1> on the table with lights from the top in a luxury suite of hotel\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:38, 1.29it/s]\n 4%|▍ | 2/50 [00:01<00:22, 2.09it/s]\n 6%|▌ | 3/50 [00:01<00:18, 2.61it/s]\n 8%|▊ | 4/50 [00:01<00:15, 2.95it/s]\n 10%|█ | 5/50 [00:01<00:14, 3.17it/s]\n 12%|█▏ | 6/50 [00:02<00:13, 3.33it/s]\n 14%|█▍ | 7/50 [00:02<00:12, 3.44it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.51it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.56it/s]\n 20%|██ | 10/50 [00:03<00:11, 3.59it/s]\n 22%|██▏ | 11/50 [00:03<00:10, 3.62it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.64it/s]\n 26%|██▌ | 13/50 [00:04<00:10, 3.65it/s]\n 28%|██▊ | 14/50 [00:04<00:09, 3.65it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.66it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.66it/s]\n 34%|███▍ | 17/50 [00:05<00:08, 3.67it/s]\n 36%|███▌ | 18/50 [00:05<00:08, 3.67it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.68it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.68it/s]\n 42%|████▏ | 21/50 [00:06<00:07, 3.69it/s]\n 44%|████▍ | 22/50 [00:06<00:07, 3.69it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.69it/s]\n 48%|████▊ | 24/50 [00:07<00:07, 3.69it/s]\n 50%|█████ | 25/50 [00:07<00:06, 3.69it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.69it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.69it/s]\n 56%|█████▌ | 28/50 [00:08<00:05, 3.69it/s]\n 58%|█████▊ | 29/50 [00:08<00:05, 3.69it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.69it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.69it/s]\n 64%|██████▍ | 32/50 [00:09<00:04, 3.69it/s]\n 66%|██████▌ | 33/50 [00:09<00:04, 3.69it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.69it/s]\n 70%|███████ | 35/50 [00:10<00:04, 3.68it/s]\n 72%|███████▏ | 36/50 [00:10<00:03, 3.68it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.69it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.68it/s]\n 78%|███████▊ | 39/50 [00:11<00:02, 3.68it/s]\n 80%|████████ | 40/50 [00:11<00:02, 3.68it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.68it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.68it/s]\n 86%|████████▌ | 43/50 [00:12<00:01, 3.68it/s]\n 88%|████████▊ | 44/50 [00:12<00:01, 3.68it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.68it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.68it/s]\n 94%|█████████▍| 47/50 [00:13<00:00, 3.68it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.68it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.68it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.68it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.55it/s]", "metrics": { "predict_time": 19.415665, "total_time": 135.690008 }, "output": [ "https://replicate.delivery/pbxt/DmeueyTxTUkvtE1C80FfvVSxHnxCsQJUGALyw7wHpqgUefOMC/out-0.png" ], "started_at": "2023-09-07T13:18:47.989003Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/xyolmpdb6grwaz62gepeeuhzfy", "cancel": "https://api.replicate.com/v1/predictions/xyolmpdb6grwaz62gepeeuhzfy/cancel" }, "version": "3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b" }
Generated inUsing seed: 100 downloading url: https://pbxt.replicate.delivery/dgeTJ4xBtfqZj0wGnbsoIMSm9sPI5lDzzeyxeQTmCtIeI17LC/trained_model.tar downloading to: ./trained-model downloading took: 1.276538372039795 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 2.840672731399536 Prompt: one violet bag <s0><s1> on the table with lights from the top in a luxury suite of hotel txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:38, 1.29it/s] 4%|▍ | 2/50 [00:01<00:22, 2.09it/s] 6%|▌ | 3/50 [00:01<00:18, 2.61it/s] 8%|▊ | 4/50 [00:01<00:15, 2.95it/s] 10%|█ | 5/50 [00:01<00:14, 3.17it/s] 12%|█▏ | 6/50 [00:02<00:13, 3.33it/s] 14%|█▍ | 7/50 [00:02<00:12, 3.44it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.51it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.56it/s] 20%|██ | 10/50 [00:03<00:11, 3.59it/s] 22%|██▏ | 11/50 [00:03<00:10, 3.62it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.64it/s] 26%|██▌ | 13/50 [00:04<00:10, 3.65it/s] 28%|██▊ | 14/50 [00:04<00:09, 3.65it/s] 30%|███ | 15/50 [00:04<00:09, 3.66it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.66it/s] 34%|███▍ | 17/50 [00:05<00:08, 3.67it/s] 36%|███▌ | 18/50 [00:05<00:08, 3.67it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.68it/s] 40%|████ | 20/50 [00:05<00:08, 3.68it/s] 42%|████▏ | 21/50 [00:06<00:07, 3.69it/s] 44%|████▍ | 22/50 [00:06<00:07, 3.69it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.69it/s] 48%|████▊ | 24/50 [00:07<00:07, 3.69it/s] 50%|█████ | 25/50 [00:07<00:06, 3.69it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.69it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.69it/s] 56%|█████▌ | 28/50 [00:08<00:05, 3.69it/s] 58%|█████▊ | 29/50 [00:08<00:05, 3.69it/s] 60%|██████ | 30/50 [00:08<00:05, 3.69it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.69it/s] 64%|██████▍ | 32/50 [00:09<00:04, 3.69it/s] 66%|██████▌ | 33/50 [00:09<00:04, 3.69it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.69it/s] 70%|███████ | 35/50 [00:10<00:04, 3.68it/s] 72%|███████▏ | 36/50 [00:10<00:03, 3.68it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.69it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.68it/s] 78%|███████▊ | 39/50 [00:11<00:02, 3.68it/s] 80%|████████ | 40/50 [00:11<00:02, 3.68it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.68it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.68it/s] 86%|████████▌ | 43/50 [00:12<00:01, 3.68it/s] 88%|████████▊ | 44/50 [00:12<00:01, 3.68it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.68it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.68it/s] 94%|█████████▍| 47/50 [00:13<00:00, 3.68it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.68it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.68it/s] 100%|██████████| 50/50 [00:14<00:00, 3.68it/s] 100%|██████████| 50/50 [00:14<00:00, 3.55it/s]
Prediction
alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802bID6eioabtbdzhv3nqis4ki3w4nmiStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- a photo of a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel
- refine
- no_refiner
- lora_url
- https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar
- scheduler
- K_EULER
- lora_scale
- 0.8
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b", { input: { seed: 100, width: 1024, height: 1024, prompt: "a photo of a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", refine: "no_refiner", lora_url: "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", scheduler: "K_EULER", lora_scale: 0.8, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-10T16:14:33.646873Z", "created_at": "2023-09-10T16:13:14.448537Z", "data_removed": false, "error": null, "id": "6eioabtbdzhv3nqis4ki3w4nmi", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://storage.googleapis.com/replicate-files/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 1.1940476894378662\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 2.684950351715088\nPrompt: a photo of <s0><s1> leather bag on the table with lights from the top in a luxury suite of hotel\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:01<00:51, 1.05s/it]\n 4%|▍ | 2/50 [00:01<00:28, 1.69it/s]\n 6%|▌ | 3/50 [00:01<00:20, 2.25it/s]\n 8%|▊ | 4/50 [00:01<00:17, 2.66it/s]\n 10%|█ | 5/50 [00:02<00:15, 2.96it/s]\n 12%|█▏ | 6/50 [00:02<00:13, 3.17it/s]\n 14%|█▍ | 7/50 [00:02<00:12, 3.32it/s]\n 16%|█▌ | 8/50 [00:02<00:12, 3.43it/s]\n 18%|█▊ | 9/50 [00:03<00:11, 3.51it/s]\n 20%|██ | 10/50 [00:03<00:11, 3.57it/s]\n 22%|██▏ | 11/50 [00:03<00:10, 3.61it/s]\n 24%|██▍ | 12/50 [00:04<00:10, 3.64it/s]\n 26%|██▌ | 13/50 [00:04<00:10, 3.66it/s]\n 28%|██▊ | 14/50 [00:04<00:09, 3.67it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.68it/s]\n 32%|███▏ | 16/50 [00:05<00:09, 3.68it/s]\n 34%|███▍ | 17/50 [00:05<00:08, 3.69it/s]\n 36%|███▌ | 18/50 [00:05<00:08, 3.69it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.69it/s]\n 40%|████ | 20/50 [00:06<00:08, 3.70it/s]\n 42%|████▏ | 21/50 [00:06<00:07, 3.70it/s]\n 44%|████▍ | 22/50 [00:06<00:07, 3.70it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.70it/s]\n 48%|████▊ | 24/50 [00:07<00:07, 3.70it/s]\n 50%|█████ | 25/50 [00:07<00:06, 3.70it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s]\n 54%|█████▍ | 27/50 [00:08<00:06, 3.70it/s]\n 56%|█████▌ | 28/50 [00:08<00:05, 3.70it/s]\n 58%|█████▊ | 29/50 [00:08<00:05, 3.70it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.70it/s]\n 62%|██████▏ | 31/50 [00:09<00:05, 3.70it/s]\n 64%|██████▍ | 32/50 [00:09<00:04, 3.70it/s]\n 66%|██████▌ | 33/50 [00:09<00:04, 3.70it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s]\n 70%|███████ | 35/50 [00:10<00:04, 3.70it/s]\n 72%|███████▏ | 36/50 [00:10<00:03, 3.70it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.69it/s]\n 76%|███████▌ | 38/50 [00:11<00:03, 3.70it/s]\n 78%|███████▊ | 39/50 [00:11<00:02, 3.70it/s]\n 80%|████████ | 40/50 [00:11<00:02, 3.69it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.69it/s]\n 84%|████████▍ | 42/50 [00:12<00:02, 3.68it/s]\n 86%|████████▌ | 43/50 [00:12<00:01, 3.69it/s]\n 88%|████████▊ | 44/50 [00:12<00:01, 3.68it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.68it/s]\n 92%|█████████▏| 46/50 [00:13<00:01, 3.68it/s]\n 94%|█████████▍| 47/50 [00:13<00:00, 3.68it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.68it/s]\n 98%|█████████▊| 49/50 [00:14<00:00, 3.68it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.68it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.49it/s]", "metrics": { "predict_time": 34.114614, "total_time": 79.198336 }, "output": [ "https://replicate.delivery/pbxt/epUbimTe4fF99pnffVFkXdzpjLdk3eumcTJaPKfeTmQ6p15iRA/out-0.png" ], "started_at": "2023-09-10T16:13:59.532259Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/6eioabtbdzhv3nqis4ki3w4nmi", "cancel": "https://api.replicate.com/v1/predictions/6eioabtbdzhv3nqis4ki3w4nmi/cancel" }, "version": "3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b" }
Generated inUsing seed: 100 downloading url: https://storage.googleapis.com/replicate-files/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar downloading to: ./trained-model downloading took: 1.1940476894378662 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 2.684950351715088 Prompt: a photo of <s0><s1> leather bag on the table with lights from the top in a luxury suite of hotel txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:01<00:51, 1.05s/it] 4%|▍ | 2/50 [00:01<00:28, 1.69it/s] 6%|▌ | 3/50 [00:01<00:20, 2.25it/s] 8%|▊ | 4/50 [00:01<00:17, 2.66it/s] 10%|█ | 5/50 [00:02<00:15, 2.96it/s] 12%|█▏ | 6/50 [00:02<00:13, 3.17it/s] 14%|█▍ | 7/50 [00:02<00:12, 3.32it/s] 16%|█▌ | 8/50 [00:02<00:12, 3.43it/s] 18%|█▊ | 9/50 [00:03<00:11, 3.51it/s] 20%|██ | 10/50 [00:03<00:11, 3.57it/s] 22%|██▏ | 11/50 [00:03<00:10, 3.61it/s] 24%|██▍ | 12/50 [00:04<00:10, 3.64it/s] 26%|██▌ | 13/50 [00:04<00:10, 3.66it/s] 28%|██▊ | 14/50 [00:04<00:09, 3.67it/s] 30%|███ | 15/50 [00:04<00:09, 3.68it/s] 32%|███▏ | 16/50 [00:05<00:09, 3.68it/s] 34%|███▍ | 17/50 [00:05<00:08, 3.69it/s] 36%|███▌ | 18/50 [00:05<00:08, 3.69it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.69it/s] 40%|████ | 20/50 [00:06<00:08, 3.70it/s] 42%|████▏ | 21/50 [00:06<00:07, 3.70it/s] 44%|████▍ | 22/50 [00:06<00:07, 3.70it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.70it/s] 48%|████▊ | 24/50 [00:07<00:07, 3.70it/s] 50%|█████ | 25/50 [00:07<00:06, 3.70it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s] 54%|█████▍ | 27/50 [00:08<00:06, 3.70it/s] 56%|█████▌ | 28/50 [00:08<00:05, 3.70it/s] 58%|█████▊ | 29/50 [00:08<00:05, 3.70it/s] 60%|██████ | 30/50 [00:08<00:05, 3.70it/s] 62%|██████▏ | 31/50 [00:09<00:05, 3.70it/s] 64%|██████▍ | 32/50 [00:09<00:04, 3.70it/s] 66%|██████▌ | 33/50 [00:09<00:04, 3.70it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s] 70%|███████ | 35/50 [00:10<00:04, 3.70it/s] 72%|███████▏ | 36/50 [00:10<00:03, 3.70it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.69it/s] 76%|███████▌ | 38/50 [00:11<00:03, 3.70it/s] 78%|███████▊ | 39/50 [00:11<00:02, 3.70it/s] 80%|████████ | 40/50 [00:11<00:02, 3.69it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.69it/s] 84%|████████▍ | 42/50 [00:12<00:02, 3.68it/s] 86%|████████▌ | 43/50 [00:12<00:01, 3.69it/s] 88%|████████▊ | 44/50 [00:12<00:01, 3.68it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.68it/s] 92%|█████████▏| 46/50 [00:13<00:01, 3.68it/s] 94%|█████████▍| 47/50 [00:13<00:00, 3.68it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.68it/s] 98%|█████████▊| 49/50 [00:14<00:00, 3.68it/s] 100%|██████████| 50/50 [00:14<00:00, 3.68it/s] 100%|██████████| 50/50 [00:14<00:00, 3.49it/s]
Prediction
alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802bIDrywpxddbug75b26bi2mwywajhuStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- a realistic photo of woman is taking a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel
- refine
- no_refiner
- lora_url
- https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar
- scheduler
- K_EULER
- lora_scale
- 0.8
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "a realistic photo of woman is taking a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b", { input: { seed: 100, width: 1024, height: 1024, prompt: "a realistic photo of woman is taking a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", refine: "no_refiner", lora_url: "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", scheduler: "K_EULER", lora_scale: 0.8, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "a realistic photo of woman is taking a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a realistic photo of woman is taking a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-10T16:17:51.821486Z", "created_at": "2023-09-10T16:17:34.620678Z", "data_removed": false, "error": null, "id": "rywpxddbug75b26bi2mwywajhu", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a realistic photo of woman is taking a9s8udh leather bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://storage.googleapis.com/replicate-files/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 1.2711408138275146\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 2.309380054473877\nPrompt: a realistic photo of woman is taking <s0><s1> leather bag on the table with lights from the top in a luxury suite of hotel\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.71it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.70it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.70it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.70it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.70it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.70it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.70it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.70it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.70it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.70it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s]\n 26%|██▌ | 13/50 [00:03<00:10, 3.70it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.69it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.69it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.69it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.69it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.69it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.69it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.69it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.69it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.68it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.68it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.68it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.68it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.68it/s]\n 56%|█████▌ | 28/50 [00:07<00:05, 3.68it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.68it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.68it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.68it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.68it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.68it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.68it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.68it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.68it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.68it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.67it/s]\n 78%|███████▊ | 39/50 [00:10<00:02, 3.67it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.67it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.67it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.67it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.67it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.67it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.67it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.67it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.67it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.67it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.67it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.67it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.68it/s]", "metrics": { "predict_time": 17.30064, "total_time": 17.200808 }, "output": [ "https://replicate.delivery/pbxt/LeMYmtdGWhQdLaHQi4ucGjOgMO1YwfYQ5oNE3lfVfJ1eFPXMC/out-0.png" ], "started_at": "2023-09-10T16:17:34.520846Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rywpxddbug75b26bi2mwywajhu", "cancel": "https://api.replicate.com/v1/predictions/rywpxddbug75b26bi2mwywajhu/cancel" }, "version": "3cfc7ab867608e55c8d527101a669612993901395ecf1cfbe50af8c0977a802b" }
Generated inUsing seed: 100 downloading url: https://storage.googleapis.com/replicate-files/mkM34Cwln15rPJdaKUlHCuwe9DofzxihZ0vlTT26NUzfBZEjA/trained_model.tar downloading to: ./trained-model downloading took: 1.2711408138275146 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 2.309380054473877 Prompt: a realistic photo of woman is taking <s0><s1> leather bag on the table with lights from the top in a luxury suite of hotel txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.71it/s] 4%|▍ | 2/50 [00:00<00:12, 3.70it/s] 6%|▌ | 3/50 [00:00<00:12, 3.70it/s] 8%|▊ | 4/50 [00:01<00:12, 3.70it/s] 10%|█ | 5/50 [00:01<00:12, 3.70it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.70it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.70it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.70it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.70it/s] 20%|██ | 10/50 [00:02<00:10, 3.70it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.70it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.70it/s] 26%|██▌ | 13/50 [00:03<00:10, 3.70it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.70it/s] 30%|███ | 15/50 [00:04<00:09, 3.69it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.69it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.69it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.69it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.69it/s] 40%|████ | 20/50 [00:05<00:08, 3.69it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.69it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.69it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.68it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.68it/s] 50%|█████ | 25/50 [00:06<00:06, 3.68it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.68it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.68it/s] 56%|█████▌ | 28/50 [00:07<00:05, 3.68it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.68it/s] 60%|██████ | 30/50 [00:08<00:05, 3.68it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.68it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.68it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.68it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.68it/s] 70%|███████ | 35/50 [00:09<00:04, 3.68it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.68it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.68it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.67it/s] 78%|███████▊ | 39/50 [00:10<00:02, 3.67it/s] 80%|████████ | 40/50 [00:10<00:02, 3.67it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.67it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.67it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.67it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.67it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.67it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.67it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.67it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.67it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.67it/s] 100%|██████████| 50/50 [00:13<00:00, 3.67it/s] 100%|██████████| 50/50 [00:13<00:00, 3.68it/s]
Prediction
alexgenovese/sdxl-lora:c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155ID7rqnz7lbnu4m2smi23uyzhr7imStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- one violet bag iusdd on the table with lights from the top in a luxury suite of hotel
- refine
- no_refiner
- lora_url
- https://replicate.delivery/pbxt/O43tZhSPg4aHB5BcwOf9YvRNyEbB5umqVvDpYVXVosXL4jxIA/trained_model.tar
- scheduler
- K_EULER
- lora_scale
- 0.8
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/O43tZhSPg4aHB5BcwOf9YvRNyEbB5umqVvDpYVXVosXL4jxIA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155", { input: { seed: 100, width: 1024, height: 1024, prompt: "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", refine: "no_refiner", lora_url: "https://replicate.delivery/pbxt/O43tZhSPg4aHB5BcwOf9YvRNyEbB5umqVvDpYVXVosXL4jxIA/trained_model.tar", scheduler: "K_EULER", lora_scale: 0.8, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/O43tZhSPg4aHB5BcwOf9YvRNyEbB5umqVvDpYVXVosXL4jxIA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/O43tZhSPg4aHB5BcwOf9YvRNyEbB5umqVvDpYVXVosXL4jxIA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-11T08:07:25.497431Z", "created_at": "2023-09-11T08:05:23.698568Z", "data_removed": false, "error": null, "id": "7rqnz7lbnu4m2smi23uyzhr7im", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/O43tZhSPg4aHB5BcwOf9YvRNyEbB5umqVvDpYVXVosXL4jxIA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://storage.googleapis.com/replicate-files/O43tZhSPg4aHB5BcwOf9YvRNyEbB5umqVvDpYVXVosXL4jxIA/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 1.1169369220733643\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 2.689120292663574\nPrompt: one violet bag <s0><s1> on the table with lights from the top in a luxury suite of hotel\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:40, 1.20it/s]\n 4%|▍ | 2/50 [00:01<00:24, 1.99it/s]\n 6%|▌ | 3/50 [00:01<00:18, 2.53it/s]\n 8%|▊ | 4/50 [00:01<00:15, 2.89it/s]\n 10%|█ | 5/50 [00:01<00:14, 3.13it/s]\n 12%|█▏ | 6/50 [00:02<00:13, 3.31it/s]\n 14%|█▍ | 7/50 [00:02<00:12, 3.42it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.50it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.56it/s]\n 20%|██ | 10/50 [00:03<00:11, 3.60it/s]\n 22%|██▏ | 11/50 [00:03<00:10, 3.63it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.64it/s]\n 26%|██▌ | 13/50 [00:04<00:10, 3.66it/s]\n 28%|██▊ | 14/50 [00:04<00:09, 3.67it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.67it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.68it/s]\n 34%|███▍ | 17/50 [00:05<00:08, 3.68it/s]\n 36%|███▌ | 18/50 [00:05<00:08, 3.68it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.68it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.68it/s]\n 42%|████▏ | 21/50 [00:06<00:07, 3.67it/s]\n 44%|████▍ | 22/50 [00:06<00:07, 3.67it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.67it/s]\n 48%|████▊ | 24/50 [00:07<00:07, 3.67it/s]\n 50%|█████ | 25/50 [00:07<00:06, 3.67it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.67it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.67it/s]\n 56%|█████▌ | 28/50 [00:08<00:05, 3.67it/s]\n 58%|█████▊ | 29/50 [00:08<00:05, 3.67it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.67it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.67it/s]\n 64%|██████▍ | 32/50 [00:09<00:04, 3.67it/s]\n 66%|██████▌ | 33/50 [00:09<00:04, 3.67it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.67it/s]\n 70%|███████ | 35/50 [00:10<00:04, 3.67it/s]\n 72%|███████▏ | 36/50 [00:10<00:03, 3.67it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.67it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.67it/s]\n 78%|███████▊ | 39/50 [00:11<00:03, 3.67it/s]\n 80%|████████ | 40/50 [00:11<00:02, 3.66it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.67it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.67it/s]\n 86%|████████▌ | 43/50 [00:12<00:01, 3.66it/s]\n 88%|████████▊ | 44/50 [00:12<00:01, 3.66it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.67it/s]\n 92%|█████████▏| 46/50 [00:13<00:01, 3.66it/s]\n 94%|█████████▍| 47/50 [00:13<00:00, 3.66it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.66it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.66it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.66it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.53it/s]", "metrics": { "predict_time": 18.894009, "total_time": 121.798863 }, "output": [ "https://pbxt.replicate.delivery/EtdjtPuB1vbgI55aN7OmFIMsNy7KoP2fLEF0eUfrTTg6lPGjA/out-0.png" ], "started_at": "2023-09-11T08:07:06.603422Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7rqnz7lbnu4m2smi23uyzhr7im", "cancel": "https://api.replicate.com/v1/predictions/7rqnz7lbnu4m2smi23uyzhr7im/cancel" }, "version": "c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155" }
Generated inUsing seed: 100 downloading url: https://storage.googleapis.com/replicate-files/O43tZhSPg4aHB5BcwOf9YvRNyEbB5umqVvDpYVXVosXL4jxIA/trained_model.tar downloading to: ./trained-model downloading took: 1.1169369220733643 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 2.689120292663574 Prompt: one violet bag <s0><s1> on the table with lights from the top in a luxury suite of hotel txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:40, 1.20it/s] 4%|▍ | 2/50 [00:01<00:24, 1.99it/s] 6%|▌ | 3/50 [00:01<00:18, 2.53it/s] 8%|▊ | 4/50 [00:01<00:15, 2.89it/s] 10%|█ | 5/50 [00:01<00:14, 3.13it/s] 12%|█▏ | 6/50 [00:02<00:13, 3.31it/s] 14%|█▍ | 7/50 [00:02<00:12, 3.42it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.50it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.56it/s] 20%|██ | 10/50 [00:03<00:11, 3.60it/s] 22%|██▏ | 11/50 [00:03<00:10, 3.63it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.64it/s] 26%|██▌ | 13/50 [00:04<00:10, 3.66it/s] 28%|██▊ | 14/50 [00:04<00:09, 3.67it/s] 30%|███ | 15/50 [00:04<00:09, 3.67it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.68it/s] 34%|███▍ | 17/50 [00:05<00:08, 3.68it/s] 36%|███▌ | 18/50 [00:05<00:08, 3.68it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.68it/s] 40%|████ | 20/50 [00:05<00:08, 3.68it/s] 42%|████▏ | 21/50 [00:06<00:07, 3.67it/s] 44%|████▍ | 22/50 [00:06<00:07, 3.67it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.67it/s] 48%|████▊ | 24/50 [00:07<00:07, 3.67it/s] 50%|█████ | 25/50 [00:07<00:06, 3.67it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.67it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.67it/s] 56%|█████▌ | 28/50 [00:08<00:05, 3.67it/s] 58%|█████▊ | 29/50 [00:08<00:05, 3.67it/s] 60%|██████ | 30/50 [00:08<00:05, 3.67it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.67it/s] 64%|██████▍ | 32/50 [00:09<00:04, 3.67it/s] 66%|██████▌ | 33/50 [00:09<00:04, 3.67it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.67it/s] 70%|███████ | 35/50 [00:10<00:04, 3.67it/s] 72%|███████▏ | 36/50 [00:10<00:03, 3.67it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.67it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.67it/s] 78%|███████▊ | 39/50 [00:11<00:03, 3.67it/s] 80%|████████ | 40/50 [00:11<00:02, 3.66it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.67it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.67it/s] 86%|████████▌ | 43/50 [00:12<00:01, 3.66it/s] 88%|████████▊ | 44/50 [00:12<00:01, 3.66it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.67it/s] 92%|█████████▏| 46/50 [00:13<00:01, 3.66it/s] 94%|█████████▍| 47/50 [00:13<00:00, 3.66it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.66it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.66it/s] 100%|██████████| 50/50 [00:14<00:00, 3.66it/s] 100%|██████████| 50/50 [00:14<00:00, 3.53it/s]
Prediction
alexgenovese/sdxl-lora:c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155IDhg2rh5tblajdogd3hp3eyhgxxeStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- one violet bag iusdd on the table with lights from the top in a luxury suite of hotel
- refine
- no_refiner
- lora_url
- https://replicate.delivery/pbxt/slnKdsy8GBZtO9pKGgOp7WQJZXu3EWvldBHTrj9VU4YQGyYE/trained_model.tar
- scheduler
- K_EULER
- lora_scale
- 0.8
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/slnKdsy8GBZtO9pKGgOp7WQJZXu3EWvldBHTrj9VU4YQGyYE/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155", { input: { seed: 100, width: 1024, height: 1024, prompt: "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", refine: "no_refiner", lora_url: "https://replicate.delivery/pbxt/slnKdsy8GBZtO9pKGgOp7WQJZXu3EWvldBHTrj9VU4YQGyYE/trained_model.tar", scheduler: "K_EULER", lora_scale: 0.8, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/slnKdsy8GBZtO9pKGgOp7WQJZXu3EWvldBHTrj9VU4YQGyYE/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/slnKdsy8GBZtO9pKGgOp7WQJZXu3EWvldBHTrj9VU4YQGyYE/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-11T08:51:40.233430Z", "created_at": "2023-09-11T08:49:46.232996Z", "data_removed": false, "error": null, "id": "hg2rh5tblajdogd3hp3eyhgxxe", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet bag iusdd on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://replicate.delivery/pbxt/slnKdsy8GBZtO9pKGgOp7WQJZXu3EWvldBHTrj9VU4YQGyYE/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://storage.googleapis.com/replicate-files/slnKdsy8GBZtO9pKGgOp7WQJZXu3EWvldBHTrj9VU4YQGyYE/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 1.1702654361724854\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 2.6364376544952393\nPrompt: one violet bag <s0><s1> on the table with lights from the top in a luxury suite of hotel\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:40, 1.20it/s]\n 4%|▍ | 2/50 [00:01<00:24, 1.99it/s]\n 6%|▌ | 3/50 [00:01<00:18, 2.52it/s]\n 8%|▊ | 4/50 [00:01<00:15, 2.88it/s]\n 10%|█ | 5/50 [00:01<00:14, 3.13it/s]\n 12%|█▏ | 6/50 [00:02<00:13, 3.31it/s]\n 14%|█▍ | 7/50 [00:02<00:12, 3.43it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.51it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.57it/s]\n 20%|██ | 10/50 [00:03<00:11, 3.61it/s]\n 22%|██▏ | 11/50 [00:03<00:10, 3.63it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.65it/s]\n 26%|██▌ | 13/50 [00:04<00:10, 3.67it/s]\n 28%|██▊ | 14/50 [00:04<00:09, 3.68it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.68it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.69it/s]\n 34%|███▍ | 17/50 [00:05<00:08, 3.69it/s]\n 36%|███▌ | 18/50 [00:05<00:08, 3.69it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.69it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.69it/s]\n 42%|████▏ | 21/50 [00:06<00:07, 3.69it/s]\n 44%|████▍ | 22/50 [00:06<00:07, 3.69it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.69it/s]\n 48%|████▊ | 24/50 [00:07<00:07, 3.68it/s]\n 50%|█████ | 25/50 [00:07<00:06, 3.69it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.69it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.69it/s]\n 56%|█████▌ | 28/50 [00:08<00:05, 3.69it/s]\n 58%|█████▊ | 29/50 [00:08<00:05, 3.69it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.68it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.68it/s]\n 64%|██████▍ | 32/50 [00:09<00:04, 3.68it/s]\n 66%|██████▌ | 33/50 [00:09<00:04, 3.68it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.68it/s]\n 70%|███████ | 35/50 [00:10<00:04, 3.68it/s]\n 72%|███████▏ | 36/50 [00:10<00:03, 3.68it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.68it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.68it/s]\n 78%|███████▊ | 39/50 [00:11<00:02, 3.68it/s]\n 80%|████████ | 40/50 [00:11<00:02, 3.68it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.68it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.68it/s]\n 86%|████████▌ | 43/50 [00:12<00:01, 3.68it/s]\n 88%|████████▊ | 44/50 [00:12<00:01, 3.68it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.68it/s]\n 92%|█████████▏| 46/50 [00:13<00:01, 3.68it/s]\n 94%|█████████▍| 47/50 [00:13<00:00, 3.68it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.69it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.69it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.54it/s]", "metrics": { "predict_time": 18.944447, "total_time": 114.000434 }, "output": [ "https://pbxt.replicate.delivery/7UwbNiWFUzb6NBkYXspZn7e0LtWgUqkC061F6ZN0mNpNOkxIA/out-0.png" ], "started_at": "2023-09-11T08:51:21.288983Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/hg2rh5tblajdogd3hp3eyhgxxe", "cancel": "https://api.replicate.com/v1/predictions/hg2rh5tblajdogd3hp3eyhgxxe/cancel" }, "version": "c3f1a4d78f9233c47e65e79abbb0caf297927d9c5058b232877b0377bf25b155" }
Generated inUsing seed: 100 downloading url: https://storage.googleapis.com/replicate-files/slnKdsy8GBZtO9pKGgOp7WQJZXu3EWvldBHTrj9VU4YQGyYE/trained_model.tar downloading to: ./trained-model downloading took: 1.1702654361724854 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 2.6364376544952393 Prompt: one violet bag <s0><s1> on the table with lights from the top in a luxury suite of hotel txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:40, 1.20it/s] 4%|▍ | 2/50 [00:01<00:24, 1.99it/s] 6%|▌ | 3/50 [00:01<00:18, 2.52it/s] 8%|▊ | 4/50 [00:01<00:15, 2.88it/s] 10%|█ | 5/50 [00:01<00:14, 3.13it/s] 12%|█▏ | 6/50 [00:02<00:13, 3.31it/s] 14%|█▍ | 7/50 [00:02<00:12, 3.43it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.51it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.57it/s] 20%|██ | 10/50 [00:03<00:11, 3.61it/s] 22%|██▏ | 11/50 [00:03<00:10, 3.63it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.65it/s] 26%|██▌ | 13/50 [00:04<00:10, 3.67it/s] 28%|██▊ | 14/50 [00:04<00:09, 3.68it/s] 30%|███ | 15/50 [00:04<00:09, 3.68it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.69it/s] 34%|███▍ | 17/50 [00:05<00:08, 3.69it/s] 36%|███▌ | 18/50 [00:05<00:08, 3.69it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.69it/s] 40%|████ | 20/50 [00:05<00:08, 3.69it/s] 42%|████▏ | 21/50 [00:06<00:07, 3.69it/s] 44%|████▍ | 22/50 [00:06<00:07, 3.69it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.69it/s] 48%|████▊ | 24/50 [00:07<00:07, 3.68it/s] 50%|█████ | 25/50 [00:07<00:06, 3.69it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.69it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.69it/s] 56%|█████▌ | 28/50 [00:08<00:05, 3.69it/s] 58%|█████▊ | 29/50 [00:08<00:05, 3.69it/s] 60%|██████ | 30/50 [00:08<00:05, 3.68it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.68it/s] 64%|██████▍ | 32/50 [00:09<00:04, 3.68it/s] 66%|██████▌ | 33/50 [00:09<00:04, 3.68it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.68it/s] 70%|███████ | 35/50 [00:10<00:04, 3.68it/s] 72%|███████▏ | 36/50 [00:10<00:03, 3.68it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.68it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.68it/s] 78%|███████▊ | 39/50 [00:11<00:02, 3.68it/s] 80%|████████ | 40/50 [00:11<00:02, 3.68it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.68it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.68it/s] 86%|████████▌ | 43/50 [00:12<00:01, 3.68it/s] 88%|████████▊ | 44/50 [00:12<00:01, 3.68it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.68it/s] 92%|█████████▏| 46/50 [00:13<00:01, 3.68it/s] 94%|█████████▍| 47/50 [00:13<00:00, 3.68it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.69it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.69it/s] 100%|██████████| 50/50 [00:14<00:00, 3.69it/s] 100%|██████████| 50/50 [00:14<00:00, 3.54it/s]
Prediction
alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8IDyvjf57tbb76k7a4qvipsqimemaStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- one violet siduhc bag on the table with lights from the top in a luxury suite of hotel
- refine
- no_refiner
- lora_url
- https://pbxt.replicate.delivery/tCAQxGyodfVgEaeLAf8AwIr6KjjvbO1osinW8UUTsewug0eMC/trained_model.tar
- scheduler
- K_EULER
- lora_scale
- 0.8
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet siduhc bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/tCAQxGyodfVgEaeLAf8AwIr6KjjvbO1osinW8UUTsewug0eMC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", { input: { seed: 100, width: 1024, height: 1024, prompt: "one violet siduhc bag on the table with lights from the top in a luxury suite of hotel", refine: "no_refiner", lora_url: "https://pbxt.replicate.delivery/tCAQxGyodfVgEaeLAf8AwIr6KjjvbO1osinW8UUTsewug0eMC/trained_model.tar", scheduler: "K_EULER", lora_scale: 0.8, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet siduhc bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/tCAQxGyodfVgEaeLAf8AwIr6KjjvbO1osinW8UUTsewug0eMC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet siduhc bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/tCAQxGyodfVgEaeLAf8AwIr6KjjvbO1osinW8UUTsewug0eMC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-25T05:55:58.291613Z", "created_at": "2023-09-25T05:54:56.322713Z", "data_removed": false, "error": null, "id": "yvjf57tbb76k7a4qvipsqimema", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "one violet siduhc bag on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/tCAQxGyodfVgEaeLAf8AwIr6KjjvbO1osinW8UUTsewug0eMC/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://pbxt.replicate.delivery/tCAQxGyodfVgEaeLAf8AwIr6KjjvbO1osinW8UUTsewug0eMC/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 0.7789685726165771\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 2.440542221069336\nPrompt: one violet <s0><s1> bag on the table with lights from the top in a luxury suite of hotel\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:01<00:53, 1.10s/it]\n 4%|▍ | 2/50 [00:01<00:29, 1.64it/s]\n 6%|▌ | 3/50 [00:01<00:21, 2.19it/s]\n 8%|▊ | 4/50 [00:01<00:17, 2.61it/s]\n 10%|█ | 5/50 [00:02<00:15, 2.92it/s]\n 12%|█▏ | 6/50 [00:02<00:14, 3.14it/s]\n 14%|█▍ | 7/50 [00:02<00:13, 3.30it/s]\n 16%|█▌ | 8/50 [00:02<00:12, 3.41it/s]\n 18%|█▊ | 9/50 [00:03<00:11, 3.49it/s]\n 20%|██ | 10/50 [00:03<00:11, 3.54it/s]\n 22%|██▏ | 11/50 [00:03<00:10, 3.58it/s]\n 24%|██▍ | 12/50 [00:04<00:10, 3.61it/s]\n 26%|██▌ | 13/50 [00:04<00:10, 3.63it/s]\n 28%|██▊ | 14/50 [00:04<00:09, 3.64it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.65it/s]\n 32%|███▏ | 16/50 [00:05<00:09, 3.66it/s]\n 34%|███▍ | 17/50 [00:05<00:09, 3.66it/s]\n 36%|███▌ | 18/50 [00:05<00:08, 3.67it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.67it/s]\n 40%|████ | 20/50 [00:06<00:08, 3.67it/s]\n 42%|████▏ | 21/50 [00:06<00:07, 3.67it/s]\n 44%|████▍ | 22/50 [00:06<00:07, 3.67it/s]\n 46%|████▌ | 23/50 [00:07<00:07, 3.67it/s]\n 48%|████▊ | 24/50 [00:07<00:07, 3.66it/s]\n 50%|█████ | 25/50 [00:07<00:06, 3.66it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.66it/s]\n 54%|█████▍ | 27/50 [00:08<00:06, 3.66it/s]\n 56%|█████▌ | 28/50 [00:08<00:06, 3.66it/s]\n 58%|█████▊ | 29/50 [00:08<00:05, 3.66it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.66it/s]\n 62%|██████▏ | 31/50 [00:09<00:05, 3.66it/s]\n 64%|██████▍ | 32/50 [00:09<00:04, 3.66it/s]\n 66%|██████▌ | 33/50 [00:09<00:04, 3.66it/s]\n 68%|██████▊ | 34/50 [00:10<00:04, 3.66it/s]\n 70%|███████ | 35/50 [00:10<00:04, 3.66it/s]\n 72%|███████▏ | 36/50 [00:10<00:03, 3.66it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.66it/s]\n 76%|███████▌ | 38/50 [00:11<00:03, 3.66it/s]\n 78%|███████▊ | 39/50 [00:11<00:03, 3.66it/s]\n 80%|████████ | 40/50 [00:11<00:02, 3.66it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.66it/s]\n 84%|████████▍ | 42/50 [00:12<00:02, 3.66it/s]\n 86%|████████▌ | 43/50 [00:12<00:01, 3.66it/s]\n 88%|████████▊ | 44/50 [00:12<00:01, 3.66it/s]\n 90%|█████████ | 45/50 [00:13<00:01, 3.66it/s]\n 92%|█████████▏| 46/50 [00:13<00:01, 3.66it/s]\n 94%|█████████▍| 47/50 [00:13<00:00, 3.66it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.66it/s]\n 98%|█████████▊| 49/50 [00:14<00:00, 3.66it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.65it/s]\n100%|██████████| 50/50 [00:14<00:00, 3.46it/s]", "metrics": { "predict_time": 19.705148, "total_time": 61.9689 }, "output": [ "https://pbxt.replicate.delivery/h2UdU1L1Kh6lBl9SpTxdpbb9YCMOd0MYjQJtYcMyRpT7S7ZE/out-0.png" ], "started_at": "2023-09-25T05:55:38.586465Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/yvjf57tbb76k7a4qvipsqimema", "cancel": "https://api.replicate.com/v1/predictions/yvjf57tbb76k7a4qvipsqimema/cancel" }, "version": "46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8" }
Generated inUsing seed: 100 downloading url: https://pbxt.replicate.delivery/tCAQxGyodfVgEaeLAf8AwIr6KjjvbO1osinW8UUTsewug0eMC/trained_model.tar downloading to: ./trained-model downloading took: 0.7789685726165771 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 2.440542221069336 Prompt: one violet <s0><s1> bag on the table with lights from the top in a luxury suite of hotel txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:01<00:53, 1.10s/it] 4%|▍ | 2/50 [00:01<00:29, 1.64it/s] 6%|▌ | 3/50 [00:01<00:21, 2.19it/s] 8%|▊ | 4/50 [00:01<00:17, 2.61it/s] 10%|█ | 5/50 [00:02<00:15, 2.92it/s] 12%|█▏ | 6/50 [00:02<00:14, 3.14it/s] 14%|█▍ | 7/50 [00:02<00:13, 3.30it/s] 16%|█▌ | 8/50 [00:02<00:12, 3.41it/s] 18%|█▊ | 9/50 [00:03<00:11, 3.49it/s] 20%|██ | 10/50 [00:03<00:11, 3.54it/s] 22%|██▏ | 11/50 [00:03<00:10, 3.58it/s] 24%|██▍ | 12/50 [00:04<00:10, 3.61it/s] 26%|██▌ | 13/50 [00:04<00:10, 3.63it/s] 28%|██▊ | 14/50 [00:04<00:09, 3.64it/s] 30%|███ | 15/50 [00:04<00:09, 3.65it/s] 32%|███▏ | 16/50 [00:05<00:09, 3.66it/s] 34%|███▍ | 17/50 [00:05<00:09, 3.66it/s] 36%|███▌ | 18/50 [00:05<00:08, 3.67it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.67it/s] 40%|████ | 20/50 [00:06<00:08, 3.67it/s] 42%|████▏ | 21/50 [00:06<00:07, 3.67it/s] 44%|████▍ | 22/50 [00:06<00:07, 3.67it/s] 46%|████▌ | 23/50 [00:07<00:07, 3.67it/s] 48%|████▊ | 24/50 [00:07<00:07, 3.66it/s] 50%|█████ | 25/50 [00:07<00:06, 3.66it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.66it/s] 54%|█████▍ | 27/50 [00:08<00:06, 3.66it/s] 56%|█████▌ | 28/50 [00:08<00:06, 3.66it/s] 58%|█████▊ | 29/50 [00:08<00:05, 3.66it/s] 60%|██████ | 30/50 [00:08<00:05, 3.66it/s] 62%|██████▏ | 31/50 [00:09<00:05, 3.66it/s] 64%|██████▍ | 32/50 [00:09<00:04, 3.66it/s] 66%|██████▌ | 33/50 [00:09<00:04, 3.66it/s] 68%|██████▊ | 34/50 [00:10<00:04, 3.66it/s] 70%|███████ | 35/50 [00:10<00:04, 3.66it/s] 72%|███████▏ | 36/50 [00:10<00:03, 3.66it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.66it/s] 76%|███████▌ | 38/50 [00:11<00:03, 3.66it/s] 78%|███████▊ | 39/50 [00:11<00:03, 3.66it/s] 80%|████████ | 40/50 [00:11<00:02, 3.66it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.66it/s] 84%|████████▍ | 42/50 [00:12<00:02, 3.66it/s] 86%|████████▌ | 43/50 [00:12<00:01, 3.66it/s] 88%|████████▊ | 44/50 [00:12<00:01, 3.66it/s] 90%|█████████ | 45/50 [00:13<00:01, 3.66it/s] 92%|█████████▏| 46/50 [00:13<00:01, 3.66it/s] 94%|█████████▍| 47/50 [00:13<00:00, 3.66it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.66it/s] 98%|█████████▊| 49/50 [00:14<00:00, 3.66it/s] 100%|██████████| 50/50 [00:14<00:00, 3.65it/s] 100%|██████████| 50/50 [00:14<00:00, 3.46it/s]
Prediction
alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8IDenpe343beswxgid7r7lvfkuramStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- a photo of siduhc blazer on the table with lights from the top in a luxury suite of hotel
- refine
- no_refiner
- lora_url
- https://pbxt.replicate.delivery/EnE55SO5IuKlCpTWAyKpveolsXkaIGHNSkGNedspS8dGfzPjA/trained_model.tar
- scheduler
- KarrasDPM
- lora_scale
- 0.8
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of siduhc blazer on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/EnE55SO5IuKlCpTWAyKpveolsXkaIGHNSkGNedspS8dGfzPjA/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", { input: { seed: 100, width: 1024, height: 1024, prompt: "a photo of siduhc blazer on the table with lights from the top in a luxury suite of hotel", refine: "no_refiner", lora_url: "https://pbxt.replicate.delivery/EnE55SO5IuKlCpTWAyKpveolsXkaIGHNSkGNedspS8dGfzPjA/trained_model.tar", scheduler: "KarrasDPM", lora_scale: 0.8, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of siduhc blazer on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/EnE55SO5IuKlCpTWAyKpveolsXkaIGHNSkGNedspS8dGfzPjA/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of siduhc blazer on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/EnE55SO5IuKlCpTWAyKpveolsXkaIGHNSkGNedspS8dGfzPjA/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-25T20:33:41.500039Z", "created_at": "2023-09-25T20:31:29.484207Z", "data_removed": false, "error": null, "id": "enpe343beswxgid7r7lvfkuram", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of siduhc blazer on the table with lights from the top in a luxury suite of hotel", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/EnE55SO5IuKlCpTWAyKpveolsXkaIGHNSkGNedspS8dGfzPjA/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://pbxt.replicate.delivery/EnE55SO5IuKlCpTWAyKpveolsXkaIGHNSkGNedspS8dGfzPjA/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 1.3011274337768555\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 2.7354238033294678\nPrompt: a photo of <s0><s1> blazer on the table with lights from the top in a luxury suite of hotel\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:38, 1.28it/s]\n 4%|▍ | 2/50 [00:01<00:23, 2.08it/s]\n 6%|▌ | 3/50 [00:01<00:18, 2.60it/s]\n 8%|▊ | 4/50 [00:01<00:15, 2.95it/s]\n 10%|█ | 5/50 [00:01<00:14, 3.18it/s]\n 12%|█▏ | 6/50 [00:02<00:13, 3.34it/s]\n 14%|█▍ | 7/50 [00:02<00:12, 3.45it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.52it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.58it/s]\n 20%|██ | 10/50 [00:03<00:11, 3.61it/s]\n 22%|██▏ | 11/50 [00:03<00:10, 3.64it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.66it/s]\n 26%|██▌ | 13/50 [00:04<00:10, 3.67it/s]\n 28%|██▊ | 14/50 [00:04<00:09, 3.67it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.68it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.68it/s]\n 34%|███▍ | 17/50 [00:05<00:08, 3.68it/s]\n 36%|███▌ | 18/50 [00:05<00:08, 3.68it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.68it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.68it/s]\n 42%|████▏ | 21/50 [00:06<00:07, 3.68it/s]\n 44%|████▍ | 22/50 [00:06<00:07, 3.68it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.68it/s]\n 48%|████▊ | 24/50 [00:07<00:07, 3.68it/s]\n 50%|█████ | 25/50 [00:07<00:06, 3.68it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.67it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.67it/s]\n 56%|█████▌ | 28/50 [00:08<00:05, 3.67it/s]\n 58%|█████▊ | 29/50 [00:08<00:05, 3.67it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.67it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.67it/s]\n 64%|██████▍ | 32/50 [00:09<00:04, 3.67it/s]\n 66%|██████▌ | 33/50 [00:09<00:04, 3.67it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.67it/s]\n 70%|███████ | 35/50 [00:10<00:04, 3.67it/s]\n 72%|███████▏ | 36/50 [00:10<00:03, 3.67it/s]\n 74%|███████▍ | 37/50 [00:10<00:03, 3.67it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.67it/s]\n 78%|███████▊ | 39/50 [00:11<00:03, 3.67it/s]\n 80%|████████ | 40/50 [00:11<00:02, 3.67it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.67it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.67it/s]\n 86%|████████▌ | 43/50 [00:12<00:01, 3.66it/s]\n 88%|████████▊ | 44/50 [00:12<00:01, 3.66it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.66it/s]\n 92%|█████████▏| 46/50 [00:13<00:01, 3.66it/s]\n 94%|█████████▍| 47/50 [00:13<00:00, 3.66it/s]\n 96%|█████████▌| 48/50 [00:13<00:00, 3.66it/s]\n98%|█████████▊| 49/50 [00:13<00:00, 3.66it/s]\n98%|█████████▊| 49/50 [00:13<00:00, 3.54it/s]", "metrics": { "predict_time": 19.12802, "total_time": 132.015832 }, "output": [ "https://pbxt.replicate.delivery/UNWVrrQobA5eKCAyGciKFwzHnAPzJaiJhWH2fed0yhGJF0PjA/out-0.png" ], "started_at": "2023-09-25T20:33:22.372019Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/enpe343beswxgid7r7lvfkuram", "cancel": "https://api.replicate.com/v1/predictions/enpe343beswxgid7r7lvfkuram/cancel" }, "version": "46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8" }
Generated inUsing seed: 100 downloading url: https://pbxt.replicate.delivery/EnE55SO5IuKlCpTWAyKpveolsXkaIGHNSkGNedspS8dGfzPjA/trained_model.tar downloading to: ./trained-model downloading took: 1.3011274337768555 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 2.7354238033294678 Prompt: a photo of <s0><s1> blazer on the table with lights from the top in a luxury suite of hotel txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:38, 1.28it/s] 4%|▍ | 2/50 [00:01<00:23, 2.08it/s] 6%|▌ | 3/50 [00:01<00:18, 2.60it/s] 8%|▊ | 4/50 [00:01<00:15, 2.95it/s] 10%|█ | 5/50 [00:01<00:14, 3.18it/s] 12%|█▏ | 6/50 [00:02<00:13, 3.34it/s] 14%|█▍ | 7/50 [00:02<00:12, 3.45it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.52it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.58it/s] 20%|██ | 10/50 [00:03<00:11, 3.61it/s] 22%|██▏ | 11/50 [00:03<00:10, 3.64it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.66it/s] 26%|██▌ | 13/50 [00:04<00:10, 3.67it/s] 28%|██▊ | 14/50 [00:04<00:09, 3.67it/s] 30%|███ | 15/50 [00:04<00:09, 3.68it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.68it/s] 34%|███▍ | 17/50 [00:05<00:08, 3.68it/s] 36%|███▌ | 18/50 [00:05<00:08, 3.68it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.68it/s] 40%|████ | 20/50 [00:05<00:08, 3.68it/s] 42%|████▏ | 21/50 [00:06<00:07, 3.68it/s] 44%|████▍ | 22/50 [00:06<00:07, 3.68it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.68it/s] 48%|████▊ | 24/50 [00:07<00:07, 3.68it/s] 50%|█████ | 25/50 [00:07<00:06, 3.68it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.67it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.67it/s] 56%|█████▌ | 28/50 [00:08<00:05, 3.67it/s] 58%|█████▊ | 29/50 [00:08<00:05, 3.67it/s] 60%|██████ | 30/50 [00:08<00:05, 3.67it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.67it/s] 64%|██████▍ | 32/50 [00:09<00:04, 3.67it/s] 66%|██████▌ | 33/50 [00:09<00:04, 3.67it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.67it/s] 70%|███████ | 35/50 [00:10<00:04, 3.67it/s] 72%|███████▏ | 36/50 [00:10<00:03, 3.67it/s] 74%|███████▍ | 37/50 [00:10<00:03, 3.67it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.67it/s] 78%|███████▊ | 39/50 [00:11<00:03, 3.67it/s] 80%|████████ | 40/50 [00:11<00:02, 3.67it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.67it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.67it/s] 86%|████████▌ | 43/50 [00:12<00:01, 3.66it/s] 88%|████████▊ | 44/50 [00:12<00:01, 3.66it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.66it/s] 92%|█████████▏| 46/50 [00:13<00:01, 3.66it/s] 94%|█████████▍| 47/50 [00:13<00:00, 3.66it/s] 96%|█████████▌| 48/50 [00:13<00:00, 3.66it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.66it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.54it/s]
Prediction
alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8ID5pnnmcjbjdm4l54saetoa4t6tmStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- seed
- 100
- image
- null
- width
- 1024
- height
- 1024
- prompt
- a photo of ((siduhc bag)) on the table with lights from the top in a luxury suite of hotel
- refine
- expert_ensemble_refiner
- lora_url
- https://pbxt.replicate.delivery/2FpGwVx3mSbnOxgtQDO0h85Iee8fU8RYrqHzLLOMJ0ePe6DNC/trained_model.tar
- scheduler
- KarrasDPM
- lora_scale
- 1
- num_outputs
- 1
- refine_steps
- 20
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 80
{ "seed": 100, "image": null, "width": 1024, "height": 1024, "prompt": "a photo of ((siduhc bag)) on the table with lights from the top in a luxury suite of hotel", "refine": "expert_ensemble_refiner", "lora_url": "https://pbxt.replicate.delivery/2FpGwVx3mSbnOxgtQDO0h85Iee8fU8RYrqHzLLOMJ0ePe6DNC/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 1, "num_outputs": 1, "refine_steps": 20, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 80 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", { input: { seed: 100, width: 1024, height: 1024, prompt: "a photo of ((siduhc bag)) on the table with lights from the top in a luxury suite of hotel", refine: "expert_ensemble_refiner", lora_url: "https://pbxt.replicate.delivery/2FpGwVx3mSbnOxgtQDO0h85Iee8fU8RYrqHzLLOMJ0ePe6DNC/trained_model.tar", scheduler: "KarrasDPM", lora_scale: 1, num_outputs: 1, refine_steps: 20, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 80 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of ((siduhc bag)) on the table with lights from the top in a luxury suite of hotel", "refine": "expert_ensemble_refiner", "lora_url": "https://pbxt.replicate.delivery/2FpGwVx3mSbnOxgtQDO0h85Iee8fU8RYrqHzLLOMJ0ePe6DNC/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 1, "num_outputs": 1, "refine_steps": 20, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 80 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of ((siduhc bag)) on the table with lights from the top in a luxury suite of hotel", "refine": "expert_ensemble_refiner", "lora_url": "https://pbxt.replicate.delivery/2FpGwVx3mSbnOxgtQDO0h85Iee8fU8RYrqHzLLOMJ0ePe6DNC/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 1, "num_outputs": 1, "refine_steps": 20, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 80 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-27T15:38:03.641033Z", "created_at": "2023-09-27T15:37:47.052626Z", "data_removed": false, "error": null, "id": "5pnnmcjbjdm4l54saetoa4t6tm", "input": { "seed": 100, "image": null, "width": 1024, "height": 1024, "prompt": "a photo of ((siduhc bag)) on the table with lights from the top in a luxury suite of hotel", "refine": "expert_ensemble_refiner", "lora_url": "https://pbxt.replicate.delivery/2FpGwVx3mSbnOxgtQDO0h85Iee8fU8RYrqHzLLOMJ0ePe6DNC/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 1, "num_outputs": 1, "refine_steps": 20, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 80 }, "logs": "Using seed: 100\ndownloading url: https://pbxt.replicate.delivery/2FpGwVx3mSbnOxgtQDO0h85Iee8fU8RYrqHzLLOMJ0ePe6DNC/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 0.6798241138458252\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 2.031158924102783\nPrompt: a photo of ((<s0><s1> bag)) on the table with lights from the top in a luxury suite of hotel\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:10, 4.60it/s]\n 4%|▍ | 2/50 [00:00<00:10, 4.76it/s]\n 6%|▌ | 3/50 [00:00<00:09, 4.78it/s]\n 8%|▊ | 4/50 [00:00<00:09, 4.74it/s]\n 10%|█ | 5/50 [00:01<00:09, 4.77it/s]\n 12%|█▏ | 6/50 [00:01<00:09, 4.76it/s]\n 14%|█▍ | 7/50 [00:01<00:08, 4.78it/s]\n 16%|█▌ | 8/50 [00:01<00:08, 4.80it/s]\n 18%|█▊ | 9/50 [00:01<00:08, 4.78it/s]\n 20%|██ | 10/50 [00:02<00:08, 4.80it/s]\n 22%|██▏ | 11/50 [00:02<00:08, 4.80it/s]\n 24%|██▍ | 12/50 [00:02<00:07, 4.79it/s]\n 26%|██▌ | 13/50 [00:02<00:07, 4.80it/s]\n 28%|██▊ | 14/50 [00:02<00:07, 4.76it/s]\n 30%|███ | 15/50 [00:03<00:07, 4.80it/s]\n 32%|███▏ | 16/50 [00:03<00:07, 4.80it/s]\n 34%|███▍ | 17/50 [00:03<00:06, 4.82it/s]\n 36%|███▌ | 18/50 [00:03<00:06, 4.84it/s]\n 38%|███▊ | 19/50 [00:03<00:06, 4.86it/s]\n 40%|████ | 20/50 [00:04<00:06, 4.86it/s]\n 42%|████▏ | 21/50 [00:04<00:05, 4.85it/s]\n 44%|████▍ | 22/50 [00:04<00:05, 4.82it/s]\n 46%|████▌ | 23/50 [00:04<00:05, 4.82it/s]\n 48%|████▊ | 24/50 [00:05<00:05, 4.77it/s]\n 50%|█████ | 25/50 [00:05<00:05, 4.76it/s]\n 52%|█████▏ | 26/50 [00:05<00:04, 4.81it/s]\n 54%|█████▍ | 27/50 [00:05<00:04, 4.77it/s]\n 56%|█████▌ | 28/50 [00:05<00:04, 4.82it/s]\n 58%|█████▊ | 29/50 [00:06<00:04, 4.84it/s]\n 60%|██████ | 30/50 [00:06<00:04, 4.84it/s]\n 62%|██████▏ | 31/50 [00:06<00:03, 4.82it/s]\n 64%|██████▍ | 32/50 [00:06<00:03, 4.86it/s]\n 66%|██████▌ | 33/50 [00:06<00:03, 4.90it/s]\n 68%|██████▊ | 34/50 [00:07<00:03, 4.89it/s]\n 70%|███████ | 35/50 [00:07<00:03, 4.85it/s]\n 72%|███████▏ | 36/50 [00:07<00:02, 4.88it/s]\n 74%|███████▍ | 37/50 [00:07<00:02, 4.91it/s]\n 76%|███████▌ | 38/50 [00:07<00:02, 4.93it/s]\n 78%|███████▊ | 39/50 [00:08<00:02, 4.94it/s]\n 80%|████████ | 40/50 [00:08<00:02, 4.92it/s]\n 82%|████████▏ | 41/50 [00:08<00:01, 4.94it/s]\n 84%|████████▍ | 42/50 [00:08<00:01, 4.89it/s]\n 86%|████████▌ | 43/50 [00:08<00:01, 4.91it/s]\n 88%|████████▊ | 44/50 [00:09<00:01, 4.91it/s]\n 90%|█████████ | 45/50 [00:09<00:01, 4.79it/s]\n 92%|█████████▏| 46/50 [00:09<00:00, 4.81it/s]\n 94%|█████████▍| 47/50 [00:09<00:00, 4.79it/s]\n 96%|█████████▌| 48/50 [00:09<00:00, 4.81it/s]\n 98%|█████████▊| 49/50 [00:10<00:00, 4.86it/s]\n100%|██████████| 50/50 [00:10<00:00, 4.86it/s]\n100%|██████████| 50/50 [00:10<00:00, 4.83it/s]\n 0%| | 0/17 [00:00<?, ?it/s]\n 6%|▌ | 1/17 [00:00<00:02, 7.64it/s]\n 12%|█▏ | 2/17 [00:00<00:01, 7.71it/s]\n 18%|█▊ | 3/17 [00:00<00:01, 7.72it/s]\n 24%|██▎ | 4/17 [00:00<00:01, 7.73it/s]\n 29%|██▉ | 5/17 [00:00<00:01, 7.74it/s]\n 35%|███▌ | 6/17 [00:00<00:01, 7.74it/s]\n 41%|████ | 7/17 [00:00<00:01, 7.74it/s]\n 47%|████▋ | 8/17 [00:01<00:01, 7.73it/s]\n 53%|█████▎ | 9/17 [00:01<00:01, 7.74it/s]\n 59%|█████▉ | 10/17 [00:01<00:00, 7.75it/s]\n 65%|██████▍ | 11/17 [00:01<00:00, 7.75it/s]\n 71%|███████ | 12/17 [00:01<00:00, 7.74it/s]\n 76%|███████▋ | 13/17 [00:01<00:00, 7.75it/s]\n 82%|████████▏ | 14/17 [00:01<00:00, 7.74it/s]\n 88%|████████▊ | 15/17 [00:01<00:00, 7.74it/s]\n 94%|█████████▍| 16/17 [00:02<00:00, 7.74it/s]\n100%|██████████| 17/17 [00:02<00:00, 7.73it/s]\n100%|██████████| 17/17 [00:02<00:00, 7.73it/s]", "metrics": { "predict_time": 16.633033, "total_time": 16.588407 }, "output": [ "https://pbxt.replicate.delivery/7vEBK9wzavppFVEt6lr0NSPTe8SVTH4x2mcEebntfBeplfDNC/out-0.png" ], "started_at": "2023-09-27T15:37:47.008000Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/5pnnmcjbjdm4l54saetoa4t6tm", "cancel": "https://api.replicate.com/v1/predictions/5pnnmcjbjdm4l54saetoa4t6tm/cancel" }, "version": "46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8" }
Generated inUsing seed: 100 downloading url: https://pbxt.replicate.delivery/2FpGwVx3mSbnOxgtQDO0h85Iee8fU8RYrqHzLLOMJ0ePe6DNC/trained_model.tar downloading to: ./trained-model downloading took: 0.6798241138458252 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 2.031158924102783 Prompt: a photo of ((<s0><s1> bag)) on the table with lights from the top in a luxury suite of hotel txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:10, 4.60it/s] 4%|▍ | 2/50 [00:00<00:10, 4.76it/s] 6%|▌ | 3/50 [00:00<00:09, 4.78it/s] 8%|▊ | 4/50 [00:00<00:09, 4.74it/s] 10%|█ | 5/50 [00:01<00:09, 4.77it/s] 12%|█▏ | 6/50 [00:01<00:09, 4.76it/s] 14%|█▍ | 7/50 [00:01<00:08, 4.78it/s] 16%|█▌ | 8/50 [00:01<00:08, 4.80it/s] 18%|█▊ | 9/50 [00:01<00:08, 4.78it/s] 20%|██ | 10/50 [00:02<00:08, 4.80it/s] 22%|██▏ | 11/50 [00:02<00:08, 4.80it/s] 24%|██▍ | 12/50 [00:02<00:07, 4.79it/s] 26%|██▌ | 13/50 [00:02<00:07, 4.80it/s] 28%|██▊ | 14/50 [00:02<00:07, 4.76it/s] 30%|███ | 15/50 [00:03<00:07, 4.80it/s] 32%|███▏ | 16/50 [00:03<00:07, 4.80it/s] 34%|███▍ | 17/50 [00:03<00:06, 4.82it/s] 36%|███▌ | 18/50 [00:03<00:06, 4.84it/s] 38%|███▊ | 19/50 [00:03<00:06, 4.86it/s] 40%|████ | 20/50 [00:04<00:06, 4.86it/s] 42%|████▏ | 21/50 [00:04<00:05, 4.85it/s] 44%|████▍ | 22/50 [00:04<00:05, 4.82it/s] 46%|████▌ | 23/50 [00:04<00:05, 4.82it/s] 48%|████▊ | 24/50 [00:05<00:05, 4.77it/s] 50%|█████ | 25/50 [00:05<00:05, 4.76it/s] 52%|█████▏ | 26/50 [00:05<00:04, 4.81it/s] 54%|█████▍ | 27/50 [00:05<00:04, 4.77it/s] 56%|█████▌ | 28/50 [00:05<00:04, 4.82it/s] 58%|█████▊ | 29/50 [00:06<00:04, 4.84it/s] 60%|██████ | 30/50 [00:06<00:04, 4.84it/s] 62%|██████▏ | 31/50 [00:06<00:03, 4.82it/s] 64%|██████▍ | 32/50 [00:06<00:03, 4.86it/s] 66%|██████▌ | 33/50 [00:06<00:03, 4.90it/s] 68%|██████▊ | 34/50 [00:07<00:03, 4.89it/s] 70%|███████ | 35/50 [00:07<00:03, 4.85it/s] 72%|███████▏ | 36/50 [00:07<00:02, 4.88it/s] 74%|███████▍ | 37/50 [00:07<00:02, 4.91it/s] 76%|███████▌ | 38/50 [00:07<00:02, 4.93it/s] 78%|███████▊ | 39/50 [00:08<00:02, 4.94it/s] 80%|████████ | 40/50 [00:08<00:02, 4.92it/s] 82%|████████▏ | 41/50 [00:08<00:01, 4.94it/s] 84%|████████▍ | 42/50 [00:08<00:01, 4.89it/s] 86%|████████▌ | 43/50 [00:08<00:01, 4.91it/s] 88%|████████▊ | 44/50 [00:09<00:01, 4.91it/s] 90%|█████████ | 45/50 [00:09<00:01, 4.79it/s] 92%|█████████▏| 46/50 [00:09<00:00, 4.81it/s] 94%|█████████▍| 47/50 [00:09<00:00, 4.79it/s] 96%|█████████▌| 48/50 [00:09<00:00, 4.81it/s] 98%|█████████▊| 49/50 [00:10<00:00, 4.86it/s] 100%|██████████| 50/50 [00:10<00:00, 4.86it/s] 100%|██████████| 50/50 [00:10<00:00, 4.83it/s] 0%| | 0/17 [00:00<?, ?it/s] 6%|▌ | 1/17 [00:00<00:02, 7.64it/s] 12%|█▏ | 2/17 [00:00<00:01, 7.71it/s] 18%|█▊ | 3/17 [00:00<00:01, 7.72it/s] 24%|██▎ | 4/17 [00:00<00:01, 7.73it/s] 29%|██▉ | 5/17 [00:00<00:01, 7.74it/s] 35%|███▌ | 6/17 [00:00<00:01, 7.74it/s] 41%|████ | 7/17 [00:00<00:01, 7.74it/s] 47%|████▋ | 8/17 [00:01<00:01, 7.73it/s] 53%|█████▎ | 9/17 [00:01<00:01, 7.74it/s] 59%|█████▉ | 10/17 [00:01<00:00, 7.75it/s] 65%|██████▍ | 11/17 [00:01<00:00, 7.75it/s] 71%|███████ | 12/17 [00:01<00:00, 7.74it/s] 76%|███████▋ | 13/17 [00:01<00:00, 7.75it/s] 82%|████████▏ | 14/17 [00:01<00:00, 7.74it/s] 88%|████████▊ | 15/17 [00:01<00:00, 7.74it/s] 94%|█████████▍| 16/17 [00:02<00:00, 7.74it/s] 100%|██████████| 17/17 [00:02<00:00, 7.73it/s] 100%|██████████| 17/17 [00:02<00:00, 7.73it/s]
Prediction
alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8IDyzmkqbtbetnsabirph5xe4ifb4StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- a photo of man with siduhc shoes in the streets of Rome
- refine
- no_refiner
- lora_url
- https://pbxt.replicate.delivery/RUeL2zkglVW7PaMzIYqxSoGUjWheKx4iaAfSPrJ9b4anF2QjA/trained_model.tar
- scheduler
- K_EULER
- lora_scale
- 0.8
- num_outputs
- 1
- guidance_scale
- 7.5
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of man with siduhc shoes in the streets of Rome", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/RUeL2zkglVW7PaMzIYqxSoGUjWheKx4iaAfSPrJ9b4anF2QjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", { input: { seed: 100, width: 1024, height: 1024, prompt: "a photo of man with siduhc shoes in the streets of Rome", refine: "no_refiner", lora_url: "https://pbxt.replicate.delivery/RUeL2zkglVW7PaMzIYqxSoGUjWheKx4iaAfSPrJ9b4anF2QjA/trained_model.tar", scheduler: "K_EULER", lora_scale: 0.8, num_outputs: 1, guidance_scale: 7.5, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of man with siduhc shoes in the streets of Rome", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/RUeL2zkglVW7PaMzIYqxSoGUjWheKx4iaAfSPrJ9b4anF2QjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of man with siduhc shoes in the streets of Rome", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/RUeL2zkglVW7PaMzIYqxSoGUjWheKx4iaAfSPrJ9b4anF2QjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-09-27T10:26:08.399939Z", "created_at": "2023-09-27T10:25:51.897062Z", "data_removed": false, "error": null, "id": "yzmkqbtbetnsabirph5xe4ifb4", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of man with siduhc shoes in the streets of Rome", "refine": "no_refiner", "lora_url": "https://pbxt.replicate.delivery/RUeL2zkglVW7PaMzIYqxSoGUjWheKx4iaAfSPrJ9b4anF2QjA/trained_model.tar", "scheduler": "K_EULER", "lora_scale": 0.8, "num_outputs": 1, "guidance_scale": 7.5, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "Asian, cartoon, 3d, (disfigured), (bad art), (deformed), (poorly drawn), (extra limbs), (close up), strange colors, blurry, boring, sketch, lackluster, big breast, large breast, huge breasts, face portrait, self-portrait, signature, letters, watermark, disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://pbxt.replicate.delivery/RUeL2zkglVW7PaMzIYqxSoGUjWheKx4iaAfSPrJ9b4anF2QjA/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 0.6457679271697998\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 1.582228660583496\nPrompt: a photo of man with <s0><s1> shoes in the streets of Rome\ntxt2img mode\n 0%| | 0/50 [00:00<?, ?it/s]\n 2%|▏ | 1/50 [00:00<00:13, 3.76it/s]\n 4%|▍ | 2/50 [00:00<00:12, 3.74it/s]\n 6%|▌ | 3/50 [00:00<00:12, 3.74it/s]\n 8%|▊ | 4/50 [00:01<00:12, 3.73it/s]\n 10%|█ | 5/50 [00:01<00:12, 3.73it/s]\n 12%|█▏ | 6/50 [00:01<00:11, 3.72it/s]\n 14%|█▍ | 7/50 [00:01<00:11, 3.72it/s]\n 16%|█▌ | 8/50 [00:02<00:11, 3.72it/s]\n 18%|█▊ | 9/50 [00:02<00:11, 3.72it/s]\n 20%|██ | 10/50 [00:02<00:10, 3.72it/s]\n 22%|██▏ | 11/50 [00:02<00:10, 3.71it/s]\n 24%|██▍ | 12/50 [00:03<00:10, 3.71it/s]\n 26%|██▌ | 13/50 [00:03<00:09, 3.71it/s]\n 28%|██▊ | 14/50 [00:03<00:09, 3.71it/s]\n 30%|███ | 15/50 [00:04<00:09, 3.71it/s]\n 32%|███▏ | 16/50 [00:04<00:09, 3.71it/s]\n 34%|███▍ | 17/50 [00:04<00:08, 3.71it/s]\n 36%|███▌ | 18/50 [00:04<00:08, 3.71it/s]\n 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s]\n 40%|████ | 20/50 [00:05<00:08, 3.70it/s]\n 42%|████▏ | 21/50 [00:05<00:07, 3.71it/s]\n 44%|████▍ | 22/50 [00:05<00:07, 3.71it/s]\n 46%|████▌ | 23/50 [00:06<00:07, 3.70it/s]\n 48%|████▊ | 24/50 [00:06<00:07, 3.70it/s]\n 50%|█████ | 25/50 [00:06<00:06, 3.70it/s]\n 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s]\n 54%|█████▍ | 27/50 [00:07<00:06, 3.70it/s]\n 56%|█████▌ | 28/50 [00:07<00:05, 3.70it/s]\n 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s]\n 60%|██████ | 30/50 [00:08<00:05, 3.70it/s]\n 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s]\n 64%|██████▍ | 32/50 [00:08<00:04, 3.70it/s]\n 66%|██████▌ | 33/50 [00:08<00:04, 3.70it/s]\n 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s]\n 70%|███████ | 35/50 [00:09<00:04, 3.70it/s]\n 72%|███████▏ | 36/50 [00:09<00:03, 3.70it/s]\n 74%|███████▍ | 37/50 [00:09<00:03, 3.70it/s]\n 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s]\n 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s]\n 80%|████████ | 40/50 [00:10<00:02, 3.70it/s]\n 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s]\n 84%|████████▍ | 42/50 [00:11<00:02, 3.71it/s]\n 86%|████████▌ | 43/50 [00:11<00:01, 3.71it/s]\n 88%|████████▊ | 44/50 [00:11<00:01, 3.71it/s]\n 90%|█████████ | 45/50 [00:12<00:01, 3.72it/s]\n 92%|█████████▏| 46/50 [00:12<00:01, 3.72it/s]\n 94%|█████████▍| 47/50 [00:12<00:00, 3.72it/s]\n 96%|█████████▌| 48/50 [00:12<00:00, 3.72it/s]\n 98%|█████████▊| 49/50 [00:13<00:00, 3.72it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.72it/s]\n100%|██████████| 50/50 [00:13<00:00, 3.71it/s]", "metrics": { "predict_time": 16.536688, "total_time": 16.502877 }, "output": [ "https://pbxt.replicate.delivery/gW6fqJtCSNSdFKUcHXK8SpESW6rA4J1AyItzvKHkxZ3fUboRA/out-0.png" ], "started_at": "2023-09-27T10:25:51.863251Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/yzmkqbtbetnsabirph5xe4ifb4", "cancel": "https://api.replicate.com/v1/predictions/yzmkqbtbetnsabirph5xe4ifb4/cancel" }, "version": "46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8" }
Generated inUsing seed: 100 downloading url: https://pbxt.replicate.delivery/RUeL2zkglVW7PaMzIYqxSoGUjWheKx4iaAfSPrJ9b4anF2QjA/trained_model.tar downloading to: ./trained-model downloading took: 0.6457679271697998 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 1.582228660583496 Prompt: a photo of man with <s0><s1> shoes in the streets of Rome txt2img mode 0%| | 0/50 [00:00<?, ?it/s] 2%|▏ | 1/50 [00:00<00:13, 3.76it/s] 4%|▍ | 2/50 [00:00<00:12, 3.74it/s] 6%|▌ | 3/50 [00:00<00:12, 3.74it/s] 8%|▊ | 4/50 [00:01<00:12, 3.73it/s] 10%|█ | 5/50 [00:01<00:12, 3.73it/s] 12%|█▏ | 6/50 [00:01<00:11, 3.72it/s] 14%|█▍ | 7/50 [00:01<00:11, 3.72it/s] 16%|█▌ | 8/50 [00:02<00:11, 3.72it/s] 18%|█▊ | 9/50 [00:02<00:11, 3.72it/s] 20%|██ | 10/50 [00:02<00:10, 3.72it/s] 22%|██▏ | 11/50 [00:02<00:10, 3.71it/s] 24%|██▍ | 12/50 [00:03<00:10, 3.71it/s] 26%|██▌ | 13/50 [00:03<00:09, 3.71it/s] 28%|██▊ | 14/50 [00:03<00:09, 3.71it/s] 30%|███ | 15/50 [00:04<00:09, 3.71it/s] 32%|███▏ | 16/50 [00:04<00:09, 3.71it/s] 34%|███▍ | 17/50 [00:04<00:08, 3.71it/s] 36%|███▌ | 18/50 [00:04<00:08, 3.71it/s] 38%|███▊ | 19/50 [00:05<00:08, 3.71it/s] 40%|████ | 20/50 [00:05<00:08, 3.70it/s] 42%|████▏ | 21/50 [00:05<00:07, 3.71it/s] 44%|████▍ | 22/50 [00:05<00:07, 3.71it/s] 46%|████▌ | 23/50 [00:06<00:07, 3.70it/s] 48%|████▊ | 24/50 [00:06<00:07, 3.70it/s] 50%|█████ | 25/50 [00:06<00:06, 3.70it/s] 52%|█████▏ | 26/50 [00:07<00:06, 3.70it/s] 54%|█████▍ | 27/50 [00:07<00:06, 3.70it/s] 56%|█████▌ | 28/50 [00:07<00:05, 3.70it/s] 58%|█████▊ | 29/50 [00:07<00:05, 3.70it/s] 60%|██████ | 30/50 [00:08<00:05, 3.70it/s] 62%|██████▏ | 31/50 [00:08<00:05, 3.70it/s] 64%|██████▍ | 32/50 [00:08<00:04, 3.70it/s] 66%|██████▌ | 33/50 [00:08<00:04, 3.70it/s] 68%|██████▊ | 34/50 [00:09<00:04, 3.70it/s] 70%|███████ | 35/50 [00:09<00:04, 3.70it/s] 72%|███████▏ | 36/50 [00:09<00:03, 3.70it/s] 74%|███████▍ | 37/50 [00:09<00:03, 3.70it/s] 76%|███████▌ | 38/50 [00:10<00:03, 3.70it/s] 78%|███████▊ | 39/50 [00:10<00:02, 3.70it/s] 80%|████████ | 40/50 [00:10<00:02, 3.70it/s] 82%|████████▏ | 41/50 [00:11<00:02, 3.70it/s] 84%|████████▍ | 42/50 [00:11<00:02, 3.71it/s] 86%|████████▌ | 43/50 [00:11<00:01, 3.71it/s] 88%|████████▊ | 44/50 [00:11<00:01, 3.71it/s] 90%|█████████ | 45/50 [00:12<00:01, 3.72it/s] 92%|█████████▏| 46/50 [00:12<00:01, 3.72it/s] 94%|█████████▍| 47/50 [00:12<00:00, 3.72it/s] 96%|█████████▌| 48/50 [00:12<00:00, 3.72it/s] 98%|█████████▊| 49/50 [00:13<00:00, 3.72it/s] 100%|██████████| 50/50 [00:13<00:00, 3.72it/s] 100%|██████████| 50/50 [00:13<00:00, 3.71it/s]
Prediction
alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8IDyssp6vzbrwdasabwouh7tbqymyStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- seed
- 100
- width
- 1024
- height
- 1024
- prompt
- a photo of wavyhair
- refine
- expert_ensemble_refiner
- lora_url
- https://replicate.delivery/pbxt/isQLQsZnWobmL1QjoTAZn5fYByUsfFuQqvPpFCyRkRP9XWtRA/trained_model.tar
- scheduler
- KarrasDPM
- lora_scale
- 1
- num_outputs
- 1
- guidance_scale
- 9
- apply_watermark
- high_noise_frac
- 0.8
- negative_prompt
- (((golden ratio))), bw, (tan skin:1.3),(worst quality:1.5), (low quality:1.5), low-res, (nose:1.5), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, , nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth
- prompt_strength
- 0.8
- num_inference_steps
- 50
{ "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of wavyhair ", "refine": "expert_ensemble_refiner", "lora_url": "https://replicate.delivery/pbxt/isQLQsZnWobmL1QjoTAZn5fYByUsfFuQqvPpFCyRkRP9XWtRA/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 1, "num_outputs": 1, "guidance_scale": 9, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "(((golden ratio))), bw, (tan skin:1.3),(worst quality:1.5), (low quality:1.5), low-res, (nose:1.5), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, , nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth ", "prompt_strength": 0.8, "num_inference_steps": 50 }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; import fs from "node:fs"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", { input: { seed: 100, width: 1024, height: 1024, prompt: "a photo of wavyhair ", refine: "expert_ensemble_refiner", lora_url: "https://replicate.delivery/pbxt/isQLQsZnWobmL1QjoTAZn5fYByUsfFuQqvPpFCyRkRP9XWtRA/trained_model.tar", scheduler: "KarrasDPM", lora_scale: 1, num_outputs: 1, guidance_scale: 9, apply_watermark: true, high_noise_frac: 0.8, negative_prompt: "(((golden ratio))), bw, (tan skin:1.3),(worst quality:1.5), (low quality:1.5), low-res, (nose:1.5), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, , nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth ", prompt_strength: 0.8, num_inference_steps: 50 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", input={ "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of wavyhair ", "refine": "expert_ensemble_refiner", "lora_url": "https://replicate.delivery/pbxt/isQLQsZnWobmL1QjoTAZn5fYByUsfFuQqvPpFCyRkRP9XWtRA/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 1, "num_outputs": 1, "guidance_scale": 9, "apply_watermark": True, "high_noise_frac": 0.8, "negative_prompt": "(((golden ratio))), bw, (tan skin:1.3),(worst quality:1.5), (low quality:1.5), low-res, (nose:1.5), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, , nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth ", "prompt_strength": 0.8, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run alexgenovese/sdxl-lora using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "alexgenovese/sdxl-lora:46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of wavyhair ", "refine": "expert_ensemble_refiner", "lora_url": "https://replicate.delivery/pbxt/isQLQsZnWobmL1QjoTAZn5fYByUsfFuQqvPpFCyRkRP9XWtRA/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 1, "num_outputs": 1, "guidance_scale": 9, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "(((golden ratio))), bw, (tan skin:1.3),(worst quality:1.5), (low quality:1.5), low-res, (nose:1.5), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, , nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth ", "prompt_strength": 0.8, "num_inference_steps": 50 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-12T09:29:46.086722Z", "created_at": "2023-10-12T09:26:49.685001Z", "data_removed": false, "error": null, "id": "yssp6vzbrwdasabwouh7tbqymy", "input": { "seed": 100, "width": 1024, "height": 1024, "prompt": "a photo of wavyhair ", "refine": "expert_ensemble_refiner", "lora_url": "https://replicate.delivery/pbxt/isQLQsZnWobmL1QjoTAZn5fYByUsfFuQqvPpFCyRkRP9XWtRA/trained_model.tar", "scheduler": "KarrasDPM", "lora_scale": 1, "num_outputs": 1, "guidance_scale": 9, "apply_watermark": true, "high_noise_frac": 0.8, "negative_prompt": "(((golden ratio))), bw, (tan skin:1.3),(worst quality:1.5), (low quality:1.5), low-res, (nose:1.5), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, , nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth ", "prompt_strength": 0.8, "num_inference_steps": 50 }, "logs": "Using seed: 100\ndownloading url: https://storage.googleapis.com/replicate-files/isQLQsZnWobmL1QjoTAZn5fYByUsfFuQqvPpFCyRkRP9XWtRA/trained_model.tar\ndownloading to: ./trained-model\ndownloading took: 0.6338095664978027\nLoading fine-tuned model\nDoes not have Unet. assume we are using LoRA\nLoading Unet LoRA\nTime took to load lora: 3.4038403034210205\nPrompt: a photo of <s0><s1>\ntxt2img mode\n 0%| | 0/31 [00:00<?, ?it/s]\n 3%|▎ | 1/31 [00:02<01:02, 2.08s/it]\n 6%|▋ | 2/31 [00:02<00:28, 1.02it/s]\n 10%|▉ | 3/31 [00:02<00:17, 1.60it/s]\n 13%|█▎ | 4/31 [00:02<00:12, 2.09it/s]\n 16%|█▌ | 5/31 [00:02<00:10, 2.56it/s]\n 19%|█▉ | 6/31 [00:03<00:08, 2.95it/s]\n 23%|██▎ | 7/31 [00:03<00:07, 3.23it/s]\n 26%|██▌ | 8/31 [00:03<00:06, 3.59it/s]\n 29%|██▉ | 9/31 [00:03<00:05, 3.85it/s]\n 32%|███▏ | 10/31 [00:04<00:05, 4.01it/s]\n 35%|███▌ | 11/31 [00:04<00:04, 4.14it/s]\n 39%|███▊ | 12/31 [00:04<00:04, 4.32it/s]\n 42%|████▏ | 13/31 [00:04<00:04, 4.27it/s]\n 45%|████▌ | 14/31 [00:05<00:03, 4.29it/s]\n 48%|████▊ | 15/31 [00:05<00:03, 4.40it/s]\n 52%|█████▏ | 16/31 [00:05<00:03, 4.44it/s]\n 55%|█████▍ | 17/31 [00:05<00:03, 4.52it/s]\n 58%|█████▊ | 18/31 [00:05<00:02, 4.46it/s]\n 61%|██████▏ | 19/31 [00:06<00:02, 4.30it/s]\n 65%|██████▍ | 20/31 [00:06<00:02, 4.41it/s]\n 68%|██████▊ | 21/31 [00:06<00:02, 4.37it/s]\n 71%|███████ | 22/31 [00:06<00:02, 4.31it/s]\n 74%|███████▍ | 23/31 [00:07<00:01, 4.22it/s]\n 77%|███████▋ | 24/31 [00:07<00:01, 4.22it/s]\n 81%|████████ | 25/31 [00:07<00:01, 4.29it/s]\n 84%|████████▍ | 26/31 [00:07<00:01, 4.23it/s]\n 87%|████████▋ | 27/31 [00:08<00:00, 4.39it/s]\n 90%|█████████ | 28/31 [00:08<00:00, 4.34it/s]\n 94%|█████████▎| 29/31 [00:08<00:00, 4.49it/s]\n 97%|█████████▋| 30/31 [00:08<00:00, 4.43it/s]\n100%|██████████| 31/31 [00:08<00:00, 4.34it/s]\n100%|██████████| 31/31 [00:08<00:00, 3.48it/s]\n 0%| | 0/10 [00:00<?, ?it/s]\n 10%|█ | 1/10 [00:00<00:02, 3.95it/s]\n 20%|██ | 2/10 [00:00<00:01, 5.56it/s]\n 30%|███ | 3/10 [00:00<00:01, 6.39it/s]\n 40%|████ | 4/10 [00:00<00:00, 6.87it/s]\n 50%|█████ | 5/10 [00:00<00:00, 7.17it/s]\n 60%|██████ | 6/10 [00:00<00:00, 7.35it/s]\n 70%|███████ | 7/10 [00:01<00:00, 7.49it/s]\n 80%|████████ | 8/10 [00:01<00:00, 7.57it/s]\n 90%|█████████ | 9/10 [00:01<00:00, 7.60it/s]\n100%|██████████| 10/10 [00:01<00:00, 7.64it/s]\n100%|██████████| 10/10 [00:01<00:00, 7.07it/s]", "metrics": { "predict_time": 16.969495, "total_time": 176.401721 }, "output": [ "https://pbxt.replicate.delivery/fkU0mwOEzc2jUylF8OVYOIukEOy0CrDnIKCYfVLTpxxJ6WtRA/out-0.png" ], "started_at": "2023-10-12T09:29:29.117227Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/yssp6vzbrwdasabwouh7tbqymy", "cancel": "https://api.replicate.com/v1/predictions/yssp6vzbrwdasabwouh7tbqymy/cancel" }, "version": "46c7a0948a11d46ee11a642468aca56f4770ca3399f03ee68523bee48ea982e8" }
Generated inUsing seed: 100 downloading url: https://storage.googleapis.com/replicate-files/isQLQsZnWobmL1QjoTAZn5fYByUsfFuQqvPpFCyRkRP9XWtRA/trained_model.tar downloading to: ./trained-model downloading took: 0.6338095664978027 Loading fine-tuned model Does not have Unet. assume we are using LoRA Loading Unet LoRA Time took to load lora: 3.4038403034210205 Prompt: a photo of <s0><s1> txt2img mode 0%| | 0/31 [00:00<?, ?it/s] 3%|▎ | 1/31 [00:02<01:02, 2.08s/it] 6%|▋ | 2/31 [00:02<00:28, 1.02it/s] 10%|▉ | 3/31 [00:02<00:17, 1.60it/s] 13%|█▎ | 4/31 [00:02<00:12, 2.09it/s] 16%|█▌ | 5/31 [00:02<00:10, 2.56it/s] 19%|█▉ | 6/31 [00:03<00:08, 2.95it/s] 23%|██▎ | 7/31 [00:03<00:07, 3.23it/s] 26%|██▌ | 8/31 [00:03<00:06, 3.59it/s] 29%|██▉ | 9/31 [00:03<00:05, 3.85it/s] 32%|███▏ | 10/31 [00:04<00:05, 4.01it/s] 35%|███▌ | 11/31 [00:04<00:04, 4.14it/s] 39%|███▊ | 12/31 [00:04<00:04, 4.32it/s] 42%|████▏ | 13/31 [00:04<00:04, 4.27it/s] 45%|████▌ | 14/31 [00:05<00:03, 4.29it/s] 48%|████▊ | 15/31 [00:05<00:03, 4.40it/s] 52%|█████▏ | 16/31 [00:05<00:03, 4.44it/s] 55%|█████▍ | 17/31 [00:05<00:03, 4.52it/s] 58%|█████▊ | 18/31 [00:05<00:02, 4.46it/s] 61%|██████▏ | 19/31 [00:06<00:02, 4.30it/s] 65%|██████▍ | 20/31 [00:06<00:02, 4.41it/s] 68%|██████▊ | 21/31 [00:06<00:02, 4.37it/s] 71%|███████ | 22/31 [00:06<00:02, 4.31it/s] 74%|███████▍ | 23/31 [00:07<00:01, 4.22it/s] 77%|███████▋ | 24/31 [00:07<00:01, 4.22it/s] 81%|████████ | 25/31 [00:07<00:01, 4.29it/s] 84%|████████▍ | 26/31 [00:07<00:01, 4.23it/s] 87%|████████▋ | 27/31 [00:08<00:00, 4.39it/s] 90%|█████████ | 28/31 [00:08<00:00, 4.34it/s] 94%|█████████▎| 29/31 [00:08<00:00, 4.49it/s] 97%|█████████▋| 30/31 [00:08<00:00, 4.43it/s] 100%|██████████| 31/31 [00:08<00:00, 4.34it/s] 100%|██████████| 31/31 [00:08<00:00, 3.48it/s] 0%| | 0/10 [00:00<?, ?it/s] 10%|█ | 1/10 [00:00<00:02, 3.95it/s] 20%|██ | 2/10 [00:00<00:01, 5.56it/s] 30%|███ | 3/10 [00:00<00:01, 6.39it/s] 40%|████ | 4/10 [00:00<00:00, 6.87it/s] 50%|█████ | 5/10 [00:00<00:00, 7.17it/s] 60%|██████ | 6/10 [00:00<00:00, 7.35it/s] 70%|███████ | 7/10 [00:01<00:00, 7.49it/s] 80%|████████ | 8/10 [00:01<00:00, 7.57it/s] 90%|█████████ | 9/10 [00:01<00:00, 7.60it/s] 100%|██████████| 10/10 [00:01<00:00, 7.64it/s] 100%|██████████| 10/10 [00:01<00:00, 7.07it/s]
Want to make some of these yourself?
Run this model