mcai
/
absolutebeauty-v1.0-img2img
Generate a new image from an input image with AbsoluteReality v1.0
- Public
- 310.4K runs
-
A100 (80GB)
Prediction
mcai/absolutebeauty-v1.0-img2img:d29c2644Input
- prompt
- a hyper realistic character concept art of a beautiful african tribe woman, 4K symmetrical portrait,character concept art, oilpainting, Rendered in Octane,trending in artstation, cgsociety, 8k post-processing highly detailed,Junji Murakami, Mucha Klimt, Sharandula, Hiroshi Yoshida, Tom Bagshaw, Ross Tran, Artgerm,Craig Mullins,dramatic,Junji Murakami, moody lighting rendered by octane engine,characters 8K symmetrical arstation, cape,cinematic lighting, intricate details, 8k detail post processing, hyperealistic, octane rend, Zdzisław Beksiński style
- upscale
- 2
- strength
- 0.5
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- num_inference_steps
- 30
{ "image": "https://replicate.delivery/pbxt/Ivp1a40N5uMIOIfSxI5yvf8M3LznbDGpLaIjpWhYZCob4Pir/image-46-97.jpg", "prompt": "a hyper realistic character concept art of a beautiful african tribe woman, 4K symmetrical portrait,character concept art, oilpainting, Rendered in Octane,trending in artstation, cgsociety, 8k post-processing highly detailed,Junji Murakami, Mucha Klimt, Sharandula, Hiroshi Yoshida, Tom Bagshaw, Ross Tran, Artgerm,Craig Mullins,dramatic,Junji Murakami, moody lighting rendered by octane engine,characters 8K symmetrical arstation, cape,cinematic lighting, intricate details, 8k detail post processing, hyperealistic, octane rend, Zdzisław Beksiński style", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }
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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", { input: { image: "https://replicate.delivery/pbxt/Ivp1a40N5uMIOIfSxI5yvf8M3LznbDGpLaIjpWhYZCob4Pir/image-46-97.jpg", prompt: "a hyper realistic character concept art of a beautiful african tribe woman, 4K symmetrical portrait,character concept art, oilpainting, Rendered in Octane,trending in artstation, cgsociety, 8k post-processing highly detailed,Junji Murakami, Mucha Klimt, Sharandula, Hiroshi Yoshida, Tom Bagshaw, Ross Tran, Artgerm,Craig Mullins,dramatic,Junji Murakami, moody lighting rendered by octane engine,characters 8K symmetrical arstation, cape,cinematic lighting, intricate details, 8k detail post processing, hyperealistic, octane rend, Zdzisław Beksiński style", upscale: 2, strength: 0.5, scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", num_inference_steps: 30 } } ); 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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", input={ "image": "https://replicate.delivery/pbxt/Ivp1a40N5uMIOIfSxI5yvf8M3LznbDGpLaIjpWhYZCob4Pir/image-46-97.jpg", "prompt": "a hyper realistic character concept art of a beautiful african tribe woman, 4K symmetrical portrait,character concept art, oilpainting, Rendered in Octane,trending in artstation, cgsociety, 8k post-processing highly detailed,Junji Murakami, Mucha Klimt, Sharandula, Hiroshi Yoshida, Tom Bagshaw, Ross Tran, Artgerm,Craig Mullins,dramatic,Junji Murakami, moody lighting rendered by octane engine,characters 8K symmetrical arstation, cape,cinematic lighting, intricate details, 8k detail post processing, hyperealistic, octane rend, Zdzisław Beksiński style", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } ) 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 mcai/absolutebeauty-v1.0-img2img 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": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", "input": { "image": "https://replicate.delivery/pbxt/Ivp1a40N5uMIOIfSxI5yvf8M3LznbDGpLaIjpWhYZCob4Pir/image-46-97.jpg", "prompt": "a hyper realistic character concept art of a beautiful african tribe woman, 4K symmetrical portrait,character concept art, oilpainting, Rendered in Octane,trending in artstation, cgsociety, 8k post-processing highly detailed,Junji Murakami, Mucha Klimt, Sharandula, Hiroshi Yoshida, Tom Bagshaw, Ross Tran, Artgerm,Craig Mullins,dramatic,Junji Murakami, moody lighting rendered by octane engine,characters 8K symmetrical arstation, cape,cinematic lighting, intricate details, 8k detail post processing, hyperealistic, octane rend, Zdzisław Beksiński style", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612 \ -i 'image="https://replicate.delivery/pbxt/Ivp1a40N5uMIOIfSxI5yvf8M3LznbDGpLaIjpWhYZCob4Pir/image-46-97.jpg"' \ -i 'prompt="a hyper realistic character concept art of a beautiful african tribe woman, 4K symmetrical portrait,character concept art, oilpainting, Rendered in Octane,trending in artstation, cgsociety, 8k post-processing highly detailed,Junji Murakami, Mucha Klimt, Sharandula, Hiroshi Yoshida, Tom Bagshaw, Ross Tran, Artgerm,Craig Mullins,dramatic,Junji Murakami, moody lighting rendered by octane engine,characters 8K symmetrical arstation, cape,cinematic lighting, intricate details, 8k detail post processing, hyperealistic, octane rend, Zdzisław Beksiński style"' \ -i 'upscale=2' \ -i 'strength=0.5' \ -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, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \ -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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/Ivp1a40N5uMIOIfSxI5yvf8M3LznbDGpLaIjpWhYZCob4Pir/image-46-97.jpg", "prompt": "a hyper realistic character concept art of a beautiful african tribe woman, 4K symmetrical portrait,character concept art, oilpainting, Rendered in Octane,trending in artstation, cgsociety, 8k post-processing highly detailed,Junji Murakami, Mucha Klimt, Sharandula, Hiroshi Yoshida, Tom Bagshaw, Ross Tran, Artgerm,Craig Mullins,dramatic,Junji Murakami, moody lighting rendered by octane engine,characters 8K symmetrical arstation, cape,cinematic lighting, intricate details, 8k detail post processing, hyperealistic, octane rend, Zdzisław Beksiński style", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-06-02T15:42:20.190619Z", "created_at": "2023-06-02T15:42:05.882709Z", "data_removed": false, "error": null, "id": "qcmyl5igv5bzbhppolez6mw3u4", "input": { "image": "https://replicate.delivery/pbxt/Ivp1a40N5uMIOIfSxI5yvf8M3LznbDGpLaIjpWhYZCob4Pir/image-46-97.jpg", "prompt": "a hyper realistic character concept art of a beautiful african tribe woman, 4K symmetrical portrait,character concept art, oilpainting, Rendered in Octane,trending in artstation, cgsociety, 8k post-processing highly detailed,Junji Murakami, Mucha Klimt, Sharandula, Hiroshi Yoshida, Tom Bagshaw, Ross Tran, Artgerm,Craig Mullins,dramatic,Junji Murakami, moody lighting rendered by octane engine,characters 8K symmetrical arstation, cape,cinematic lighting, intricate details, 8k detail post processing, hyperealistic, octane rend, Zdzisław Beksiński style", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }, "logs": "Using seed: 4383\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', craig mullins, dramatic, junji murakami, moody lighting rendered by octane engine, characters 8 k symmetrical arstation, cape, cinematic lighting, intricate details, 8 k detail post processing, hyperealistic, octane rend, zdzisław beksiński style']\n 0%| | 0/15 [00:00<?, ?it/s]\n 7%|▋ | 1/15 [00:00<00:10, 1.33it/s]\n 13%|█▎ | 2/15 [00:01<00:09, 1.34it/s]\n 20%|██ | 3/15 [00:02<00:08, 1.33it/s]\n 27%|██▋ | 4/15 [00:02<00:08, 1.34it/s]\n 33%|███▎ | 5/15 [00:03<00:07, 1.33it/s]\n 40%|████ | 6/15 [00:04<00:06, 1.33it/s]\n 47%|████▋ | 7/15 [00:05<00:06, 1.33it/s]\n 53%|█████▎ | 8/15 [00:06<00:05, 1.33it/s]\n 60%|██████ | 9/15 [00:06<00:04, 1.33it/s]\n 67%|██████▋ | 10/15 [00:07<00:03, 1.33it/s]\n 73%|███████▎ | 11/15 [00:08<00:03, 1.33it/s]\n 80%|████████ | 12/15 [00:09<00:02, 1.33it/s]\n 87%|████████▋ | 13/15 [00:09<00:01, 1.32it/s]\n 93%|█████████▎| 14/15 [00:10<00:00, 1.32it/s]\n100%|██████████| 15/15 [00:11<00:00, 1.32it/s]\n100%|██████████| 15/15 [00:11<00:00, 1.33it/s]", "metrics": { "predict_time": 14.345204, "total_time": 14.30791 }, "output": [ "https://replicate.delivery/pbxt/JhgmsRN4thIMJJJXTEuc288bptrTTca3gYg2Hb1d9Lz2f9gIA/out-0.png" ], "started_at": "2023-06-02T15:42:05.845415Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/qcmyl5igv5bzbhppolez6mw3u4", "cancel": "https://api.replicate.com/v1/predictions/qcmyl5igv5bzbhppolez6mw3u4/cancel" }, "version": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612" }
Generated inUsing seed: 4383 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', craig mullins, dramatic, junji murakami, moody lighting rendered by octane engine, characters 8 k symmetrical arstation, cape, cinematic lighting, intricate details, 8 k detail post processing, hyperealistic, octane rend, zdzisław beksiński style'] 0%| | 0/15 [00:00<?, ?it/s] 7%|▋ | 1/15 [00:00<00:10, 1.33it/s] 13%|█▎ | 2/15 [00:01<00:09, 1.34it/s] 20%|██ | 3/15 [00:02<00:08, 1.33it/s] 27%|██▋ | 4/15 [00:02<00:08, 1.34it/s] 33%|███▎ | 5/15 [00:03<00:07, 1.33it/s] 40%|████ | 6/15 [00:04<00:06, 1.33it/s] 47%|████▋ | 7/15 [00:05<00:06, 1.33it/s] 53%|█████▎ | 8/15 [00:06<00:05, 1.33it/s] 60%|██████ | 9/15 [00:06<00:04, 1.33it/s] 67%|██████▋ | 10/15 [00:07<00:03, 1.33it/s] 73%|███████▎ | 11/15 [00:08<00:03, 1.33it/s] 80%|████████ | 12/15 [00:09<00:02, 1.33it/s] 87%|████████▋ | 13/15 [00:09<00:01, 1.32it/s] 93%|█████████▎| 14/15 [00:10<00:00, 1.32it/s] 100%|██████████| 15/15 [00:11<00:00, 1.32it/s] 100%|██████████| 15/15 [00:11<00:00, 1.33it/s]
Prediction
mcai/absolutebeauty-v1.0-img2img:d29c2644IDdjlatxxnhzespjie6rlnjxm4dqStatusSucceededSourceWebHardwareT4Total durationCreatedInput
- prompt
- beautiful butterfly anatomy diagram, bold shūji, chart, schematics, infographic, scientific, measurements, abstract, surreal, collage, new media design, poster, colorful highlights, tarot card, glowing ruins, marginalia, 8k, extremely detailed, dark color palette + style of Katsuhiro Otomo + Masamune Shirow + pantone, on black canvas, typography annotations
- upscale
- 2
- strength
- 0.5
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- num_inference_steps
- 30
{ "image": "https://replicate.delivery/pbxt/Ivp2qiXvlDLYzFH00BxUQ8mG54yImI2sZo3ahGxbr7vJ81T2/image-46-100.jpg", "prompt": "beautiful butterfly anatomy diagram, bold shūji, chart, schematics, infographic, scientific, measurements, abstract, surreal, collage, new media design, poster, colorful highlights, tarot card, glowing ruins, marginalia, 8k, extremely detailed, dark color palette + style of Katsuhiro Otomo + Masamune Shirow + pantone, on black canvas, typography annotations", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }
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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", { input: { image: "https://replicate.delivery/pbxt/Ivp2qiXvlDLYzFH00BxUQ8mG54yImI2sZo3ahGxbr7vJ81T2/image-46-100.jpg", prompt: "beautiful butterfly anatomy diagram, bold shūji, chart, schematics, infographic, scientific, measurements, abstract, surreal, collage, new media design, poster, colorful highlights, tarot card, glowing ruins, marginalia, 8k, extremely detailed, dark color palette + style of Katsuhiro Otomo + Masamune Shirow + pantone, on black canvas, typography annotations", upscale: 2, strength: 0.5, scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", num_inference_steps: 30 } } ); 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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", input={ "image": "https://replicate.delivery/pbxt/Ivp2qiXvlDLYzFH00BxUQ8mG54yImI2sZo3ahGxbr7vJ81T2/image-46-100.jpg", "prompt": "beautiful butterfly anatomy diagram, bold shūji, chart, schematics, infographic, scientific, measurements, abstract, surreal, collage, new media design, poster, colorful highlights, tarot card, glowing ruins, marginalia, 8k, extremely detailed, dark color palette + style of Katsuhiro Otomo + Masamune Shirow + pantone, on black canvas, typography annotations", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } ) 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 mcai/absolutebeauty-v1.0-img2img 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": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", "input": { "image": "https://replicate.delivery/pbxt/Ivp2qiXvlDLYzFH00BxUQ8mG54yImI2sZo3ahGxbr7vJ81T2/image-46-100.jpg", "prompt": "beautiful butterfly anatomy diagram, bold shūji, chart, schematics, infographic, scientific, measurements, abstract, surreal, collage, new media design, poster, colorful highlights, tarot card, glowing ruins, marginalia, 8k, extremely detailed, dark color palette + style of Katsuhiro Otomo + Masamune Shirow + pantone, on black canvas, typography annotations", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612 \ -i 'image="https://replicate.delivery/pbxt/Ivp2qiXvlDLYzFH00BxUQ8mG54yImI2sZo3ahGxbr7vJ81T2/image-46-100.jpg"' \ -i 'prompt="beautiful butterfly anatomy diagram, bold shūji, chart, schematics, infographic, scientific, measurements, abstract, surreal, collage, new media design, poster, colorful highlights, tarot card, glowing ruins, marginalia, 8k, extremely detailed, dark color palette + style of Katsuhiro Otomo + Masamune Shirow + pantone, on black canvas, typography annotations"' \ -i 'upscale=2' \ -i 'strength=0.5' \ -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, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \ -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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/Ivp2qiXvlDLYzFH00BxUQ8mG54yImI2sZo3ahGxbr7vJ81T2/image-46-100.jpg", "prompt": "beautiful butterfly anatomy diagram, bold shūji, chart, schematics, infographic, scientific, measurements, abstract, surreal, collage, new media design, poster, colorful highlights, tarot card, glowing ruins, marginalia, 8k, extremely detailed, dark color palette + style of Katsuhiro Otomo + Masamune Shirow + pantone, on black canvas, typography annotations", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-06-02T15:43:41.206150Z", "created_at": "2023-06-02T15:43:26.263677Z", "data_removed": false, "error": null, "id": "djlatxxnhzespjie6rlnjxm4dq", "input": { "image": "https://replicate.delivery/pbxt/Ivp2qiXvlDLYzFH00BxUQ8mG54yImI2sZo3ahGxbr7vJ81T2/image-46-100.jpg", "prompt": "beautiful butterfly anatomy diagram, bold shūji, chart, schematics, infographic, scientific, measurements, abstract, surreal, collage, new media design, poster, colorful highlights, tarot card, glowing ruins, marginalia, 8k, extremely detailed, dark color palette + style of Katsuhiro Otomo + Masamune Shirow + pantone, on black canvas, typography annotations", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }, "logs": "Using seed: 36851\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', typography annotations']\n 0%| | 0/15 [00:00<?, ?it/s]\n 7%|▋ | 1/15 [00:00<00:10, 1.30it/s]\n 13%|█▎ | 2/15 [00:01<00:10, 1.30it/s]\n 20%|██ | 3/15 [00:02<00:09, 1.30it/s]\n 27%|██▋ | 4/15 [00:03<00:08, 1.30it/s]\n 33%|███▎ | 5/15 [00:03<00:07, 1.29it/s]\n 40%|████ | 6/15 [00:04<00:06, 1.30it/s]\n 47%|████▋ | 7/15 [00:05<00:06, 1.30it/s]\n 53%|█████▎ | 8/15 [00:06<00:05, 1.30it/s]\n 60%|██████ | 9/15 [00:06<00:04, 1.30it/s]\n 67%|██████▋ | 10/15 [00:07<00:03, 1.30it/s]\n 73%|███████▎ | 11/15 [00:08<00:03, 1.30it/s]\n 80%|████████ | 12/15 [00:09<00:02, 1.30it/s]\n 87%|████████▋ | 13/15 [00:10<00:01, 1.30it/s]\n 93%|█████████▎| 14/15 [00:10<00:00, 1.30it/s]\n100%|██████████| 15/15 [00:11<00:00, 1.29it/s]\n100%|██████████| 15/15 [00:11<00:00, 1.30it/s]", "metrics": { "predict_time": 14.99731, "total_time": 14.942473 }, "output": [ "https://replicate.delivery/pbxt/hRSEuU8hPY6JCRB7WWs5Q9uc2eD6ujar044zelRJTERsA8BRA/out-0.png" ], "started_at": "2023-06-02T15:43:26.208840Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/djlatxxnhzespjie6rlnjxm4dq", "cancel": "https://api.replicate.com/v1/predictions/djlatxxnhzespjie6rlnjxm4dq/cancel" }, "version": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612" }
Generated inUsing seed: 36851 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: [', typography annotations'] 0%| | 0/15 [00:00<?, ?it/s] 7%|▋ | 1/15 [00:00<00:10, 1.30it/s] 13%|█▎ | 2/15 [00:01<00:10, 1.30it/s] 20%|██ | 3/15 [00:02<00:09, 1.30it/s] 27%|██▋ | 4/15 [00:03<00:08, 1.30it/s] 33%|███▎ | 5/15 [00:03<00:07, 1.29it/s] 40%|████ | 6/15 [00:04<00:06, 1.30it/s] 47%|████▋ | 7/15 [00:05<00:06, 1.30it/s] 53%|█████▎ | 8/15 [00:06<00:05, 1.30it/s] 60%|██████ | 9/15 [00:06<00:04, 1.30it/s] 67%|██████▋ | 10/15 [00:07<00:03, 1.30it/s] 73%|███████▎ | 11/15 [00:08<00:03, 1.30it/s] 80%|████████ | 12/15 [00:09<00:02, 1.30it/s] 87%|████████▋ | 13/15 [00:10<00:01, 1.30it/s] 93%|█████████▎| 14/15 [00:10<00:00, 1.30it/s] 100%|██████████| 15/15 [00:11<00:00, 1.29it/s] 100%|██████████| 15/15 [00:11<00:00, 1.30it/s]
Prediction
mcai/absolutebeauty-v1.0-img2img:d29c2644ID6hoi4uxvdrbi7l2kwsenq57saqStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- prompt
- Punk rock girl with long blonde hair, jeans, and a smooth short black leather jacket, wearing a bra under the jacket, full body with gun ambient lighting, soft glow, elegant, 16,accurate anatomy, sharp focus, dark fantasy cgi still, artgerm, taken on nikon d750, scenic, gossamer, iridescent, ethereal, auroracore, vaporwave, splash art, pixiv, tumblr instagram
- upscale
- 2
- strength
- 0.7
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- num_inference_steps
- 30
{ "image": "https://replicate.delivery/pbxt/IvxijBrPk4FrljxOrjQZFZhpPHxHkPAKYB6AD8kRhnTR4Fww/out-0%20%285%29.png", "prompt": "Punk rock girl with long blonde hair, jeans, and a smooth short black leather jacket, wearing a bra under the jacket, full body with gun ambient lighting, soft glow, elegant, 16,accurate anatomy, sharp focus, dark fantasy cgi still, artgerm, taken on nikon d750, scenic, gossamer, iridescent, ethereal, auroracore, vaporwave, splash art, pixiv, tumblr instagram", "upscale": 2, "strength": 0.7, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }
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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", { input: { image: "https://replicate.delivery/pbxt/IvxijBrPk4FrljxOrjQZFZhpPHxHkPAKYB6AD8kRhnTR4Fww/out-0%20%285%29.png", prompt: "Punk rock girl with long blonde hair, jeans, and a smooth short black leather jacket, wearing a bra under the jacket, full body with gun ambient lighting, soft glow, elegant, 16,accurate anatomy, sharp focus, dark fantasy cgi still, artgerm, taken on nikon d750, scenic, gossamer, iridescent, ethereal, auroracore, vaporwave, splash art, pixiv, tumblr instagram", upscale: 2, strength: 0.7, scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", num_inference_steps: 30 } } ); 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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", input={ "image": "https://replicate.delivery/pbxt/IvxijBrPk4FrljxOrjQZFZhpPHxHkPAKYB6AD8kRhnTR4Fww/out-0%20%285%29.png", "prompt": "Punk rock girl with long blonde hair, jeans, and a smooth short black leather jacket, wearing a bra under the jacket, full body with gun ambient lighting, soft glow, elegant, 16,accurate anatomy, sharp focus, dark fantasy cgi still, artgerm, taken on nikon d750, scenic, gossamer, iridescent, ethereal, auroracore, vaporwave, splash art, pixiv, tumblr instagram", "upscale": 2, "strength": 0.7, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } ) 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 mcai/absolutebeauty-v1.0-img2img 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": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", "input": { "image": "https://replicate.delivery/pbxt/IvxijBrPk4FrljxOrjQZFZhpPHxHkPAKYB6AD8kRhnTR4Fww/out-0%20%285%29.png", "prompt": "Punk rock girl with long blonde hair, jeans, and a smooth short black leather jacket, wearing a bra under the jacket, full body with gun ambient lighting, soft glow, elegant, 16,accurate anatomy, sharp focus, dark fantasy cgi still, artgerm, taken on nikon d750, scenic, gossamer, iridescent, ethereal, auroracore, vaporwave, splash art, pixiv, tumblr instagram", "upscale": 2, "strength": 0.7, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612 \ -i 'image="https://replicate.delivery/pbxt/IvxijBrPk4FrljxOrjQZFZhpPHxHkPAKYB6AD8kRhnTR4Fww/out-0%20%285%29.png"' \ -i 'prompt="Punk rock girl with long blonde hair, jeans, and a smooth short black leather jacket, wearing a bra under the jacket, full body with gun ambient lighting, soft glow, elegant, 16,accurate anatomy, sharp focus, dark fantasy cgi still, artgerm, taken on nikon d750, scenic, gossamer, iridescent, ethereal, auroracore, vaporwave, splash art, pixiv, tumblr instagram"' \ -i 'upscale=2' \ -i 'strength=0.7' \ -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, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \ -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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/IvxijBrPk4FrljxOrjQZFZhpPHxHkPAKYB6AD8kRhnTR4Fww/out-0%20%285%29.png", "prompt": "Punk rock girl with long blonde hair, jeans, and a smooth short black leather jacket, wearing a bra under the jacket, full body with gun ambient lighting, soft glow, elegant, 16,accurate anatomy, sharp focus, dark fantasy cgi still, artgerm, taken on nikon d750, scenic, gossamer, iridescent, ethereal, auroracore, vaporwave, splash art, pixiv, tumblr instagram", "upscale": 2, "strength": 0.7, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-06-03T01:11:15.848262Z", "created_at": "2023-06-03T01:11:08.606561Z", "data_removed": false, "error": null, "id": "6hoi4uxvdrbi7l2kwsenq57saq", "input": { "image": "https://replicate.delivery/pbxt/IvxijBrPk4FrljxOrjQZFZhpPHxHkPAKYB6AD8kRhnTR4Fww/out-0%20%285%29.png", "prompt": "Punk rock girl with long blonde hair, jeans, and a smooth short black leather jacket, wearing a bra under the jacket, full body with gun ambient lighting, soft glow, elegant, 16,accurate anatomy, sharp focus, dark fantasy cgi still, artgerm, taken on nikon d750, scenic, gossamer, iridescent, ethereal, auroracore, vaporwave, splash art, pixiv, tumblr instagram", "upscale": 2, "strength": 0.7, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }, "logs": "Using seed: 35278\nThe following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['ore, vaporwave, splash art, pixiv, tumblr instagram']\n 0%| | 0/21 [00:00<?, ?it/s]\n 5%|▍ | 1/21 [00:00<00:04, 4.35it/s]\n 10%|▉ | 2/21 [00:00<00:04, 4.33it/s]\n 14%|█▍ | 3/21 [00:00<00:04, 4.33it/s]\n 19%|█▉ | 4/21 [00:00<00:03, 4.32it/s]\n 24%|██▍ | 5/21 [00:01<00:03, 4.32it/s]\n 29%|██▊ | 6/21 [00:01<00:03, 4.32it/s]\n 33%|███▎ | 7/21 [00:01<00:03, 4.31it/s]\n 38%|███▊ | 8/21 [00:01<00:03, 4.31it/s]\n 43%|████▎ | 9/21 [00:02<00:02, 4.30it/s]\n 48%|████▊ | 10/21 [00:02<00:02, 4.30it/s]\n 52%|█████▏ | 11/21 [00:02<00:02, 4.29it/s]\n 57%|█████▋ | 12/21 [00:02<00:02, 4.29it/s]\n 62%|██████▏ | 13/21 [00:03<00:01, 4.29it/s]\n 67%|██████▋ | 14/21 [00:03<00:01, 4.29it/s]\n 71%|███████▏ | 15/21 [00:03<00:01, 4.29it/s]\n 76%|███████▌ | 16/21 [00:03<00:01, 4.29it/s]\n 81%|████████ | 17/21 [00:03<00:00, 4.29it/s]\n 86%|████████▌ | 18/21 [00:04<00:00, 4.29it/s]\n 90%|█████████ | 19/21 [00:04<00:00, 4.29it/s]\n 95%|█████████▌| 20/21 [00:04<00:00, 4.29it/s]\n100%|██████████| 21/21 [00:04<00:00, 4.29it/s]\n100%|██████████| 21/21 [00:04<00:00, 4.30it/s]", "metrics": { "predict_time": 7.307371, "total_time": 7.241701 }, "output": [ "https://replicate.delivery/pbxt/nR8It8Ijk0KnPZxFGL60xg1FORbCGLKrYZsH1zjNQb3MFhQE/out-0.png" ], "started_at": "2023-06-03T01:11:08.540891Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/6hoi4uxvdrbi7l2kwsenq57saq", "cancel": "https://api.replicate.com/v1/predictions/6hoi4uxvdrbi7l2kwsenq57saq/cancel" }, "version": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612" }
Generated inUsing seed: 35278 The following part of your input was truncated because CLIP can only handle sequences up to 77 tokens: ['ore, vaporwave, splash art, pixiv, tumblr instagram'] 0%| | 0/21 [00:00<?, ?it/s] 5%|▍ | 1/21 [00:00<00:04, 4.35it/s] 10%|▉ | 2/21 [00:00<00:04, 4.33it/s] 14%|█▍ | 3/21 [00:00<00:04, 4.33it/s] 19%|█▉ | 4/21 [00:00<00:03, 4.32it/s] 24%|██▍ | 5/21 [00:01<00:03, 4.32it/s] 29%|██▊ | 6/21 [00:01<00:03, 4.32it/s] 33%|███▎ | 7/21 [00:01<00:03, 4.31it/s] 38%|███▊ | 8/21 [00:01<00:03, 4.31it/s] 43%|████▎ | 9/21 [00:02<00:02, 4.30it/s] 48%|████▊ | 10/21 [00:02<00:02, 4.30it/s] 52%|█████▏ | 11/21 [00:02<00:02, 4.29it/s] 57%|█████▋ | 12/21 [00:02<00:02, 4.29it/s] 62%|██████▏ | 13/21 [00:03<00:01, 4.29it/s] 67%|██████▋ | 14/21 [00:03<00:01, 4.29it/s] 71%|███████▏ | 15/21 [00:03<00:01, 4.29it/s] 76%|███████▌ | 16/21 [00:03<00:01, 4.29it/s] 81%|████████ | 17/21 [00:03<00:00, 4.29it/s] 86%|████████▌ | 18/21 [00:04<00:00, 4.29it/s] 90%|█████████ | 19/21 [00:04<00:00, 4.29it/s] 95%|█████████▌| 20/21 [00:04<00:00, 4.29it/s] 100%|██████████| 21/21 [00:04<00:00, 4.29it/s] 100%|██████████| 21/21 [00:04<00:00, 4.30it/s]
Prediction
mcai/absolutebeauty-v1.0-img2img:d29c2644IDjhz6sc6sdnbtzfrns4zce2xv7qStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- prompt
- A beautiful dryad with ((3d rose tattoos on her arms)), ((ornate barkskin armor)), and ((pink color hair)) emerging from the forest. She embodies the power of the earth and the flowers. She is confident, intense. ((Gnarled forest trees background.))
- upscale
- 2
- strength
- 0.5
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- num_inference_steps
- 30
{ "image": "https://replicate.delivery/pbxt/Ivxqz2aOhuAr0zPkLIBjW89GHtEz7U95PPY6lTbdVYaEvsNV/out-0%20%286%29.png", "prompt": "A beautiful dryad with ((3d rose tattoos on her arms)), ((ornate barkskin armor)), and ((pink color hair)) emerging from the forest. She embodies the power of the earth and the flowers. She is confident, intense. ((Gnarled forest trees background.))", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }
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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", { input: { image: "https://replicate.delivery/pbxt/Ivxqz2aOhuAr0zPkLIBjW89GHtEz7U95PPY6lTbdVYaEvsNV/out-0%20%286%29.png", prompt: "A beautiful dryad with ((3d rose tattoos on her arms)), ((ornate barkskin armor)), and ((pink color hair)) emerging from the forest. She embodies the power of the earth and the flowers. She is confident, intense. ((Gnarled forest trees background.))", upscale: 2, strength: 0.5, scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", num_inference_steps: 30 } } ); 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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", input={ "image": "https://replicate.delivery/pbxt/Ivxqz2aOhuAr0zPkLIBjW89GHtEz7U95PPY6lTbdVYaEvsNV/out-0%20%286%29.png", "prompt": "A beautiful dryad with ((3d rose tattoos on her arms)), ((ornate barkskin armor)), and ((pink color hair)) emerging from the forest. She embodies the power of the earth and the flowers. She is confident, intense. ((Gnarled forest trees background.))", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } ) 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 mcai/absolutebeauty-v1.0-img2img 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": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", "input": { "image": "https://replicate.delivery/pbxt/Ivxqz2aOhuAr0zPkLIBjW89GHtEz7U95PPY6lTbdVYaEvsNV/out-0%20%286%29.png", "prompt": "A beautiful dryad with ((3d rose tattoos on her arms)), ((ornate barkskin armor)), and ((pink color hair)) emerging from the forest. She embodies the power of the earth and the flowers. She is confident, intense. ((Gnarled forest trees background.))", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612 \ -i 'image="https://replicate.delivery/pbxt/Ivxqz2aOhuAr0zPkLIBjW89GHtEz7U95PPY6lTbdVYaEvsNV/out-0%20%286%29.png"' \ -i 'prompt="A beautiful dryad with ((3d rose tattoos on her arms)), ((ornate barkskin armor)), and ((pink color hair)) emerging from the forest. She embodies the power of the earth and the flowers. She is confident, intense. ((Gnarled forest trees background.))"' \ -i 'upscale=2' \ -i 'strength=0.5' \ -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, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \ -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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/Ivxqz2aOhuAr0zPkLIBjW89GHtEz7U95PPY6lTbdVYaEvsNV/out-0%20%286%29.png", "prompt": "A beautiful dryad with ((3d rose tattoos on her arms)), ((ornate barkskin armor)), and ((pink color hair)) emerging from the forest. She embodies the power of the earth and the flowers. She is confident, intense. ((Gnarled forest trees background.))", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-06-03T01:19:57.574935Z", "created_at": "2023-06-03T01:19:51.543699Z", "data_removed": false, "error": null, "id": "jhz6sc6sdnbtzfrns4zce2xv7q", "input": { "image": "https://replicate.delivery/pbxt/Ivxqz2aOhuAr0zPkLIBjW89GHtEz7U95PPY6lTbdVYaEvsNV/out-0%20%286%29.png", "prompt": "A beautiful dryad with ((3d rose tattoos on her arms)), ((ornate barkskin armor)), and ((pink color hair)) emerging from the forest. She embodies the power of the earth and the flowers. She is confident, intense. ((Gnarled forest trees background.))", "upscale": 2, "strength": 0.5, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }, "logs": "Using seed: 19960\n 0%| | 0/15 [00:00<?, ?it/s]\n 7%|▋ | 1/15 [00:00<00:03, 4.10it/s]\n 13%|█▎ | 2/15 [00:00<00:03, 4.23it/s]\n 20%|██ | 3/15 [00:00<00:02, 4.28it/s]\n 27%|██▋ | 4/15 [00:00<00:02, 4.30it/s]\n 33%|███▎ | 5/15 [00:01<00:02, 4.32it/s]\n 40%|████ | 6/15 [00:01<00:02, 4.32it/s]\n 47%|████▋ | 7/15 [00:01<00:01, 4.32it/s]\n 53%|█████▎ | 8/15 [00:01<00:01, 4.32it/s]\n 60%|██████ | 9/15 [00:02<00:01, 4.32it/s]\n 67%|██████▋ | 10/15 [00:02<00:01, 4.32it/s]\n 73%|███████▎ | 11/15 [00:02<00:00, 4.32it/s]\n 80%|████████ | 12/15 [00:02<00:00, 4.32it/s]\n 87%|████████▋ | 13/15 [00:03<00:00, 4.32it/s]\n 93%|█████████▎| 14/15 [00:03<00:00, 4.31it/s]\n100%|██████████| 15/15 [00:03<00:00, 4.31it/s]\n100%|██████████| 15/15 [00:03<00:00, 4.31it/s]", "metrics": { "predict_time": 6.189898, "total_time": 6.031236 }, "output": [ "https://replicate.delivery/pbxt/2cbFmcK3f4yKPiMCHwDGAZfd3DXi2q5eukzrSYYT0ZY45IEiA/out-0.png" ], "started_at": "2023-06-03T01:19:51.385037Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/jhz6sc6sdnbtzfrns4zce2xv7q", "cancel": "https://api.replicate.com/v1/predictions/jhz6sc6sdnbtzfrns4zce2xv7q/cancel" }, "version": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612" }
Generated inUsing seed: 19960 0%| | 0/15 [00:00<?, ?it/s] 7%|▋ | 1/15 [00:00<00:03, 4.10it/s] 13%|█▎ | 2/15 [00:00<00:03, 4.23it/s] 20%|██ | 3/15 [00:00<00:02, 4.28it/s] 27%|██▋ | 4/15 [00:00<00:02, 4.30it/s] 33%|███▎ | 5/15 [00:01<00:02, 4.32it/s] 40%|████ | 6/15 [00:01<00:02, 4.32it/s] 47%|████▋ | 7/15 [00:01<00:01, 4.32it/s] 53%|█████▎ | 8/15 [00:01<00:01, 4.32it/s] 60%|██████ | 9/15 [00:02<00:01, 4.32it/s] 67%|██████▋ | 10/15 [00:02<00:01, 4.32it/s] 73%|███████▎ | 11/15 [00:02<00:00, 4.32it/s] 80%|████████ | 12/15 [00:02<00:00, 4.32it/s] 87%|████████▋ | 13/15 [00:03<00:00, 4.32it/s] 93%|█████████▎| 14/15 [00:03<00:00, 4.31it/s] 100%|██████████| 15/15 [00:03<00:00, 4.31it/s] 100%|██████████| 15/15 [00:03<00:00, 4.31it/s]
Prediction
mcai/absolutebeauty-v1.0-img2img:d29c2644IDvxkgky3plvhwxh6d7l3miyx4fiStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- prompt
- Girl With A Pearl Earring.
- upscale
- 1
- strength
- 0.3
- scheduler
- EulerAncestralDiscrete
- num_outputs
- 1
- guidance_scale
- 7.5
- negative_prompt
- disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye
- num_inference_steps
- 30
{ "image": "https://replicate.delivery/pbxt/Ivy3PrONNiOURONDApNDaIxr35qgB06GYPeUB7GZdFSVuSrh/vermeer-01.webp", "prompt": "Girl With A Pearl Earring.", "upscale": 1, "strength": 0.3, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }
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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", { input: { image: "https://replicate.delivery/pbxt/Ivy3PrONNiOURONDApNDaIxr35qgB06GYPeUB7GZdFSVuSrh/vermeer-01.webp", prompt: "Girl With A Pearl Earring.", upscale: 1, strength: 0.3, scheduler: "EulerAncestralDiscrete", num_outputs: 1, guidance_scale: 7.5, negative_prompt: "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", num_inference_steps: 30 } } ); 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 mcai/absolutebeauty-v1.0-img2img using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "mcai/absolutebeauty-v1.0-img2img:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", input={ "image": "https://replicate.delivery/pbxt/Ivy3PrONNiOURONDApNDaIxr35qgB06GYPeUB7GZdFSVuSrh/vermeer-01.webp", "prompt": "Girl With A Pearl Earring.", "upscale": 1, "strength": 0.3, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } ) 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 mcai/absolutebeauty-v1.0-img2img 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": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612", "input": { "image": "https://replicate.delivery/pbxt/Ivy3PrONNiOURONDApNDaIxr35qgB06GYPeUB7GZdFSVuSrh/vermeer-01.webp", "prompt": "Girl With A Pearl Earring.", "upscale": 1, "strength": 0.3, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612 \ -i 'image="https://replicate.delivery/pbxt/Ivy3PrONNiOURONDApNDaIxr35qgB06GYPeUB7GZdFSVuSrh/vermeer-01.webp"' \ -i 'prompt="Girl With A Pearl Earring."' \ -i 'upscale=1' \ -i 'strength=0.3' \ -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, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye"' \ -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/absolutebeauty-v1.0-img2img@sha256:d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612
curl -s -X POST \ -H "Content-Type: application/json" \ -d $'{ "input": { "image": "https://replicate.delivery/pbxt/Ivy3PrONNiOURONDApNDaIxr35qgB06GYPeUB7GZdFSVuSrh/vermeer-01.webp", "prompt": "Girl With A Pearl Earring.", "upscale": 1, "strength": 0.3, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 } }' \ http://localhost:5000/predictions
To learn more, take a look at the Cog documentation.
Output
{ "completed_at": "2023-06-03T01:33:07.560074Z", "created_at": "2023-06-03T01:32:58.194293Z", "data_removed": false, "error": null, "id": "vxkgky3plvhwxh6d7l3miyx4fi", "input": { "image": "https://replicate.delivery/pbxt/Ivy3PrONNiOURONDApNDaIxr35qgB06GYPeUB7GZdFSVuSrh/vermeer-01.webp", "prompt": "Girl With A Pearl Earring.", "upscale": 1, "strength": 0.3, "scheduler": "EulerAncestralDiscrete", "num_outputs": 1, "guidance_scale": 7.5, "negative_prompt": "disfigured, kitsch, ugly, oversaturated, greain, low-res, deformed, blurry, bad anatomy, poorly drawn face, mutation, mutated, extra limb, poorly drawn hands, missing limb, floating limbs, disconnected limbs, malformed hands, blur, out of focus, long neck, long body, disgusting, poorly drawn, childish, mutilated, mangled, old, surreal, calligraphy, sign, writing, watermark, text, body out of frame, extra legs, extra arms, extra feet, out of frame, poorly drawn feet, cross-eye", "num_inference_steps": 30 }, "logs": "Using seed: 42477\n 0%| | 0/9 [00:00<?, ?it/s]\n 11%|█ | 1/9 [00:00<00:05, 1.57it/s]\n 22%|██▏ | 2/9 [00:01<00:04, 1.57it/s]\n 33%|███▎ | 3/9 [00:01<00:03, 1.56it/s]\n 44%|████▍ | 4/9 [00:02<00:03, 1.56it/s]\n 56%|█████▌ | 5/9 [00:03<00:02, 1.56it/s]\n 67%|██████▋ | 6/9 [00:03<00:01, 1.56it/s]\n 78%|███████▊ | 7/9 [00:04<00:01, 1.56it/s]\n 89%|████████▉ | 8/9 [00:05<00:00, 1.56it/s]\n100%|██████████| 9/9 [00:05<00:00, 1.56it/s]\n100%|██████████| 9/9 [00:05<00:00, 1.56it/s]", "metrics": { "predict_time": 9.402829, "total_time": 9.365781 }, "output": [ "https://replicate.delivery/pbxt/PAjmIBBuL35rPleavK9qljYgZksqCY39yKO8zIwE2dbpUChIA/out-0.png" ], "started_at": "2023-06-03T01:32:58.157245Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/vxkgky3plvhwxh6d7l3miyx4fi", "cancel": "https://api.replicate.com/v1/predictions/vxkgky3plvhwxh6d7l3miyx4fi/cancel" }, "version": "d29c26440c4d7b1b7066031d049bdcb505fa81ace10d17ea0184be43aa104612" }
Generated inUsing seed: 42477 0%| | 0/9 [00:00<?, ?it/s] 11%|█ | 1/9 [00:00<00:05, 1.57it/s] 22%|██▏ | 2/9 [00:01<00:04, 1.57it/s] 33%|███▎ | 3/9 [00:01<00:03, 1.56it/s] 44%|████▍ | 4/9 [00:02<00:03, 1.56it/s] 56%|█████▌ | 5/9 [00:03<00:02, 1.56it/s] 67%|██████▋ | 6/9 [00:03<00:01, 1.56it/s] 78%|███████▊ | 7/9 [00:04<00:01, 1.56it/s] 89%|████████▉ | 8/9 [00:05<00:00, 1.56it/s] 100%|██████████| 9/9 [00:05<00:00, 1.56it/s] 100%|██████████| 9/9 [00:05<00:00, 1.56it/s]
Want to make some of these yourself?
Run this model