asiryan / urpm-v1.3
URPM V1.3 Model (Text2Img, Img2Img and Inpainting)
Prediction
asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69IDa7scaqlbagao73d7yngrctiocaStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 512
- height
- 728
- prompt
- actual 8K portrait photo of gareth person, portrait, happy colors, bright eyes, clear eyes, warm smile, smooth soft skin, big dreamy eyes, beautiful intricate colored hair, symmetrical, anime wide eyes, soft lighting, detailed face, by makoto shinkai, stanley artgerm lau, wlop, rossdraws, concept art, digital painting, looking into camera
- strength
- 1
- scheduler
- K_EULER_ANCESTRAL
- guidance_scale
- 7.5
- negative_prompt
- disfigured, animated, cartoon, duplicate, 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
- use_karras_sigmas
- num_inference_steps
- 20
{ "width": 512, "height": 728, "prompt": "actual 8K portrait photo of gareth person, portrait, happy colors, bright eyes, clear eyes, warm smile, smooth soft skin, big dreamy eyes, beautiful intricate colored hair, symmetrical, anime wide eyes, soft lighting, detailed face, by makoto shinkai, stanley artgerm lau, wlop, rossdraws, concept art, digital painting, looking into camera", "strength": 1, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": false, "num_inference_steps": 20 }
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 asiryan/urpm-v1.3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69", { input: { width: 512, height: 728, prompt: "actual 8K portrait photo of gareth person, portrait, happy colors, bright eyes, clear eyes, warm smile, smooth soft skin, big dreamy eyes, beautiful intricate colored hair, symmetrical, anime wide eyes, soft lighting, detailed face, by makoto shinkai, stanley artgerm lau, wlop, rossdraws, concept art, digital painting, looking into camera", strength: 1, scheduler: "K_EULER_ANCESTRAL", guidance_scale: 7.5, negative_prompt: "disfigured, animated, cartoon, duplicate, 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", use_karras_sigmas: false, num_inference_steps: 20 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 asiryan/urpm-v1.3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69", input={ "width": 512, "height": 728, "prompt": "actual 8K portrait photo of gareth person, portrait, happy colors, bright eyes, clear eyes, warm smile, smooth soft skin, big dreamy eyes, beautiful intricate colored hair, symmetrical, anime wide eyes, soft lighting, detailed face, by makoto shinkai, stanley artgerm lau, wlop, rossdraws, concept art, digital painting, looking into camera", "strength": 1, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": False, "num_inference_steps": 20 } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run asiryan/urpm-v1.3 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": "asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69", "input": { "width": 512, "height": 728, "prompt": "actual 8K portrait photo of gareth person, portrait, happy colors, bright eyes, clear eyes, warm smile, smooth soft skin, big dreamy eyes, beautiful intricate colored hair, symmetrical, anime wide eyes, soft lighting, detailed face, by makoto shinkai, stanley artgerm lau, wlop, rossdraws, concept art, digital painting, looking into camera", "strength": 1, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": false, "num_inference_steps": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-27T04:12:59.035658Z", "created_at": "2023-11-27T04:11:18.881256Z", "data_removed": false, "error": null, "id": "a7scaqlbagao73d7yngrctioca", "input": { "width": 512, "height": 728, "prompt": "actual 8K portrait photo of gareth person, portrait, happy colors, bright eyes, clear eyes, warm smile, smooth soft skin, big dreamy eyes, beautiful intricate colored hair, symmetrical, anime wide eyes, soft lighting, detailed face, by makoto shinkai, stanley artgerm lau, wlop, rossdraws, concept art, digital painting, looking into camera", "strength": 1, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": false, "num_inference_steps": 20 }, "logs": "Scheduler: K_EULER_ANCESTRAL\nUsing karras sigmas: False\nUsing seed: 18368\nMode: text2img\nToken indices sequence length is longer than the specified maximum sequence length for this model (78 > 77). Running this sequence through the model will result in indexing errors\n 0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:10, 1.82it/s]\n 10%|█ | 2/20 [00:00<00:05, 3.13it/s]\n 15%|█▌ | 3/20 [00:00<00:04, 4.07it/s]\n 20%|██ | 4/20 [00:01<00:03, 4.74it/s]\n 25%|██▌ | 5/20 [00:01<00:02, 5.20it/s]\n 30%|███ | 6/20 [00:01<00:02, 5.54it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 5.77it/s]\n 40%|████ | 8/20 [00:01<00:02, 5.93it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 6.04it/s]\n 50%|█████ | 10/20 [00:01<00:01, 6.11it/s]\n 55%|█████▌ | 11/20 [00:02<00:01, 6.17it/s]\n 60%|██████ | 12/20 [00:02<00:01, 6.21it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 6.24it/s]\n 70%|███████ | 14/20 [00:02<00:00, 6.26it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 6.23it/s]\n 80%|████████ | 16/20 [00:02<00:00, 6.19it/s]\n 85%|████████▌ | 17/20 [00:03<00:00, 6.22it/s]\n 90%|█████████ | 18/20 [00:03<00:00, 6.24it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 6.26it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.26it/s]\n100%|██████████| 20/20 [00:03<00:00, 5.60it/s]", "metrics": { "predict_time": 5.335024, "total_time": 100.154402 }, "output": "https://replicate.delivery/pbxt/8hNXxdbgiUIBNlCNIWue0e8LBwcUlaL2V72NcrgLrXeUK54jA/output.png", "started_at": "2023-11-27T04:12:53.700634Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/a7scaqlbagao73d7yngrctioca", "cancel": "https://api.replicate.com/v1/predictions/a7scaqlbagao73d7yngrctioca/cancel" }, "version": "8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69" }
Generated inScheduler: K_EULER_ANCESTRAL Using karras sigmas: False Using seed: 18368 Mode: text2img Token indices sequence length is longer than the specified maximum sequence length for this model (78 > 77). Running this sequence through the model will result in indexing errors 0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:10, 1.82it/s] 10%|█ | 2/20 [00:00<00:05, 3.13it/s] 15%|█▌ | 3/20 [00:00<00:04, 4.07it/s] 20%|██ | 4/20 [00:01<00:03, 4.74it/s] 25%|██▌ | 5/20 [00:01<00:02, 5.20it/s] 30%|███ | 6/20 [00:01<00:02, 5.54it/s] 35%|███▌ | 7/20 [00:01<00:02, 5.77it/s] 40%|████ | 8/20 [00:01<00:02, 5.93it/s] 45%|████▌ | 9/20 [00:01<00:01, 6.04it/s] 50%|█████ | 10/20 [00:01<00:01, 6.11it/s] 55%|█████▌ | 11/20 [00:02<00:01, 6.17it/s] 60%|██████ | 12/20 [00:02<00:01, 6.21it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.24it/s] 70%|███████ | 14/20 [00:02<00:00, 6.26it/s] 75%|███████▌ | 15/20 [00:02<00:00, 6.23it/s] 80%|████████ | 16/20 [00:02<00:00, 6.19it/s] 85%|████████▌ | 17/20 [00:03<00:00, 6.22it/s] 90%|█████████ | 18/20 [00:03<00:00, 6.24it/s] 95%|█████████▌| 19/20 [00:03<00:00, 6.26it/s] 100%|██████████| 20/20 [00:03<00:00, 6.26it/s] 100%|██████████| 20/20 [00:03<00:00, 5.60it/s]
Prediction
asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69IDuw6vp73b5nerwwcnvadhyvzgmqStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 512
- height
- 768
- prompt
- Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.
- strength
- 0.6
- scheduler
- K_EULER_ANCESTRAL
- guidance_scale
- 7.5
- negative_prompt
- disfigured, animated, cartoon, duplicate, 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
- use_karras_sigmas
- num_inference_steps
- 20
{ "image": "https://replicate.delivery/pbxt/Jwpql5SGC3WvQc6pdNxz1Fzi6dYl67RJ4HR8qVFxq8kywxAP/astro.png", "width": 512, "height": 768, "prompt": "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", "strength": 0.6, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": false, "num_inference_steps": 20 }
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 asiryan/urpm-v1.3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69", { input: { image: "https://replicate.delivery/pbxt/Jwpql5SGC3WvQc6pdNxz1Fzi6dYl67RJ4HR8qVFxq8kywxAP/astro.png", width: 512, height: 768, prompt: "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", strength: 0.6, scheduler: "K_EULER_ANCESTRAL", guidance_scale: 7.5, negative_prompt: "disfigured, animated, cartoon, duplicate, 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", use_karras_sigmas: false, num_inference_steps: 20 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 asiryan/urpm-v1.3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69", input={ "image": "https://replicate.delivery/pbxt/Jwpql5SGC3WvQc6pdNxz1Fzi6dYl67RJ4HR8qVFxq8kywxAP/astro.png", "width": 512, "height": 768, "prompt": "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", "strength": 0.6, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": False, "num_inference_steps": 20 } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run asiryan/urpm-v1.3 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": "asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69", "input": { "image": "https://replicate.delivery/pbxt/Jwpql5SGC3WvQc6pdNxz1Fzi6dYl67RJ4HR8qVFxq8kywxAP/astro.png", "width": 512, "height": 768, "prompt": "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", "strength": 0.6, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": false, "num_inference_steps": 20 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-27T04:16:56.358597Z", "created_at": "2023-11-27T04:16:51.132039Z", "data_removed": false, "error": null, "id": "uw6vp73b5nerwwcnvadhyvzgmq", "input": { "image": "https://replicate.delivery/pbxt/Jwpql5SGC3WvQc6pdNxz1Fzi6dYl67RJ4HR8qVFxq8kywxAP/astro.png", "width": 512, "height": 768, "prompt": "Photo of a lone astronaut standing on a barren planet, looking up at the stars, surrounded by remnants of a destroyed spaceship. Deep blue filter, harsh shadows, intense stare, gritty texture, captured by a Sony Alpha 7S III camera.", "strength": 0.6, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": false, "num_inference_steps": 20 }, "logs": "Scheduler: K_EULER_ANCESTRAL\nUsing karras sigmas: False\nUsing seed: 26592\nMode: img2img\nToken indices sequence length is longer than the specified maximum sequence length for this model (131 > 77). Running this sequence through the model will result in indexing errors\n 0%| | 0/12 [00:00<?, ?it/s]\n 8%|▊ | 1/12 [00:00<00:01, 5.79it/s]\n 17%|█▋ | 2/12 [00:00<00:01, 5.85it/s]\n 25%|██▌ | 3/12 [00:00<00:01, 5.87it/s]\n 33%|███▎ | 4/12 [00:00<00:01, 5.87it/s]\n 42%|████▏ | 5/12 [00:00<00:01, 5.87it/s]\n 50%|█████ | 6/12 [00:01<00:01, 5.87it/s]\n 58%|█████▊ | 7/12 [00:01<00:00, 5.87it/s]\n 67%|██████▋ | 8/12 [00:01<00:00, 5.87it/s]\n 75%|███████▌ | 9/12 [00:01<00:00, 5.87it/s]\n 83%|████████▎ | 10/12 [00:01<00:00, 5.86it/s]\n 92%|█████████▏| 11/12 [00:01<00:00, 5.85it/s]\n100%|██████████| 12/12 [00:02<00:00, 5.86it/s]\n100%|██████████| 12/12 [00:02<00:00, 5.86it/s]", "metrics": { "predict_time": 5.132146, "total_time": 5.226558 }, "output": "https://replicate.delivery/pbxt/y0Zhcdjq3r55CNvkfC44uLX4hhzkoemasZa0Z9Tbw8evR54jA/output.png", "started_at": "2023-11-27T04:16:51.226451Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/uw6vp73b5nerwwcnvadhyvzgmq", "cancel": "https://api.replicate.com/v1/predictions/uw6vp73b5nerwwcnvadhyvzgmq/cancel" }, "version": "8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69" }
Generated inScheduler: K_EULER_ANCESTRAL Using karras sigmas: False Using seed: 26592 Mode: img2img Token indices sequence length is longer than the specified maximum sequence length for this model (131 > 77). Running this sequence through the model will result in indexing errors 0%| | 0/12 [00:00<?, ?it/s] 8%|▊ | 1/12 [00:00<00:01, 5.79it/s] 17%|█▋ | 2/12 [00:00<00:01, 5.85it/s] 25%|██▌ | 3/12 [00:00<00:01, 5.87it/s] 33%|███▎ | 4/12 [00:00<00:01, 5.87it/s] 42%|████▏ | 5/12 [00:00<00:01, 5.87it/s] 50%|█████ | 6/12 [00:01<00:01, 5.87it/s] 58%|█████▊ | 7/12 [00:01<00:00, 5.87it/s] 67%|██████▋ | 8/12 [00:01<00:00, 5.87it/s] 75%|███████▌ | 9/12 [00:01<00:00, 5.87it/s] 83%|████████▎ | 10/12 [00:01<00:00, 5.86it/s] 92%|█████████▏| 11/12 [00:01<00:00, 5.85it/s] 100%|██████████| 12/12 [00:02<00:00, 5.86it/s] 100%|██████████| 12/12 [00:02<00:00, 5.86it/s]
Prediction
asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69IDimzmn2dbxkgzstm2cixcjya42qStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- width
- 1280
- height
- 1280
- prompt
- a tabby cat, high resolution, sitting on a park bench
- strength
- 0.8
- scheduler
- DPMSolverMultistep
- guidance_scale
- 7.5
- negative_prompt
- disfigured, animated, cartoon, duplicate, 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
- use_karras_sigmas
- num_inference_steps
- 35
{ "mask": "https://replicate.delivery/pbxt/Jwpv5Wh7a9t2LnyusD890ZDlfCDBwyRybQtz9UkvJaXMEXuG/mask.png", "image": "https://replicate.delivery/pbxt/Jwpv4ptRpCb0bdeNqCPWwXaSB9GRSFs031QRssCCsiEZ1gDc/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": true, "num_inference_steps": 35 }
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 asiryan/urpm-v1.3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69", { input: { mask: "https://replicate.delivery/pbxt/Jwpv5Wh7a9t2LnyusD890ZDlfCDBwyRybQtz9UkvJaXMEXuG/mask.png", image: "https://replicate.delivery/pbxt/Jwpv4ptRpCb0bdeNqCPWwXaSB9GRSFs031QRssCCsiEZ1gDc/demo.png", width: 1280, height: 1280, prompt: "a tabby cat, high resolution, sitting on a park bench", strength: 0.8, scheduler: "DPMSolverMultistep", guidance_scale: 7.5, negative_prompt: "disfigured, animated, cartoon, duplicate, 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", use_karras_sigmas: true, num_inference_steps: 35 } } ); // To access the file URL: console.log(output.url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output);
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 asiryan/urpm-v1.3 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69", input={ "mask": "https://replicate.delivery/pbxt/Jwpv5Wh7a9t2LnyusD890ZDlfCDBwyRybQtz9UkvJaXMEXuG/mask.png", "image": "https://replicate.delivery/pbxt/Jwpv4ptRpCb0bdeNqCPWwXaSB9GRSFs031QRssCCsiEZ1gDc/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": True, "num_inference_steps": 35 } ) # To access the file URL: print(output.url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output.read())
To learn more, take a look at the guide on getting started with Python.
Run asiryan/urpm-v1.3 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": "asiryan/urpm-v1.3:8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69", "input": { "mask": "https://replicate.delivery/pbxt/Jwpv5Wh7a9t2LnyusD890ZDlfCDBwyRybQtz9UkvJaXMEXuG/mask.png", "image": "https://replicate.delivery/pbxt/Jwpv4ptRpCb0bdeNqCPWwXaSB9GRSFs031QRssCCsiEZ1gDc/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": true, "num_inference_steps": 35 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-27T04:22:12.856039Z", "created_at": "2023-11-27T04:21:25.826089Z", "data_removed": false, "error": null, "id": "imzmn2dbxkgzstm2cixcjya42q", "input": { "mask": "https://replicate.delivery/pbxt/Jwpv5Wh7a9t2LnyusD890ZDlfCDBwyRybQtz9UkvJaXMEXuG/mask.png", "image": "https://replicate.delivery/pbxt/Jwpv4ptRpCb0bdeNqCPWwXaSB9GRSFs031QRssCCsiEZ1gDc/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.8, "scheduler": "DPMSolverMultistep", "guidance_scale": 7.5, "negative_prompt": "disfigured, animated, cartoon, duplicate, 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", "use_karras_sigmas": true, "num_inference_steps": 35 }, "logs": "Scheduler: DPMSolverMultistep\nUsing karras sigmas: True\nUsing seed: 20160\nMode: inpainting\n 0%| | 0/28 [00:00<?, ?it/s]\n 4%|▎ | 1/28 [00:01<00:52, 1.95s/it]\n 7%|▋ | 2/28 [00:03<00:44, 1.70s/it]\n 11%|█ | 3/28 [00:04<00:40, 1.62s/it]\n 14%|█▍ | 4/28 [00:06<00:37, 1.58s/it]\n 18%|█▊ | 5/28 [00:08<00:35, 1.56s/it]\n 21%|██▏ | 6/28 [00:09<00:34, 1.55s/it]\n 25%|██▌ | 7/28 [00:11<00:32, 1.54s/it]\n 29%|██▊ | 8/28 [00:12<00:30, 1.54s/it]\n 32%|███▏ | 9/28 [00:14<00:29, 1.54s/it]\n 36%|███▌ | 10/28 [00:15<00:27, 1.53s/it]\n 39%|███▉ | 11/28 [00:17<00:26, 1.53s/it]\n 43%|████▎ | 12/28 [00:18<00:24, 1.53s/it]\n 46%|████▋ | 13/28 [00:20<00:22, 1.53s/it]\n 50%|█████ | 14/28 [00:21<00:21, 1.53s/it]\n 54%|█████▎ | 15/28 [00:23<00:19, 1.53s/it]\n 57%|█████▋ | 16/28 [00:24<00:18, 1.53s/it]\n 61%|██████ | 17/28 [00:26<00:16, 1.53s/it]\n 64%|██████▍ | 18/28 [00:27<00:15, 1.53s/it]\n 68%|██████▊ | 19/28 [00:29<00:13, 1.53s/it]\n 71%|███████▏ | 20/28 [00:31<00:12, 1.53s/it]\n 75%|███████▌ | 21/28 [00:32<00:10, 1.53s/it]\n 79%|███████▊ | 22/28 [00:34<00:09, 1.53s/it]\n 82%|████████▏ | 23/28 [00:35<00:07, 1.53s/it]\n 86%|████████▌ | 24/28 [00:37<00:06, 1.53s/it]\n 89%|████████▉ | 25/28 [00:38<00:04, 1.53s/it]\n 93%|█████████▎| 26/28 [00:40<00:03, 1.53s/it]\n 96%|█████████▋| 27/28 [00:41<00:01, 1.53s/it]\n100%|██████████| 28/28 [00:43<00:00, 1.53s/it]\n100%|██████████| 28/28 [00:43<00:00, 1.55s/it]", "metrics": { "predict_time": 46.992358, "total_time": 47.02995 }, "output": "https://replicate.delivery/pbxt/yXuKaHZUlMYAG5aoQcstauuNYMB63q0BoMHS75gfzk75WOeRA/output.png", "started_at": "2023-11-27T04:21:25.863681Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/imzmn2dbxkgzstm2cixcjya42q", "cancel": "https://api.replicate.com/v1/predictions/imzmn2dbxkgzstm2cixcjya42q/cancel" }, "version": "8f7a2c8f9a752e296f14570894e833404af798eb626ef62149ab26ad811eef69" }
Generated inScheduler: DPMSolverMultistep Using karras sigmas: True Using seed: 20160 Mode: inpainting 0%| | 0/28 [00:00<?, ?it/s] 4%|▎ | 1/28 [00:01<00:52, 1.95s/it] 7%|▋ | 2/28 [00:03<00:44, 1.70s/it] 11%|█ | 3/28 [00:04<00:40, 1.62s/it] 14%|█▍ | 4/28 [00:06<00:37, 1.58s/it] 18%|█▊ | 5/28 [00:08<00:35, 1.56s/it] 21%|██▏ | 6/28 [00:09<00:34, 1.55s/it] 25%|██▌ | 7/28 [00:11<00:32, 1.54s/it] 29%|██▊ | 8/28 [00:12<00:30, 1.54s/it] 32%|███▏ | 9/28 [00:14<00:29, 1.54s/it] 36%|███▌ | 10/28 [00:15<00:27, 1.53s/it] 39%|███▉ | 11/28 [00:17<00:26, 1.53s/it] 43%|████▎ | 12/28 [00:18<00:24, 1.53s/it] 46%|████▋ | 13/28 [00:20<00:22, 1.53s/it] 50%|█████ | 14/28 [00:21<00:21, 1.53s/it] 54%|█████▎ | 15/28 [00:23<00:19, 1.53s/it] 57%|█████▋ | 16/28 [00:24<00:18, 1.53s/it] 61%|██████ | 17/28 [00:26<00:16, 1.53s/it] 64%|██████▍ | 18/28 [00:27<00:15, 1.53s/it] 68%|██████▊ | 19/28 [00:29<00:13, 1.53s/it] 71%|███████▏ | 20/28 [00:31<00:12, 1.53s/it] 75%|███████▌ | 21/28 [00:32<00:10, 1.53s/it] 79%|███████▊ | 22/28 [00:34<00:09, 1.53s/it] 82%|████████▏ | 23/28 [00:35<00:07, 1.53s/it] 86%|████████▌ | 24/28 [00:37<00:06, 1.53s/it] 89%|████████▉ | 25/28 [00:38<00:04, 1.53s/it] 93%|█████████▎| 26/28 [00:40<00:03, 1.53s/it] 96%|█████████▋| 27/28 [00:41<00:01, 1.53s/it] 100%|██████████| 28/28 [00:43<00:00, 1.53s/it] 100%|██████████| 28/28 [00:43<00:00, 1.55s/it]
Want to make some of these yourself?
Run this model