asiryan / realistic-vision-v4
Realistic Vision V4.0 Model (Text2Img, Img2Img and Inpainting)
Prediction
asiryan/realistic-vision-v4:d42dfe3c76b49e3cecc8a2a6a03669ffd0432e2bb1d3c4dc62c0fa5c6b157d5dIDq7gu3hdb65so3denyjqbmllzcuStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 26990
- 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
- (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck
- use_karras_sigmas
- num_inference_steps
- 50
{ "seed": 26990, "image": "https://replicate.delivery/pbxt/JvfOtxeNrkdINBl69VBYTPyY9kcjNapFOShHLVtvYcQ9zQJv/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": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": false, "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 asiryan/realistic-vision-v4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/realistic-vision-v4:d42dfe3c76b49e3cecc8a2a6a03669ffd0432e2bb1d3c4dc62c0fa5c6b157d5d", { input: { seed: 26990, image: "https://replicate.delivery/pbxt/JvfOtxeNrkdINBl69VBYTPyY9kcjNapFOShHLVtvYcQ9zQJv/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: "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", use_karras_sigmas: false, num_inference_steps: 50 } } ); // 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/realistic-vision-v4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/realistic-vision-v4:d42dfe3c76b49e3cecc8a2a6a03669ffd0432e2bb1d3c4dc62c0fa5c6b157d5d", input={ "seed": 26990, "image": "https://replicate.delivery/pbxt/JvfOtxeNrkdINBl69VBYTPyY9kcjNapFOShHLVtvYcQ9zQJv/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": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": False, "num_inference_steps": 50 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run asiryan/realistic-vision-v4 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/realistic-vision-v4:d42dfe3c76b49e3cecc8a2a6a03669ffd0432e2bb1d3c4dc62c0fa5c6b157d5d", "input": { "seed": 26990, "image": "https://replicate.delivery/pbxt/JvfOtxeNrkdINBl69VBYTPyY9kcjNapFOShHLVtvYcQ9zQJv/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": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": false, "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-11-23T21:16:24.250894Z", "created_at": "2023-11-23T21:16:17.221129Z", "data_removed": false, "error": null, "id": "q7gu3hdb65so3denyjqbmllzcu", "input": { "seed": 26990, "image": "https://replicate.delivery/pbxt/JvfOtxeNrkdINBl69VBYTPyY9kcjNapFOShHLVtvYcQ9zQJv/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": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": false, "num_inference_steps": 50 }, "logs": "Scheduler: K_EULER_ANCESTRAL\nUsing karras sigmas: False\nUsing seed: 26990\nMode: img2img\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:04, 5.90it/s]\n 7%|▋ | 2/30 [00:00<00:04, 5.88it/s]\n 10%|█ | 3/30 [00:00<00:04, 5.88it/s]\n 13%|█▎ | 4/30 [00:00<00:04, 5.87it/s]\n 17%|█▋ | 5/30 [00:00<00:04, 5.86it/s]\n 20%|██ | 6/30 [00:01<00:04, 5.85it/s]\n 23%|██▎ | 7/30 [00:01<00:03, 5.84it/s]\n 27%|██▋ | 8/30 [00:01<00:03, 5.84it/s]\n 30%|███ | 9/30 [00:01<00:03, 5.84it/s]\n 33%|███▎ | 10/30 [00:01<00:03, 5.84it/s]\n 37%|███▋ | 11/30 [00:01<00:03, 5.83it/s]\n 40%|████ | 12/30 [00:02<00:03, 5.83it/s]\n 43%|████▎ | 13/30 [00:02<00:02, 5.83it/s]\n 47%|████▋ | 14/30 [00:02<00:02, 5.83it/s]\n 50%|█████ | 15/30 [00:02<00:02, 5.83it/s]\n 53%|█████▎ | 16/30 [00:02<00:02, 5.83it/s]\n 57%|█████▋ | 17/30 [00:02<00:02, 5.83it/s]\n 60%|██████ | 18/30 [00:03<00:02, 5.83it/s]\n 63%|██████▎ | 19/30 [00:03<00:01, 5.83it/s]\n 67%|██████▋ | 20/30 [00:03<00:01, 5.82it/s]\n 70%|███████ | 21/30 [00:03<00:01, 5.82it/s]\n 73%|███████▎ | 22/30 [00:03<00:01, 5.82it/s]\n 77%|███████▋ | 23/30 [00:03<00:01, 5.83it/s]\n 80%|████████ | 24/30 [00:04<00:01, 5.83it/s]\n 83%|████████▎ | 25/30 [00:04<00:00, 5.82it/s]\n 87%|████████▋ | 26/30 [00:04<00:00, 5.83it/s]\n 90%|█████████ | 27/30 [00:04<00:00, 5.83it/s]\n 93%|█████████▎| 28/30 [00:04<00:00, 5.82it/s]\n 97%|█████████▋| 29/30 [00:04<00:00, 5.82it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.82it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.83it/s]", "metrics": { "predict_time": 6.993678, "total_time": 7.029765 }, "output": "https://replicate.delivery/pbxt/3VptpWOa5q49O1Jee5e9zlnE6f7hJWDd1SbkDyFqZhgdyctHB/output.png", "started_at": "2023-11-23T21:16:17.257216Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/q7gu3hdb65so3denyjqbmllzcu", "cancel": "https://api.replicate.com/v1/predictions/q7gu3hdb65so3denyjqbmllzcu/cancel" }, "version": "d42dfe3c76b49e3cecc8a2a6a03669ffd0432e2bb1d3c4dc62c0fa5c6b157d5d" }
Generated inScheduler: K_EULER_ANCESTRAL Using karras sigmas: False Using seed: 26990 Mode: img2img 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:04, 5.90it/s] 7%|▋ | 2/30 [00:00<00:04, 5.88it/s] 10%|█ | 3/30 [00:00<00:04, 5.88it/s] 13%|█▎ | 4/30 [00:00<00:04, 5.87it/s] 17%|█▋ | 5/30 [00:00<00:04, 5.86it/s] 20%|██ | 6/30 [00:01<00:04, 5.85it/s] 23%|██▎ | 7/30 [00:01<00:03, 5.84it/s] 27%|██▋ | 8/30 [00:01<00:03, 5.84it/s] 30%|███ | 9/30 [00:01<00:03, 5.84it/s] 33%|███▎ | 10/30 [00:01<00:03, 5.84it/s] 37%|███▋ | 11/30 [00:01<00:03, 5.83it/s] 40%|████ | 12/30 [00:02<00:03, 5.83it/s] 43%|████▎ | 13/30 [00:02<00:02, 5.83it/s] 47%|████▋ | 14/30 [00:02<00:02, 5.83it/s] 50%|█████ | 15/30 [00:02<00:02, 5.83it/s] 53%|█████▎ | 16/30 [00:02<00:02, 5.83it/s] 57%|█████▋ | 17/30 [00:02<00:02, 5.83it/s] 60%|██████ | 18/30 [00:03<00:02, 5.83it/s] 63%|██████▎ | 19/30 [00:03<00:01, 5.83it/s] 67%|██████▋ | 20/30 [00:03<00:01, 5.82it/s] 70%|███████ | 21/30 [00:03<00:01, 5.82it/s] 73%|███████▎ | 22/30 [00:03<00:01, 5.82it/s] 77%|███████▋ | 23/30 [00:03<00:01, 5.83it/s] 80%|████████ | 24/30 [00:04<00:01, 5.83it/s] 83%|████████▎ | 25/30 [00:04<00:00, 5.82it/s] 87%|████████▋ | 26/30 [00:04<00:00, 5.83it/s] 90%|█████████ | 27/30 [00:04<00:00, 5.83it/s] 93%|█████████▎| 28/30 [00:04<00:00, 5.82it/s] 97%|█████████▋| 29/30 [00:04<00:00, 5.82it/s] 100%|██████████| 30/30 [00:05<00:00, 5.82it/s] 100%|██████████| 30/30 [00:05<00:00, 5.83it/s]
Prediction
asiryan/realistic-vision-v4:f90bca5645181d64d7883861b7a8e88fde9262b853c20d448053be7082f8359bID56ndzntb4n2l6cbcd63ziizwxuStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 36636
- width
- 1280
- height
- 1280
- prompt
- a tabby cat, high resolution, sitting on a park bench
- strength
- 0.8
- scheduler
- K_EULER_ANCESTRAL
- guidance_scale
- 7.5
- negative_prompt
- (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck
- use_karras_sigmas
- num_inference_steps
- 30
{ "mask": "https://replicate.delivery/pbxt/JvgGH9k5KUwSnSmGU8kZZTBIi0K94BXhkCCkMYk7wGKJ7I3q/mask.png", "seed": 36636, "image": "https://replicate.delivery/pbxt/JvgGGzjxlFnNfstBhVgDJPEA0nSgReSCUrSdoBeahQoCu1rn/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.8, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": false, "num_inference_steps": 30 }
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/realistic-vision-v4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/realistic-vision-v4:f90bca5645181d64d7883861b7a8e88fde9262b853c20d448053be7082f8359b", { input: { mask: "https://replicate.delivery/pbxt/JvgGH9k5KUwSnSmGU8kZZTBIi0K94BXhkCCkMYk7wGKJ7I3q/mask.png", seed: 36636, image: "https://replicate.delivery/pbxt/JvgGGzjxlFnNfstBhVgDJPEA0nSgReSCUrSdoBeahQoCu1rn/demo.png", width: 1280, height: 1280, prompt: "a tabby cat, high resolution, sitting on a park bench", strength: 0.8, scheduler: "K_EULER_ANCESTRAL", guidance_scale: 7.5, negative_prompt: "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", use_karras_sigmas: false, num_inference_steps: 30 } } ); // 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/realistic-vision-v4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/realistic-vision-v4:f90bca5645181d64d7883861b7a8e88fde9262b853c20d448053be7082f8359b", input={ "mask": "https://replicate.delivery/pbxt/JvgGH9k5KUwSnSmGU8kZZTBIi0K94BXhkCCkMYk7wGKJ7I3q/mask.png", "seed": 36636, "image": "https://replicate.delivery/pbxt/JvgGGzjxlFnNfstBhVgDJPEA0nSgReSCUrSdoBeahQoCu1rn/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.8, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": False, "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run asiryan/realistic-vision-v4 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/realistic-vision-v4:f90bca5645181d64d7883861b7a8e88fde9262b853c20d448053be7082f8359b", "input": { "mask": "https://replicate.delivery/pbxt/JvgGH9k5KUwSnSmGU8kZZTBIi0K94BXhkCCkMYk7wGKJ7I3q/mask.png", "seed": 36636, "image": "https://replicate.delivery/pbxt/JvgGGzjxlFnNfstBhVgDJPEA0nSgReSCUrSdoBeahQoCu1rn/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.8, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": false, "num_inference_steps": 30 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-23T22:13:17.552500Z", "created_at": "2023-11-23T22:12:36.617738Z", "data_removed": false, "error": null, "id": "56ndzntb4n2l6cbcd63ziizwxu", "input": { "mask": "https://replicate.delivery/pbxt/JvgGH9k5KUwSnSmGU8kZZTBIi0K94BXhkCCkMYk7wGKJ7I3q/mask.png", "seed": 36636, "image": "https://replicate.delivery/pbxt/JvgGGzjxlFnNfstBhVgDJPEA0nSgReSCUrSdoBeahQoCu1rn/demo.png", "width": 1280, "height": 1280, "prompt": "a tabby cat, high resolution, sitting on a park bench", "strength": 0.8, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": false, "num_inference_steps": 30 }, "logs": "Scheduler: K_EULER_ANCESTRAL\nUsing karras sigmas: False\nUsing seed: 36636\nMode: inpainting\n 0%| | 0/24 [00:00<?, ?it/s]\n 4%|▍ | 1/24 [00:01<00:45, 1.97s/it]\n 8%|▊ | 2/24 [00:03<00:37, 1.71s/it]\n 12%|█▎ | 3/24 [00:05<00:34, 1.63s/it]\n 17%|█▋ | 4/24 [00:06<00:31, 1.59s/it]\n 21%|██ | 5/24 [00:08<00:29, 1.57s/it]\n 25%|██▌ | 6/24 [00:09<00:28, 1.56s/it]\n 29%|██▉ | 7/24 [00:11<00:26, 1.55s/it]\n 33%|███▎ | 8/24 [00:12<00:24, 1.55s/it]\n 38%|███▊ | 9/24 [00:14<00:23, 1.54s/it]\n 42%|████▏ | 10/24 [00:15<00:21, 1.54s/it]\n 46%|████▌ | 11/24 [00:17<00:20, 1.54s/it]\n 50%|█████ | 12/24 [00:18<00:18, 1.54s/it]\n 54%|█████▍ | 13/24 [00:20<00:16, 1.54s/it]\n 58%|█████▊ | 14/24 [00:21<00:15, 1.54s/it]\n 62%|██████▎ | 15/24 [00:23<00:13, 1.54s/it]\n 67%|██████▋ | 16/24 [00:25<00:12, 1.54s/it]\n 71%|███████ | 17/24 [00:26<00:10, 1.54s/it]\n 75%|███████▌ | 18/24 [00:28<00:09, 1.54s/it]\n 79%|███████▉ | 19/24 [00:29<00:07, 1.54s/it]\n 83%|████████▎ | 20/24 [00:31<00:06, 1.54s/it]\n 88%|████████▊ | 21/24 [00:32<00:04, 1.54s/it]\n 92%|█████████▏| 22/24 [00:34<00:03, 1.54s/it]\n 96%|█████████▌| 23/24 [00:35<00:01, 1.54s/it]\n100%|██████████| 24/24 [00:37<00:00, 1.54s/it]\n100%|██████████| 24/24 [00:37<00:00, 1.56s/it]", "metrics": { "predict_time": 40.897464, "total_time": 40.934762 }, "output": "https://replicate.delivery/pbxt/gHYPcTp7oDqbB1zWmcFRVLH0KB7SQ3Uga7HBxVAVd3IfAs9IA/output.png", "started_at": "2023-11-23T22:12:36.655036Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/56ndzntb4n2l6cbcd63ziizwxu", "cancel": "https://api.replicate.com/v1/predictions/56ndzntb4n2l6cbcd63ziizwxu/cancel" }, "version": "f90bca5645181d64d7883861b7a8e88fde9262b853c20d448053be7082f8359b" }
Generated inScheduler: K_EULER_ANCESTRAL Using karras sigmas: False Using seed: 36636 Mode: inpainting 0%| | 0/24 [00:00<?, ?it/s] 4%|▍ | 1/24 [00:01<00:45, 1.97s/it] 8%|▊ | 2/24 [00:03<00:37, 1.71s/it] 12%|█▎ | 3/24 [00:05<00:34, 1.63s/it] 17%|█▋ | 4/24 [00:06<00:31, 1.59s/it] 21%|██ | 5/24 [00:08<00:29, 1.57s/it] 25%|██▌ | 6/24 [00:09<00:28, 1.56s/it] 29%|██▉ | 7/24 [00:11<00:26, 1.55s/it] 33%|███▎ | 8/24 [00:12<00:24, 1.55s/it] 38%|███▊ | 9/24 [00:14<00:23, 1.54s/it] 42%|████▏ | 10/24 [00:15<00:21, 1.54s/it] 46%|████▌ | 11/24 [00:17<00:20, 1.54s/it] 50%|█████ | 12/24 [00:18<00:18, 1.54s/it] 54%|█████▍ | 13/24 [00:20<00:16, 1.54s/it] 58%|█████▊ | 14/24 [00:21<00:15, 1.54s/it] 62%|██████▎ | 15/24 [00:23<00:13, 1.54s/it] 67%|██████▋ | 16/24 [00:25<00:12, 1.54s/it] 71%|███████ | 17/24 [00:26<00:10, 1.54s/it] 75%|███████▌ | 18/24 [00:28<00:09, 1.54s/it] 79%|███████▉ | 19/24 [00:29<00:07, 1.54s/it] 83%|████████▎ | 20/24 [00:31<00:06, 1.54s/it] 88%|████████▊ | 21/24 [00:32<00:04, 1.54s/it] 92%|█████████▏| 22/24 [00:34<00:03, 1.54s/it] 96%|█████████▌| 23/24 [00:35<00:01, 1.54s/it] 100%|██████████| 24/24 [00:37<00:00, 1.54s/it] 100%|██████████| 24/24 [00:37<00:00, 1.56s/it]
Prediction
asiryan/realistic-vision-v4:ab95e6c0257b69e816ea2bb0b15dcfed7e75b98d85df804bfa9526a40375ad29ID6sdm3ktbnip63eyibwsyrhbjumStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- seed
- 36636
- steps
- 20
- width
- 512
- height
- 728
- prompt
- RAW photo, a portrait photo of a latina woman in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3
- strength
- 1
- scheduler
- K_EULER_ANCESTRAL
- guidance_scale
- 7.5
- negative_prompt
- (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck
- use_karras_sigmas
{ "seed": 36636, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latina woman in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "strength": 1, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": false }
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/realistic-vision-v4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "asiryan/realistic-vision-v4:ab95e6c0257b69e816ea2bb0b15dcfed7e75b98d85df804bfa9526a40375ad29", { input: { seed: 36636, steps: 20, width: 512, height: 728, prompt: "RAW photo, a portrait photo of a latina woman in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", strength: 1, scheduler: "K_EULER_ANCESTRAL", guidance_scale: 7.5, negative_prompt: "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", use_karras_sigmas: false } } ); // 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/realistic-vision-v4 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "asiryan/realistic-vision-v4:ab95e6c0257b69e816ea2bb0b15dcfed7e75b98d85df804bfa9526a40375ad29", input={ "seed": 36636, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latina woman in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "strength": 1, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": False } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run asiryan/realistic-vision-v4 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/realistic-vision-v4:ab95e6c0257b69e816ea2bb0b15dcfed7e75b98d85df804bfa9526a40375ad29", "input": { "seed": 36636, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latina woman in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "strength": 1, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": false } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-09T21:40:46.632664Z", "created_at": "2023-11-09T21:38:57.720462Z", "data_removed": false, "error": null, "id": "6sdm3ktbnip63eyibwsyrhbjum", "input": { "seed": 36636, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latina woman in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "strength": 1, "scheduler": "K_EULER_ANCESTRAL", "guidance_scale": 7.5, "negative_prompt": "(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, 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, too many fingers, long neck", "use_karras_sigmas": false }, "logs": "Scheduler: K_EULER_ANCESTRAL\nUsing karras sigmas: False\nUsing seed: 36636\nToken indices sequence length is longer than the specified maximum sequence length for this model (104 > 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:09, 1.96it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 5.69it/s]\n 25%|██▌ | 5/20 [00:00<00:01, 8.64it/s]\n 35%|███▌ | 7/20 [00:00<00:01, 10.90it/s]\n 45%|████▌ | 9/20 [00:00<00:00, 12.57it/s]\n 55%|█████▌ | 11/20 [00:01<00:00, 13.81it/s]\n 65%|██████▌ | 13/20 [00:01<00:00, 14.69it/s]\n 75%|███████▌ | 15/20 [00:01<00:00, 15.32it/s]\n 85%|████████▌ | 17/20 [00:01<00:00, 15.78it/s]\n 95%|█████████▌| 19/20 [00:01<00:00, 16.13it/s]\n100%|██████████| 20/20 [00:01<00:00, 12.24it/s]", "metrics": { "predict_time": 3.694592, "total_time": 108.912202 }, "output": "https://replicate.delivery/pbxt/kPBIMqksQfVpT6i17pV7iqgi6KeAdSO7GgCk6xuPqD6dPw2RA/output.png", "started_at": "2023-11-09T21:40:42.938072Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/6sdm3ktbnip63eyibwsyrhbjum", "cancel": "https://api.replicate.com/v1/predictions/6sdm3ktbnip63eyibwsyrhbjum/cancel" }, "version": "ab95e6c0257b69e816ea2bb0b15dcfed7e75b98d85df804bfa9526a40375ad29" }
Generated inScheduler: K_EULER_ANCESTRAL Using karras sigmas: False Using seed: 36636 Token indices sequence length is longer than the specified maximum sequence length for this model (104 > 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:09, 1.96it/s] 15%|█▌ | 3/20 [00:00<00:02, 5.69it/s] 25%|██▌ | 5/20 [00:00<00:01, 8.64it/s] 35%|███▌ | 7/20 [00:00<00:01, 10.90it/s] 45%|████▌ | 9/20 [00:00<00:00, 12.57it/s] 55%|█████▌ | 11/20 [00:01<00:00, 13.81it/s] 65%|██████▌ | 13/20 [00:01<00:00, 14.69it/s] 75%|███████▌ | 15/20 [00:01<00:00, 15.32it/s] 85%|████████▌ | 17/20 [00:01<00:00, 15.78it/s] 95%|█████████▌| 19/20 [00:01<00:00, 16.13it/s] 100%|██████████| 20/20 [00:01<00:00, 12.24it/s]
Want to make some of these yourself?
Run this model