mcai / edge-of-realism-v2.0
Generate a new image given any input text with Edge Of Realism - EOR v2.0
- Public
- 133.5K runs
Prediction
mcai/edge-of-realism-v2.0:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4Input
- width
- "768"
- height
- "512"
- prompt
- i put da new forgis on the jeep, im drivin till the, bloody bottoms is underneath, cuz all my homies got it out the streets
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy
- num_inference_steps
- 30
{ "width": "768", "height": "512", "prompt": "i put da new forgis on the jeep, im drivin till the, bloody bottoms is underneath, cuz all my homies got it out the streets\n", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "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 mcai/edge-of-realism-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/edge-of-realism-v2.0:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4", { input: { width: "768", height: "512", prompt: "i put da new forgis on the jeep, im drivin till the, bloody bottoms is underneath, cuz all my homies got it out the streets\n", scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", num_inference_steps: 30 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run mcai/edge-of-realism-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/edge-of-realism-v2.0:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4", input={ "width": "768", "height": "512", "prompt": "i put da new forgis on the jeep, im drivin till the, bloody bottoms is underneath, cuz all my homies got it out the streets\n", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run mcai/edge-of-realism-v2.0 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": "mcai/edge-of-realism-v2.0:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4", "input": { "width": "768", "height": "512", "prompt": "i put da new forgis on the jeep, im drivin till the, bloody bottoms is underneath, cuz all my homies got it out the streets\\n", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } }' \ 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/mcai/edge-of-realism-v2.0@sha256:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4 \ -i 'width="768"' \ -i 'height="512"' \ -i $'prompt="i put da new forgis on the jeep, im drivin till the, bloody bottoms is underneath, cuz all my homies got it out the streets\\n"' \ -i 'scheduler="EulerAncestralDiscrete"' \ -i 'num_outputs=1' \ -i 'guidance_scale=7.5' \ -i 'negative_prompt="disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy"' \ -i 'num_inference_steps=30'
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/mcai/edge-of-realism-v2.0@sha256:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "width": "768", "height": "512", "prompt": "i put da new forgis on the jeep, im drivin till the, bloody bottoms is underneath, cuz all my homies got it out the streets\\n", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-05-13T04:12:12.585271Z", "created_at": "2023-05-13T04:12:04.186170Z", "data_removed": false, "error": null, "id": "ymcrs7optvflxaj74q57t6axbq", "input": { "width": "768", "height": "512", "prompt": "i put da new forgis on the jeep, im drivin till the, bloody bottoms is underneath, cuz all my homies got it out the streets\n", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 }, "logs": "Using seed: 4328\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:10, 2.73it/s]\n 7%|▋ | 2/30 [00:00<00:07, 3.54it/s]\n 10%|█ | 3/30 [00:00<00:06, 3.90it/s]\n 13%|█▎ | 4/30 [00:01<00:06, 4.08it/s]\n 17%|█▋ | 5/30 [00:01<00:06, 4.09it/s]\n 20%|██ | 6/30 [00:01<00:05, 4.21it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 4.28it/s]\n 27%|██▋ | 8/30 [00:01<00:05, 4.31it/s]\n 30%|███ | 9/30 [00:02<00:04, 4.34it/s]\n 33%|███▎ | 10/30 [00:02<00:04, 4.35it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 4.36it/s]\n 40%|████ | 12/30 [00:02<00:04, 4.34it/s]\n 43%|████▎ | 13/30 [00:03<00:03, 4.36it/s]\n 47%|████▋ | 14/30 [00:03<00:03, 4.36it/s]\n 50%|█████ | 15/30 [00:03<00:03, 4.36it/s]\n 53%|█████▎ | 16/30 [00:03<00:03, 4.36it/s]\n 57%|█████▋ | 17/30 [00:04<00:02, 4.37it/s]\n 60%|██████ | 18/30 [00:04<00:02, 4.37it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 4.36it/s]\n 67%|██████▋ | 20/30 [00:04<00:02, 4.36it/s]\n 70%|███████ | 21/30 [00:04<00:02, 4.34it/s]\n 73%|███████▎ | 22/30 [00:05<00:01, 4.32it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 4.32it/s]\n 80%|████████ | 24/30 [00:05<00:01, 4.33it/s]\n 83%|████████▎ | 25/30 [00:05<00:01, 4.33it/s]\n 87%|████████▋ | 26/30 [00:06<00:00, 4.33it/s]\n 90%|█████████ | 27/30 [00:06<00:00, 4.36it/s]\n 93%|█████████▎| 28/30 [00:06<00:00, 4.37it/s]\n 97%|█████████▋| 29/30 [00:06<00:00, 4.36it/s]\n100%|██████████| 30/30 [00:07<00:00, 4.34it/s]\n100%|██████████| 30/30 [00:07<00:00, 4.27it/s]", "metrics": { "predict_time": 8.31974, "total_time": 8.399101 }, "output": [ "https://replicate.delivery/pbxt/Sk3O8fpCHO3NYKGNXlRitXwikPyWhshxz4FFSEBtyJpNAmdIA/out-0.png" ], "started_at": "2023-05-13T04:12:04.265531Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ymcrs7optvflxaj74q57t6axbq", "cancel": "https://api.replicate.com/v1/predictions/ymcrs7optvflxaj74q57t6axbq/cancel" }, "version": "7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4" }
Generated inUsing seed: 4328 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:10, 2.73it/s] 7%|▋ | 2/30 [00:00<00:07, 3.54it/s] 10%|█ | 3/30 [00:00<00:06, 3.90it/s] 13%|█▎ | 4/30 [00:01<00:06, 4.08it/s] 17%|█▋ | 5/30 [00:01<00:06, 4.09it/s] 20%|██ | 6/30 [00:01<00:05, 4.21it/s] 23%|██▎ | 7/30 [00:01<00:05, 4.28it/s] 27%|██▋ | 8/30 [00:01<00:05, 4.31it/s] 30%|███ | 9/30 [00:02<00:04, 4.34it/s] 33%|███▎ | 10/30 [00:02<00:04, 4.35it/s] 37%|███▋ | 11/30 [00:02<00:04, 4.36it/s] 40%|████ | 12/30 [00:02<00:04, 4.34it/s] 43%|████▎ | 13/30 [00:03<00:03, 4.36it/s] 47%|████▋ | 14/30 [00:03<00:03, 4.36it/s] 50%|█████ | 15/30 [00:03<00:03, 4.36it/s] 53%|█████▎ | 16/30 [00:03<00:03, 4.36it/s] 57%|█████▋ | 17/30 [00:04<00:02, 4.37it/s] 60%|██████ | 18/30 [00:04<00:02, 4.37it/s] 63%|██████▎ | 19/30 [00:04<00:02, 4.36it/s] 67%|██████▋ | 20/30 [00:04<00:02, 4.36it/s] 70%|███████ | 21/30 [00:04<00:02, 4.34it/s] 73%|███████▎ | 22/30 [00:05<00:01, 4.32it/s] 77%|███████▋ | 23/30 [00:05<00:01, 4.32it/s] 80%|████████ | 24/30 [00:05<00:01, 4.33it/s] 83%|████████▎ | 25/30 [00:05<00:01, 4.33it/s] 87%|████████▋ | 26/30 [00:06<00:00, 4.33it/s] 90%|█████████ | 27/30 [00:06<00:00, 4.36it/s] 93%|█████████▎| 28/30 [00:06<00:00, 4.37it/s] 97%|█████████▋| 29/30 [00:06<00:00, 4.36it/s] 100%|██████████| 30/30 [00:07<00:00, 4.34it/s] 100%|██████████| 30/30 [00:07<00:00, 4.27it/s]
Prediction
mcai/edge-of-realism-v2.0:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4Input
- width
- 512
- height
- 768
- prompt
- beautiful young woman with white hair with red flower crown, by Hokusai and James Gurney + Black paper with intricate and vibrant red line work:: Tarot Card:: Mandelbulb Fractal + Full of silver layers + symmetrical Portrait + Trending on Artstation + Incredible black and red gothic illustration + Exquisite detail, ultra soft pastel, technicolor, cinematic lighting, reflections, HDR, 8k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, ((backround defocused)):1.7, (((depth of field))):1.8, cinestill 800t 35mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy
- num_inference_steps
- 30
{ "width": 512, "height": 768, "prompt": "beautiful young woman with white hair with red flower crown, by Hokusai and James Gurney + Black paper with intricate and vibrant red line work:: Tarot Card:: Mandelbulb Fractal + Full of silver layers + symmetrical Portrait + Trending on Artstation + Incredible black and red gothic illustration + Exquisite detail, ultra soft pastel, technicolor, cinematic lighting, reflections, HDR, 8k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, ((backround defocused)):1.7, (((depth of field))):1.8, cinestill 800t 35mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "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 mcai/edge-of-realism-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/edge-of-realism-v2.0:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4", { input: { width: 512, height: 768, prompt: "beautiful young woman with white hair with red flower crown, by Hokusai and James Gurney + Black paper with intricate and vibrant red line work:: Tarot Card:: Mandelbulb Fractal + Full of silver layers + symmetrical Portrait + Trending on Artstation + Incredible black and red gothic illustration + Exquisite detail, ultra soft pastel, technicolor, cinematic lighting, reflections, HDR, 8k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, ((backround defocused)):1.7, (((depth of field))):1.8, cinestill 800t 35mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic", scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", num_inference_steps: 30 } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run mcai/edge-of-realism-v2.0 using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/edge-of-realism-v2.0:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4", input={ "width": 512, "height": 768, "prompt": "beautiful young woman with white hair with red flower crown, by Hokusai and James Gurney + Black paper with intricate and vibrant red line work:: Tarot Card:: Mandelbulb Fractal + Full of silver layers + symmetrical Portrait + Trending on Artstation + Incredible black and red gothic illustration + Exquisite detail, ultra soft pastel, technicolor, cinematic lighting, reflections, HDR, 8k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, ((backround defocused)):1.7, (((depth of field))):1.8, cinestill 800t 35mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Run mcai/edge-of-realism-v2.0 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": "mcai/edge-of-realism-v2.0:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4", "input": { "width": 512, "height": 768, "prompt": "beautiful young woman with white hair with red flower crown, by Hokusai and James Gurney + Black paper with intricate and vibrant red line work:: Tarot Card:: Mandelbulb Fractal + Full of silver layers + symmetrical Portrait + Trending on Artstation + Incredible black and red gothic illustration + Exquisite detail, ultra soft pastel, technicolor, cinematic lighting, reflections, HDR, 8k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, ((backround defocused)):1.7, (((depth of field))):1.8, cinestill 800t 35mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } }' \ 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/mcai/edge-of-realism-v2.0@sha256:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4 \ -i 'width=512' \ -i 'height=768' \ -i 'prompt="beautiful young woman with white hair with red flower crown, by Hokusai and James Gurney + Black paper with intricate and vibrant red line work:: Tarot Card:: Mandelbulb Fractal + Full of silver layers + symmetrical Portrait + Trending on Artstation + Incredible black and red gothic illustration + Exquisite detail, ultra soft pastel, technicolor, cinematic lighting, reflections, HDR, 8k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, ((backround defocused)):1.7, (((depth of field))):1.8, cinestill 800t 35mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic"' \ -i 'scheduler="EulerAncestralDiscrete"' \ -i 'num_outputs=1' \ -i 'guidance_scale=7.5' \ -i 'negative_prompt="disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy"' \ -i 'num_inference_steps=30'
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/mcai/edge-of-realism-v2.0@sha256:7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "width": 512, "height": 768, "prompt": "beautiful young woman with white hair with red flower crown, by Hokusai and James Gurney + Black paper with intricate and vibrant red line work:: Tarot Card:: Mandelbulb Fractal + Full of silver layers + symmetrical Portrait + Trending on Artstation + Incredible black and red gothic illustration + Exquisite detail, ultra soft pastel, technicolor, cinematic lighting, reflections, HDR, 8k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, ((backround defocused)):1.7, (((depth of field))):1.8, cinestill 800t 35mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-05-13T04:13:33.034094Z", "created_at": "2023-05-13T04:13:24.804187Z", "data_removed": false, "error": null, "id": "dtlkvok7yffe7bz7isz6uc45xe", "input": { "width": 512, "height": 768, "prompt": "beautiful young woman with white hair with red flower crown, by Hokusai and James Gurney + Black paper with intricate and vibrant red line work:: Tarot Card:: Mandelbulb Fractal + Full of silver layers + symmetrical Portrait + Trending on Artstation + Incredible black and red gothic illustration + Exquisite detail, ultra soft pastel, technicolor, cinematic lighting, reflections, HDR, 8k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, ((backround defocused)):1.7, (((depth of field))):1.8, cinestill 800t 35mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic", "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, Deformed, blurry, bad anatomy, disfigured, poorly drawn face, mutation, mutated, extra limb, ugly, poorly drawn hands, missing limb, blurry, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, ugly, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye, blurry, bad anatomy", "num_inference_steps": 30 }, "logs": "Using seed: 47244\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', 8 k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, (( backround defocused )): 1. 7, ((( depth of field ))): 1. 8, cinestill 8 0 0 t 3 5 mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic']\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:08, 3.30it/s]\n 7%|▋ | 2/30 [00:00<00:07, 3.87it/s]\n 10%|█ | 3/30 [00:00<00:06, 4.11it/s]\n 13%|█▎ | 4/30 [00:00<00:06, 4.24it/s]\n 17%|█▋ | 5/30 [00:01<00:05, 4.30it/s]\n 20%|██ | 6/30 [00:01<00:05, 4.34it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 4.34it/s]\n 27%|██▋ | 8/30 [00:01<00:05, 4.32it/s]\n 30%|███ | 9/30 [00:02<00:04, 4.36it/s]\n 33%|███▎ | 10/30 [00:02<00:04, 4.36it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 4.37it/s]\n 40%|████ | 12/30 [00:02<00:04, 4.39it/s]\n 43%|████▎ | 13/30 [00:03<00:03, 4.39it/s]\n 47%|████▋ | 14/30 [00:03<00:03, 4.39it/s]\n 50%|█████ | 15/30 [00:03<00:03, 4.38it/s]\n 53%|█████▎ | 16/30 [00:03<00:03, 4.38it/s]\n 57%|█████▋ | 17/30 [00:03<00:02, 4.39it/s]\n 60%|██████ | 18/30 [00:04<00:02, 4.39it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 4.37it/s]\n 67%|██████▋ | 20/30 [00:04<00:02, 4.37it/s]\n 70%|███████ | 21/30 [00:04<00:02, 4.36it/s]\n 73%|███████▎ | 22/30 [00:05<00:01, 4.35it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 4.35it/s]\n 80%|████████ | 24/30 [00:05<00:01, 4.34it/s]\n 83%|████████▎ | 25/30 [00:05<00:01, 4.36it/s]\n 87%|████████▋ | 26/30 [00:06<00:00, 4.36it/s]\n 90%|█████████ | 27/30 [00:06<00:00, 4.37it/s]\n 93%|█████████▎| 28/30 [00:06<00:00, 4.36it/s]\n 97%|█████████▋| 29/30 [00:06<00:00, 4.37it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.37it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.33it/s]", "metrics": { "predict_time": 8.155118, "total_time": 8.229907 }, "output": [ "https://replicate.delivery/pbxt/Leg8xnL1Th0HdyeXGZo8MSPMIKKzVuRmW8HcXeayjibZDY2hA/out-0.png" ], "started_at": "2023-05-13T04:13:24.878976Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/dtlkvok7yffe7bz7isz6uc45xe", "cancel": "https://api.replicate.com/v1/predictions/dtlkvok7yffe7bz7isz6uc45xe/cancel" }, "version": "7af94dd511ff9cfe57ca47a20cbe82d0249e78dc9ea9e746569a0c0d285b61c4" }
Generated inUsing seed: 47244 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', 8 k resolution, cinematic film still, smooth, sharp focus, realistic, strobe lightbeams, (( backround defocused )): 1. 7, ((( depth of field ))): 1. 8, cinestill 8 0 0 t 3 5 mm, high quality, heavy grain, high detail, cinematic composition, dramatic light, anamorphic, ultra wide lens, hyperrealistic'] 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:08, 3.30it/s] 7%|▋ | 2/30 [00:00<00:07, 3.87it/s] 10%|█ | 3/30 [00:00<00:06, 4.11it/s] 13%|█▎ | 4/30 [00:00<00:06, 4.24it/s] 17%|█▋ | 5/30 [00:01<00:05, 4.30it/s] 20%|██ | 6/30 [00:01<00:05, 4.34it/s] 23%|██▎ | 7/30 [00:01<00:05, 4.34it/s] 27%|██▋ | 8/30 [00:01<00:05, 4.32it/s] 30%|███ | 9/30 [00:02<00:04, 4.36it/s] 33%|███▎ | 10/30 [00:02<00:04, 4.36it/s] 37%|███▋ | 11/30 [00:02<00:04, 4.37it/s] 40%|████ | 12/30 [00:02<00:04, 4.39it/s] 43%|████▎ | 13/30 [00:03<00:03, 4.39it/s] 47%|████▋ | 14/30 [00:03<00:03, 4.39it/s] 50%|█████ | 15/30 [00:03<00:03, 4.38it/s] 53%|█████▎ | 16/30 [00:03<00:03, 4.38it/s] 57%|█████▋ | 17/30 [00:03<00:02, 4.39it/s] 60%|██████ | 18/30 [00:04<00:02, 4.39it/s] 63%|██████▎ | 19/30 [00:04<00:02, 4.37it/s] 67%|██████▋ | 20/30 [00:04<00:02, 4.37it/s] 70%|███████ | 21/30 [00:04<00:02, 4.36it/s] 73%|███████▎ | 22/30 [00:05<00:01, 4.35it/s] 77%|███████▋ | 23/30 [00:05<00:01, 4.35it/s] 80%|████████ | 24/30 [00:05<00:01, 4.34it/s] 83%|████████▎ | 25/30 [00:05<00:01, 4.36it/s] 87%|████████▋ | 26/30 [00:06<00:00, 4.36it/s] 90%|█████████ | 27/30 [00:06<00:00, 4.37it/s] 93%|█████████▎| 28/30 [00:06<00:00, 4.36it/s] 97%|█████████▋| 29/30 [00:06<00:00, 4.37it/s] 100%|██████████| 30/30 [00:06<00:00, 4.37it/s] 100%|██████████| 30/30 [00:06<00:00, 4.33it/s]
Want to make some of these yourself?
Run this model