lucataco
/
realistic-vision-v5
Realistic Vision v5.0 with VAE
- Public
- 34.3K runs
-
L40S
- GitHub
Prediction
lucataco/realistic-vision-v5:8aeee50bID7y7jvktbl3pwztrtdpg3is5eomStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- seed
- 1335
- 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
- guidance
- 5
- scheduler
- EulerA
- 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
{ "seed": 1335, "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", "guidance": 5, "scheduler": "EulerA", "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" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", { input: { seed: 1335, 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", guidance: 5, scheduler: "EulerA", 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" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", input={ "seed": 1335, "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", "guidance": 5, "scheduler": "EulerA", "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" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/realistic-vision-v5 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": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", "input": { "seed": 1335, "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", "guidance": 5, "scheduler": "EulerA", "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" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1 \ -i 'seed=1335' \ -i 'steps=20' \ -i 'width=512' \ -i 'height=728' \ -i 'prompt="RAW photo, a portrait photo of a latina woman in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3"' \ -i 'guidance=5' \ -i 'scheduler="EulerA"' \ -i '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"'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 1335, "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", "guidance": 5, "scheduler": "EulerA", "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" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-08-18T02:01:48.413697Z", "created_at": "2023-08-18T02:01:43.917126Z", "data_removed": false, "error": null, "id": "7y7jvktbl3pwztrtdpg3is5eom", "input": { "seed": 1335, "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", "guidance": 5, "scheduler": "EulerA", "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" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:02, 6.46it/s]\n 10%|█ | 2/20 [00:00<00:02, 6.43it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 6.41it/s]\n 20%|██ | 4/20 [00:00<00:02, 6.40it/s]\n 25%|██▌ | 5/20 [00:00<00:02, 6.40it/s]\n 30%|███ | 6/20 [00:00<00:02, 6.39it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 6.38it/s]\n 40%|████ | 8/20 [00:01<00:01, 6.36it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 6.34it/s]\n 50%|█████ | 10/20 [00:01<00:01, 6.35it/s]\n 55%|█████▌ | 11/20 [00:01<00:01, 6.35it/s]\n 60%|██████ | 12/20 [00:01<00:01, 6.35it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 6.35it/s]\n 70%|███████ | 14/20 [00:02<00:00, 6.35it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 6.34it/s]\n 80%|████████ | 16/20 [00:02<00:00, 6.34it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 6.35it/s]\n 90%|█████████ | 18/20 [00:02<00:00, 6.35it/s]\n 95%|█████████▌| 19/20 [00:02<00:00, 6.35it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.35it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.36it/s]", "metrics": { "predict_time": 4.494482, "total_time": 4.496571 }, "output": "https://replicate.delivery/pbxt/eVMzXJerAzpqnErNJ9P4ncWmd2d3OkGA31DKhG3ElQhLMIbRA/output.png", "started_at": "2023-08-18T02:01:43.919215Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/7y7jvktbl3pwztrtdpg3is5eom", "cancel": "https://api.replicate.com/v1/predictions/7y7jvktbl3pwztrtdpg3is5eom/cancel" }, "version": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:02, 6.46it/s] 10%|█ | 2/20 [00:00<00:02, 6.43it/s] 15%|█▌ | 3/20 [00:00<00:02, 6.41it/s] 20%|██ | 4/20 [00:00<00:02, 6.40it/s] 25%|██▌ | 5/20 [00:00<00:02, 6.40it/s] 30%|███ | 6/20 [00:00<00:02, 6.39it/s] 35%|███▌ | 7/20 [00:01<00:02, 6.38it/s] 40%|████ | 8/20 [00:01<00:01, 6.36it/s] 45%|████▌ | 9/20 [00:01<00:01, 6.34it/s] 50%|█████ | 10/20 [00:01<00:01, 6.35it/s] 55%|█████▌ | 11/20 [00:01<00:01, 6.35it/s] 60%|██████ | 12/20 [00:01<00:01, 6.35it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.35it/s] 70%|███████ | 14/20 [00:02<00:00, 6.35it/s] 75%|███████▌ | 15/20 [00:02<00:00, 6.34it/s] 80%|████████ | 16/20 [00:02<00:00, 6.34it/s] 85%|████████▌ | 17/20 [00:02<00:00, 6.35it/s] 90%|█████████ | 18/20 [00:02<00:00, 6.35it/s] 95%|█████████▌| 19/20 [00:02<00:00, 6.35it/s] 100%|██████████| 20/20 [00:03<00:00, 6.35it/s] 100%|██████████| 20/20 [00:03<00:00, 6.36it/s]
Prediction
lucataco/realistic-vision-v5:8aeee50bID3rvevelbdsjmikmykdntewlwraStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- seed
- 1335
- 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
- guidance
- 5
- scheduler
- MultistepDPM-Solver
- 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
{ "seed": 1335, "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", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", { input: { seed: 1335, 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", guidance: 5, scheduler: "MultistepDPM-Solver", 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" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", input={ "seed": 1335, "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", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/realistic-vision-v5 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": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", "input": { "seed": 1335, "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", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1 \ -i 'seed=1335' \ -i 'steps=20' \ -i 'width=512' \ -i 'height=728' \ -i 'prompt="RAW photo, a portrait photo of a latina woman in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3"' \ -i 'guidance=5' \ -i 'scheduler="MultistepDPM-Solver"' \ -i '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"'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 1335, "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", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-08-18T02:01:59.528900Z", "created_at": "2023-08-18T02:01:54.974140Z", "data_removed": false, "error": null, "id": "3rvevelbdsjmikmykdntewlwra", "input": { "seed": 1335, "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", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:02, 6.48it/s]\n 10%|█ | 2/20 [00:00<00:02, 6.45it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 6.43it/s]\n 20%|██ | 4/20 [00:00<00:02, 6.41it/s]\n 25%|██▌ | 5/20 [00:00<00:02, 6.41it/s]\n 30%|███ | 6/20 [00:00<00:02, 6.40it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 6.39it/s]\n 40%|████ | 8/20 [00:01<00:01, 6.39it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 6.38it/s]\n 50%|█████ | 10/20 [00:01<00:01, 6.38it/s]\n 55%|█████▌ | 11/20 [00:01<00:01, 6.37it/s]\n 60%|██████ | 12/20 [00:01<00:01, 6.37it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 6.36it/s]\n 70%|███████ | 14/20 [00:02<00:00, 6.36it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 6.35it/s]\n 80%|████████ | 16/20 [00:02<00:00, 6.35it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 6.35it/s]\n 90%|█████████ | 18/20 [00:02<00:00, 6.35it/s]\n 95%|█████████▌| 19/20 [00:02<00:00, 6.35it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.35it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.37it/s]", "metrics": { "predict_time": 4.552327, "total_time": 4.55476 }, "output": "https://replicate.delivery/pbxt/zhhbMtgTSvbcPxmfKXTgdfp8JfT2ipoboY3k7WNOSBKtYQ2iA/output.png", "started_at": "2023-08-18T02:01:54.976573Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/3rvevelbdsjmikmykdntewlwra", "cancel": "https://api.replicate.com/v1/predictions/3rvevelbdsjmikmykdntewlwra/cancel" }, "version": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:02, 6.48it/s] 10%|█ | 2/20 [00:00<00:02, 6.45it/s] 15%|█▌ | 3/20 [00:00<00:02, 6.43it/s] 20%|██ | 4/20 [00:00<00:02, 6.41it/s] 25%|██▌ | 5/20 [00:00<00:02, 6.41it/s] 30%|███ | 6/20 [00:00<00:02, 6.40it/s] 35%|███▌ | 7/20 [00:01<00:02, 6.39it/s] 40%|████ | 8/20 [00:01<00:01, 6.39it/s] 45%|████▌ | 9/20 [00:01<00:01, 6.38it/s] 50%|█████ | 10/20 [00:01<00:01, 6.38it/s] 55%|█████▌ | 11/20 [00:01<00:01, 6.37it/s] 60%|██████ | 12/20 [00:01<00:01, 6.37it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.36it/s] 70%|███████ | 14/20 [00:02<00:00, 6.36it/s] 75%|███████▌ | 15/20 [00:02<00:00, 6.35it/s] 80%|████████ | 16/20 [00:02<00:00, 6.35it/s] 85%|████████▌ | 17/20 [00:02<00:00, 6.35it/s] 90%|█████████ | 18/20 [00:02<00:00, 6.35it/s] 95%|█████████▌| 19/20 [00:02<00:00, 6.35it/s] 100%|██████████| 20/20 [00:03<00:00, 6.35it/s] 100%|██████████| 20/20 [00:03<00:00, 6.37it/s]
Prediction
lucataco/realistic-vision-v5:8aeee50bIDjc76n7dbw7r7z6nhm2uc4ldkayStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- seed
- 1340
- steps
- 20
- width
- 512
- height
- 728
- prompt
- RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3
- guidance
- 5
- scheduler
- MultistepDPM-Solver
- 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
{ "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", { input: { seed: 1340, steps: 20, width: 512, height: 728, prompt: "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", guidance: 5, scheduler: "MultistepDPM-Solver", 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" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", input={ "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/realistic-vision-v5 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": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", "input": { "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1 \ -i 'seed=1340' \ -i 'steps=20' \ -i 'width=512' \ -i 'height=728' \ -i 'prompt="RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3"' \ -i 'guidance=5' \ -i 'scheduler="MultistepDPM-Solver"' \ -i '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"'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-08-18T02:04:13.739152Z", "created_at": "2023-08-18T02:04:09.209851Z", "data_removed": false, "error": null, "id": "jc76n7dbw7r7z6nhm2uc4ldkay", "input": { "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:02, 6.45it/s]\n 10%|█ | 2/20 [00:00<00:02, 6.41it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 6.39it/s]\n 20%|██ | 4/20 [00:00<00:02, 6.38it/s]\n 25%|██▌ | 5/20 [00:00<00:02, 6.37it/s]\n 30%|███ | 6/20 [00:00<00:02, 6.36it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 6.35it/s]\n 40%|████ | 8/20 [00:01<00:01, 6.34it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 6.34it/s]\n 50%|█████ | 10/20 [00:01<00:01, 6.33it/s]\n 55%|█████▌ | 11/20 [00:01<00:01, 6.33it/s]\n 60%|██████ | 12/20 [00:01<00:01, 6.33it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 6.32it/s]\n 70%|███████ | 14/20 [00:02<00:00, 6.32it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 6.32it/s]\n 80%|████████ | 16/20 [00:02<00:00, 6.33it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 6.33it/s]\n 90%|█████████ | 18/20 [00:02<00:00, 6.33it/s]\n 95%|█████████▌| 19/20 [00:02<00:00, 6.33it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.32it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.34it/s]", "metrics": { "predict_time": 4.498631, "total_time": 4.529301 }, "output": "https://replicate.delivery/pbxt/ROkdADpHJWKPMJ0L84kv94stpn1wezDDl6AHWMpcLoTOHktIA/output.png", "started_at": "2023-08-18T02:04:09.240521Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/jc76n7dbw7r7z6nhm2uc4ldkay", "cancel": "https://api.replicate.com/v1/predictions/jc76n7dbw7r7z6nhm2uc4ldkay/cancel" }, "version": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:02, 6.45it/s] 10%|█ | 2/20 [00:00<00:02, 6.41it/s] 15%|█▌ | 3/20 [00:00<00:02, 6.39it/s] 20%|██ | 4/20 [00:00<00:02, 6.38it/s] 25%|██▌ | 5/20 [00:00<00:02, 6.37it/s] 30%|███ | 6/20 [00:00<00:02, 6.36it/s] 35%|███▌ | 7/20 [00:01<00:02, 6.35it/s] 40%|████ | 8/20 [00:01<00:01, 6.34it/s] 45%|████▌ | 9/20 [00:01<00:01, 6.34it/s] 50%|█████ | 10/20 [00:01<00:01, 6.33it/s] 55%|█████▌ | 11/20 [00:01<00:01, 6.33it/s] 60%|██████ | 12/20 [00:01<00:01, 6.33it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.32it/s] 70%|███████ | 14/20 [00:02<00:00, 6.32it/s] 75%|███████▌ | 15/20 [00:02<00:00, 6.32it/s] 80%|████████ | 16/20 [00:02<00:00, 6.33it/s] 85%|████████▌ | 17/20 [00:02<00:00, 6.33it/s] 90%|█████████ | 18/20 [00:02<00:00, 6.33it/s] 95%|█████████▌| 19/20 [00:02<00:00, 6.33it/s] 100%|██████████| 20/20 [00:03<00:00, 6.32it/s] 100%|██████████| 20/20 [00:03<00:00, 6.34it/s]
Prediction
lucataco/realistic-vision-v5:8aeee50bInput
- seed
- 1338
- steps
- 20
- width
- 512
- height
- 728
- prompt
- RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3
- guidance
- 5
- scheduler
- EulerA
- 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
{ "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", { input: { seed: 1338, steps: 20, width: 512, height: 728, prompt: "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", guidance: 5, scheduler: "EulerA", 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" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", input={ "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/realistic-vision-v5 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": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", "input": { "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1 \ -i 'seed=1338' \ -i 'steps=20' \ -i 'width=512' \ -i 'height=728' \ -i 'prompt="RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3"' \ -i 'guidance=5' \ -i 'scheduler="EulerA"' \ -i '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"'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-08-18T02:02:41.766059Z", "created_at": "2023-08-18T02:02:37.249733Z", "data_removed": false, "error": null, "id": "4rbmp6tbhwgvitay226vr47giu", "input": { "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:02, 6.46it/s]\n 10%|█ | 2/20 [00:00<00:02, 6.42it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 6.41it/s]\n 20%|██ | 4/20 [00:00<00:02, 6.38it/s]\n 25%|██▌ | 5/20 [00:00<00:02, 6.37it/s]\n 30%|███ | 6/20 [00:00<00:02, 6.36it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 6.35it/s]\n 40%|████ | 8/20 [00:01<00:01, 6.34it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 6.33it/s]\n 50%|█████ | 10/20 [00:01<00:01, 6.33it/s]\n 55%|█████▌ | 11/20 [00:01<00:01, 6.33it/s]\n 60%|██████ | 12/20 [00:01<00:01, 6.33it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 6.32it/s]\n 70%|███████ | 14/20 [00:02<00:00, 6.32it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 6.33it/s]\n 80%|████████ | 16/20 [00:02<00:00, 6.33it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 6.32it/s]\n 90%|█████████ | 18/20 [00:02<00:00, 6.32it/s]\n 95%|█████████▌| 19/20 [00:02<00:00, 6.32it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.32it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.34it/s]", "metrics": { "predict_time": 4.505225, "total_time": 4.516326 }, "output": "https://replicate.delivery/pbxt/ivL2pM53cV5lCRgZt0DvXGVFLYHCLLGmU8mYZitLiiMQDyWE/output.png", "started_at": "2023-08-18T02:02:37.260834Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4rbmp6tbhwgvitay226vr47giu", "cancel": "https://api.replicate.com/v1/predictions/4rbmp6tbhwgvitay226vr47giu/cancel" }, "version": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:02, 6.46it/s] 10%|█ | 2/20 [00:00<00:02, 6.42it/s] 15%|█▌ | 3/20 [00:00<00:02, 6.41it/s] 20%|██ | 4/20 [00:00<00:02, 6.38it/s] 25%|██▌ | 5/20 [00:00<00:02, 6.37it/s] 30%|███ | 6/20 [00:00<00:02, 6.36it/s] 35%|███▌ | 7/20 [00:01<00:02, 6.35it/s] 40%|████ | 8/20 [00:01<00:01, 6.34it/s] 45%|████▌ | 9/20 [00:01<00:01, 6.33it/s] 50%|█████ | 10/20 [00:01<00:01, 6.33it/s] 55%|█████▌ | 11/20 [00:01<00:01, 6.33it/s] 60%|██████ | 12/20 [00:01<00:01, 6.33it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.32it/s] 70%|███████ | 14/20 [00:02<00:00, 6.32it/s] 75%|███████▌ | 15/20 [00:02<00:00, 6.33it/s] 80%|████████ | 16/20 [00:02<00:00, 6.33it/s] 85%|████████▌ | 17/20 [00:02<00:00, 6.32it/s] 90%|█████████ | 18/20 [00:02<00:00, 6.32it/s] 95%|█████████▌| 19/20 [00:02<00:00, 6.32it/s] 100%|██████████| 20/20 [00:03<00:00, 6.32it/s] 100%|██████████| 20/20 [00:03<00:00, 6.34it/s]
Prediction
lucataco/realistic-vision-v5:8aeee50bIDqplz3rlbbqtmynfl6brdfczgeeStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- seed
- 1340
- steps
- 20
- width
- 512
- height
- 728
- prompt
- RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3
- guidance
- 5
- scheduler
- EulerA
- 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
{ "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", { input: { seed: 1340, steps: 20, width: 512, height: 728, prompt: "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", guidance: 5, scheduler: "EulerA", 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" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", input={ "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/realistic-vision-v5 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": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", "input": { "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1 \ -i 'seed=1340' \ -i 'steps=20' \ -i 'width=512' \ -i 'height=728' \ -i 'prompt="RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3"' \ -i 'guidance=5' \ -i 'scheduler="EulerA"' \ -i '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"'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-08-18T02:04:24.009860Z", "created_at": "2023-08-18T02:04:19.427575Z", "data_removed": false, "error": null, "id": "qplz3rlbbqtmynfl6brdfczgee", "input": { "seed": 1340, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, flower vase on a table, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "EulerA", "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" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:02, 6.40it/s]\n 10%|█ | 2/20 [00:00<00:02, 6.37it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 6.35it/s]\n 20%|██ | 4/20 [00:00<00:02, 6.30it/s]\n 25%|██▌ | 5/20 [00:00<00:02, 6.25it/s]\n 30%|███ | 6/20 [00:00<00:02, 6.28it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 6.29it/s]\n 40%|████ | 8/20 [00:01<00:01, 6.30it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 6.31it/s]\n 50%|█████ | 10/20 [00:01<00:01, 6.31it/s]\n 55%|█████▌ | 11/20 [00:01<00:01, 6.31it/s]\n 60%|██████ | 12/20 [00:01<00:01, 6.32it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 6.32it/s]\n 70%|███████ | 14/20 [00:02<00:00, 6.32it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 6.32it/s]\n 80%|████████ | 16/20 [00:02<00:00, 6.32it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 6.32it/s]\n 90%|█████████ | 18/20 [00:02<00:00, 6.32it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 6.32it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.31it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.31it/s]", "metrics": { "predict_time": 4.566887, "total_time": 4.582285 }, "output": "https://replicate.delivery/pbxt/N8rzYbCKR9JfUqskptrARWub3ZMUfHXfvr0QVA6C59FOdQ2iA/output.png", "started_at": "2023-08-18T02:04:19.442973Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qplz3rlbbqtmynfl6brdfczgee", "cancel": "https://api.replicate.com/v1/predictions/qplz3rlbbqtmynfl6brdfczgee/cancel" }, "version": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:02, 6.40it/s] 10%|█ | 2/20 [00:00<00:02, 6.37it/s] 15%|█▌ | 3/20 [00:00<00:02, 6.35it/s] 20%|██ | 4/20 [00:00<00:02, 6.30it/s] 25%|██▌ | 5/20 [00:00<00:02, 6.25it/s] 30%|███ | 6/20 [00:00<00:02, 6.28it/s] 35%|███▌ | 7/20 [00:01<00:02, 6.29it/s] 40%|████ | 8/20 [00:01<00:01, 6.30it/s] 45%|████▌ | 9/20 [00:01<00:01, 6.31it/s] 50%|█████ | 10/20 [00:01<00:01, 6.31it/s] 55%|█████▌ | 11/20 [00:01<00:01, 6.31it/s] 60%|██████ | 12/20 [00:01<00:01, 6.32it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.32it/s] 70%|███████ | 14/20 [00:02<00:00, 6.32it/s] 75%|███████▌ | 15/20 [00:02<00:00, 6.32it/s] 80%|████████ | 16/20 [00:02<00:00, 6.32it/s] 85%|████████▌ | 17/20 [00:02<00:00, 6.32it/s] 90%|█████████ | 18/20 [00:02<00:00, 6.32it/s] 95%|█████████▌| 19/20 [00:03<00:00, 6.32it/s] 100%|██████████| 20/20 [00:03<00:00, 6.31it/s] 100%|██████████| 20/20 [00:03<00:00, 6.31it/s]
Prediction
lucataco/realistic-vision-v5:8aeee50bIDpr2mmulb24bn4xot4od5b33cmuStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- seed
- 1338
- steps
- 20
- width
- 512
- height
- 728
- prompt
- RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3
- guidance
- 5
- scheduler
- MultistepDPM-Solver
- 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
{ "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", { input: { seed: 1338, steps: 20, width: 512, height: 728, prompt: "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", guidance: 5, scheduler: "MultistepDPM-Solver", 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" } } ); console.log(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
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run lucataco/realistic-vision-v5 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "lucataco/realistic-vision-v5:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", input={ "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run lucataco/realistic-vision-v5 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": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1", "input": { "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
You can run this model locally using Cog. First, install Cog:brew install cog
If you don’t have Homebrew, there are other installation options available.
Run this to download the model and run it in your local environment:
cog predict r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1 \ -i 'seed=1338' \ -i 'steps=20' \ -i 'width=512' \ -i 'height=728' \ -i 'prompt="RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3"' \ -i 'guidance=5' \ -i 'scheduler="MultistepDPM-Solver"' \ -i '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"'
To learn more, take a look at the Cog documentation.
Run this to download the model and run it in your local environment:
docker run -d -p 5000:5000 --gpus=all r8.im/lucataco/realistic-vision-v5@sha256:8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-08-18T02:02:57.817958Z", "created_at": "2023-08-18T02:02:53.311127Z", "data_removed": false, "error": null, "id": "pr2mmulb24bn4xot4od5b33cmu", "input": { "seed": 1338, "steps": 20, "width": 512, "height": 728, "prompt": "RAW photo, a portrait photo of a latino male in casual clothes, natural skin, 8k uhd, high quality, film grain, Fujifilm XT3", "guidance": 5, "scheduler": "MultistepDPM-Solver", "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" }, "logs": "0%| | 0/20 [00:00<?, ?it/s]\n 5%|▌ | 1/20 [00:00<00:02, 6.47it/s]\n 10%|█ | 2/20 [00:00<00:02, 6.41it/s]\n 15%|█▌ | 3/20 [00:00<00:02, 6.39it/s]\n 20%|██ | 4/20 [00:00<00:02, 6.37it/s]\n 25%|██▌ | 5/20 [00:00<00:02, 6.34it/s]\n 30%|███ | 6/20 [00:00<00:02, 6.31it/s]\n 35%|███▌ | 7/20 [00:01<00:02, 6.32it/s]\n 40%|████ | 8/20 [00:01<00:01, 6.33it/s]\n 45%|████▌ | 9/20 [00:01<00:01, 6.33it/s]\n 50%|█████ | 10/20 [00:01<00:01, 6.32it/s]\n 55%|█████▌ | 11/20 [00:01<00:01, 6.32it/s]\n 60%|██████ | 12/20 [00:01<00:01, 6.32it/s]\n 65%|██████▌ | 13/20 [00:02<00:01, 6.32it/s]\n 70%|███████ | 14/20 [00:02<00:00, 6.33it/s]\n 75%|███████▌ | 15/20 [00:02<00:00, 6.33it/s]\n 80%|████████ | 16/20 [00:02<00:00, 6.31it/s]\n 85%|████████▌ | 17/20 [00:02<00:00, 6.32it/s]\n 90%|█████████ | 18/20 [00:02<00:00, 6.32it/s]\n 95%|█████████▌| 19/20 [00:03<00:00, 6.32it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.32it/s]\n100%|██████████| 20/20 [00:03<00:00, 6.33it/s]", "metrics": { "predict_time": 4.497229, "total_time": 4.506831 }, "output": "https://replicate.delivery/pbxt/ndPlKkt9G8YSF5dffkJepxylZeevZgBTvfbrKHkex6QzoGktIA/output.png", "started_at": "2023-08-18T02:02:53.320729Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/pr2mmulb24bn4xot4od5b33cmu", "cancel": "https://api.replicate.com/v1/predictions/pr2mmulb24bn4xot4od5b33cmu/cancel" }, "version": "8aeee50b868f06a1893e3b95a8bb639a8342e846836f3e0211d6a13c158505b1" }
Generated in0%| | 0/20 [00:00<?, ?it/s] 5%|▌ | 1/20 [00:00<00:02, 6.47it/s] 10%|█ | 2/20 [00:00<00:02, 6.41it/s] 15%|█▌ | 3/20 [00:00<00:02, 6.39it/s] 20%|██ | 4/20 [00:00<00:02, 6.37it/s] 25%|██▌ | 5/20 [00:00<00:02, 6.34it/s] 30%|███ | 6/20 [00:00<00:02, 6.31it/s] 35%|███▌ | 7/20 [00:01<00:02, 6.32it/s] 40%|████ | 8/20 [00:01<00:01, 6.33it/s] 45%|████▌ | 9/20 [00:01<00:01, 6.33it/s] 50%|█████ | 10/20 [00:01<00:01, 6.32it/s] 55%|█████▌ | 11/20 [00:01<00:01, 6.32it/s] 60%|██████ | 12/20 [00:01<00:01, 6.32it/s] 65%|██████▌ | 13/20 [00:02<00:01, 6.32it/s] 70%|███████ | 14/20 [00:02<00:00, 6.33it/s] 75%|███████▌ | 15/20 [00:02<00:00, 6.33it/s] 80%|████████ | 16/20 [00:02<00:00, 6.31it/s] 85%|████████▌ | 17/20 [00:02<00:00, 6.32it/s] 90%|█████████ | 18/20 [00:02<00:00, 6.32it/s] 95%|█████████▌| 19/20 [00:03<00:00, 6.32it/s] 100%|██████████| 20/20 [00:03<00:00, 6.32it/s] 100%|██████████| 20/20 [00:03<00:00, 6.33it/s]
Want to make some of these yourself?
Run this model