joetm / camerabooth-openpose-style
StableDiffusion 1.4 + T2IAdapter (ControlNet) with style and openpose adapters + two upscaling passes with Real-ESRGAN
- Public
- 477 runs
-
L40S
Prediction
joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801IDr7yq62dbey5zzowipztxcvkpqeStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- code
- seed
- 0
- booth
- public
- steps
- 50
- prompt
- cond_tau
- 1
- clip_mode
- best
- n_samples
- 1
- timestamp
- 0
- add_prompt
- neg_prompt
- (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d
- face_enhance
- style_weight
- 1
- use_upscaler
- detect_prompt
- guidance_scale
- 8
- style_cond_tau
- 0.8
- upscale_factor
- 2
- openpose_weight
- 1
{ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXpRuI6bfYB87gcojrnzdxoQPxLI556HiFlpx0je8VCrqIN/emily-sea-coiWR0gT8Cw-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXpSy8VwvgbJKtQMyVTLUssanX1GCvBUm8DbMmNPvezr9Et/dancers-at-the-bar.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }
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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", { input: { code: "", seed: 0, booth: "public", image: "https://replicate.delivery/pbxt/JdXpRuI6bfYB87gcojrnzdxoQPxLI556HiFlpx0je8VCrqIN/emily-sea-coiWR0gT8Cw-unsplash.jpg", steps: 50, prompt: "", artwork: "https://replicate.delivery/pbxt/JdXpSy8VwvgbJKtQMyVTLUssanX1GCvBUm8DbMmNPvezr9Et/dancers-at-the-bar.jpg", cond_tau: 1, clip_mode: "best", n_samples: 1, timestamp: 0, add_prompt: "", neg_prompt: "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", face_enhance: true, style_weight: 1, use_upscaler: true, detect_prompt: true, guidance_scale: 8, style_cond_tau: 0.8, upscale_factor: 2, openpose_weight: 1 } } ); // 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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", input={ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXpRuI6bfYB87gcojrnzdxoQPxLI556HiFlpx0je8VCrqIN/emily-sea-coiWR0gT8Cw-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXpSy8VwvgbJKtQMyVTLUssanX1GCvBUm8DbMmNPvezr9Et/dancers-at-the-bar.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": True, "style_weight": 1, "use_upscaler": True, "detect_prompt": True, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run joetm/camerabooth-openpose-style 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": "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXpRuI6bfYB87gcojrnzdxoQPxLI556HiFlpx0je8VCrqIN/emily-sea-coiWR0gT8Cw-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXpSy8VwvgbJKtQMyVTLUssanX1GCvBUm8DbMmNPvezr9Et/dancers-at-the-bar.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-03T19:58:25.170194Z", "created_at": "2023-10-03T19:57:47.683343Z", "data_removed": false, "error": null, "id": "r7yq62dbey5zzowipztxcvkpqe", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXpRuI6bfYB87gcojrnzdxoQPxLI556HiFlpx0je8VCrqIN/emily-sea-coiWR0gT8Cw-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXpSy8VwvgbJKtQMyVTLUssanX1GCvBUm8DbMmNPvezr9Et/dancers-at-the-bar.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }, "logs": "Using negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d\nDetecting prompt with CI (ViT-L-14/openai)...\nGlobal seed set to 45449\nLoading caption model blip-large...\nLoading CLIP model ViT-L-14/openai...\nLoaded CLIP model and data in 4.06 seconds.\n 0%| | 0/55 [00:00<?, ?it/s]\n 4%|▎ | 2/55 [00:00<00:04, 10.92it/s]\n 85%|████████▌ | 47/55 [00:00<00:00, 202.58it/s]\n100%|██████████| 55/55 [00:00<00:00, 182.46it/s]\nFlavor chain: 0%| | 0/32 [00:00<?, ?it/s]\nFlavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.21it/s]\nFlavor chain: 6%|▋ | 2/32 [00:01<00:25, 1.20it/s]\nFlavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.18it/s]\nFlavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.16it/s]\nFlavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.14it/s]\nFlavor chain: 19%|█▉ | 6/32 [00:05<00:23, 1.11it/s]\nFlavor chain: 22%|██▏ | 7/32 [00:06<00:23, 1.09it/s]\nFlavor chain: 25%|██▌ | 8/32 [00:07<00:22, 1.06it/s]\nFlavor chain: 28%|██▊ | 9/32 [00:08<00:22, 1.04it/s]\nFlavor chain: 28%|██▊ | 9/32 [00:09<00:23, 1.03s/it]\n 0%| | 0/55 [00:00<?, ?it/s]\n 76%|███████▋ | 42/55 [00:00<00:00, 411.97it/s]\n100%|██████████| 55/55 [00:00<00:00, 419.72it/s]\n 0%| | 0/6 [00:00<?, ?it/s]\n100%|██████████| 6/6 [00:00<00:00, 307.47it/s]\n 0%| | 0/50 [00:00<?, ?it/s]\n 88%|████████▊ | 44/50 [00:00<00:00, 431.33it/s]\n100%|██████████| 50/50 [00:00<00:00, 435.29it/s]\nPrompt: painting of a woman in a white dress and a man in a pink tutu, by Fernando Botero, extreme face contortion, pointe pose, mark ryden in the style of, fat latin woman dancing, by Zinaida Serebriakova, looking in the mirror, slutcore, image\nEnabling style adapter.\nEnabling openpose adapter.\nData shape for DDIM sampling is (1, 4, 64, 64), eta 0.0\nRunning DDIM Sampling with 50 timesteps\nDDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s]\nDDIM Sampler: 2%|▏ | 1/50 [00:00<00:08, 5.84it/s]\nDDIM Sampler: 4%|▍ | 2/50 [00:00<00:06, 7.28it/s]\nDDIM Sampler: 6%|▌ | 3/50 [00:00<00:05, 7.92it/s]\nDDIM Sampler: 8%|▊ | 4/50 [00:00<00:05, 8.26it/s]\nDDIM Sampler: 10%|█ | 5/50 [00:00<00:05, 8.46it/s]\nDDIM Sampler: 12%|█▏ | 6/50 [00:00<00:05, 8.59it/s]\nDDIM Sampler: 14%|█▍ | 7/50 [00:00<00:04, 8.67it/s]\nDDIM Sampler: 16%|█▌ | 8/50 [00:00<00:04, 8.72it/s]\nDDIM Sampler: 18%|█▊ | 9/50 [00:01<00:04, 8.76it/s]\nDDIM Sampler: 20%|██ | 10/50 [00:01<00:04, 8.78it/s]\nDDIM Sampler: 22%|██▏ | 11/50 [00:01<00:04, 8.79it/s]\nDDIM Sampler: 24%|██▍ | 12/50 [00:01<00:04, 8.81it/s]\nDDIM Sampler: 26%|██▌ | 13/50 [00:01<00:04, 8.81it/s]\nDDIM Sampler: 28%|██▊ | 14/50 [00:01<00:04, 8.81it/s]\nDDIM Sampler: 30%|███ | 15/50 [00:01<00:03, 8.81it/s]\nDDIM Sampler: 32%|███▏ | 16/50 [00:01<00:03, 8.82it/s]\nDDIM Sampler: 34%|███▍ | 17/50 [00:01<00:03, 8.82it/s]\nDDIM Sampler: 36%|███▌ | 18/50 [00:02<00:03, 8.83it/s]\nDDIM Sampler: 38%|███▊ | 19/50 [00:02<00:03, 8.83it/s]\nDDIM Sampler: 40%|████ | 20/50 [00:02<00:03, 8.83it/s]\nDDIM Sampler: 42%|████▏ | 21/50 [00:02<00:03, 8.83it/s]\nDDIM Sampler: 44%|████▍ | 22/50 [00:02<00:03, 8.83it/s]\nDDIM Sampler: 46%|████▌ | 23/50 [00:02<00:03, 8.83it/s]\nDDIM Sampler: 48%|████▊ | 24/50 [00:02<00:02, 8.83it/s]\nDDIM Sampler: 50%|█████ | 25/50 [00:02<00:02, 8.84it/s]\nDDIM Sampler: 52%|█████▏ | 26/50 [00:03<00:02, 8.84it/s]\nDDIM Sampler: 54%|█████▍ | 27/50 [00:03<00:02, 8.84it/s]\nDDIM Sampler: 56%|█████▌ | 28/50 [00:03<00:02, 8.85it/s]\nDDIM Sampler: 58%|█████▊ | 29/50 [00:03<00:02, 8.85it/s]\nDDIM Sampler: 60%|██████ | 30/50 [00:03<00:02, 8.84it/s]\nDDIM Sampler: 62%|██████▏ | 31/50 [00:03<00:02, 8.84it/s]\nDDIM Sampler: 64%|██████▍ | 32/50 [00:03<00:02, 8.83it/s]\nDDIM Sampler: 66%|██████▌ | 33/50 [00:03<00:01, 8.83it/s]\nDDIM Sampler: 68%|██████▊ | 34/50 [00:03<00:01, 8.84it/s]\nDDIM Sampler: 70%|███████ | 35/50 [00:04<00:01, 8.84it/s]\nDDIM Sampler: 72%|███████▏ | 36/50 [00:04<00:01, 8.84it/s]\nDDIM Sampler: 74%|███████▍ | 37/50 [00:04<00:01, 8.83it/s]\nDDIM Sampler: 76%|███████▌ | 38/50 [00:04<00:01, 8.84it/s]\nDDIM Sampler: 78%|███████▊ | 39/50 [00:04<00:01, 8.83it/s]\nDDIM Sampler: 80%|████████ | 40/50 [00:04<00:01, 8.84it/s]\nDDIM Sampler: 82%|████████▏ | 41/50 [00:04<00:01, 8.84it/s]\nDDIM Sampler: 84%|████████▍ | 42/50 [00:04<00:00, 8.85it/s]\nDDIM Sampler: 86%|████████▌ | 43/50 [00:04<00:00, 8.85it/s]\nDDIM Sampler: 88%|████████▊ | 44/50 [00:05<00:00, 8.84it/s]\nDDIM Sampler: 90%|█████████ | 45/50 [00:05<00:00, 8.84it/s]\nDDIM Sampler: 92%|█████████▏| 46/50 [00:05<00:00, 8.84it/s]\nDDIM Sampler: 94%|█████████▍| 47/50 [00:05<00:00, 8.84it/s]\nDDIM Sampler: 96%|█████████▌| 48/50 [00:05<00:00, 8.84it/s]\nDDIM Sampler: 98%|█████████▊| 49/50 [00:05<00:00, 8.85it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:05<00:00, 8.84it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:05<00:00, 8.75it/s]\nGenerated outputs/image0-steps50-cfg8.0-face_enhance.png\nRunning upscaler with face enhancement\nImage 0, upscaling 1/2, 2.0x\nImage 0, upscaling 2/2, 4.0x\nWritten poseimg to outputs/openpose.png\nDone. 2 image(s).", "metrics": { "predict_time": 37.534037, "total_time": 37.486851 }, "output": [ "https://pbxt.replicate.delivery/AUeqR0aFu31WV6je84i84ZmNWArp0zIs3w5Saxx2R8kfiEVjA/openpose.png", "https://pbxt.replicate.delivery/klfeLvbLdElbL0rMqJfHoHllMYeXIoe0rePhbR8eWi9fgRiqRA/image0-steps50-cfg8.0-face_enhance-2.0x2.0.png" ], "started_at": "2023-10-03T19:57:47.636157Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/r7yq62dbey5zzowipztxcvkpqe", "cancel": "https://api.replicate.com/v1/predictions/r7yq62dbey5zzowipztxcvkpqe/cancel" }, "version": "1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801" }
Generated inUsing negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d Detecting prompt with CI (ViT-L-14/openai)... Global seed set to 45449 Loading caption model blip-large... Loading CLIP model ViT-L-14/openai... Loaded CLIP model and data in 4.06 seconds. 0%| | 0/55 [00:00<?, ?it/s] 4%|▎ | 2/55 [00:00<00:04, 10.92it/s] 85%|████████▌ | 47/55 [00:00<00:00, 202.58it/s] 100%|██████████| 55/55 [00:00<00:00, 182.46it/s] Flavor chain: 0%| | 0/32 [00:00<?, ?it/s] Flavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.21it/s] Flavor chain: 6%|▋ | 2/32 [00:01<00:25, 1.20it/s] Flavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.18it/s] Flavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.16it/s] Flavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.14it/s] Flavor chain: 19%|█▉ | 6/32 [00:05<00:23, 1.11it/s] Flavor chain: 22%|██▏ | 7/32 [00:06<00:23, 1.09it/s] Flavor chain: 25%|██▌ | 8/32 [00:07<00:22, 1.06it/s] Flavor chain: 28%|██▊ | 9/32 [00:08<00:22, 1.04it/s] Flavor chain: 28%|██▊ | 9/32 [00:09<00:23, 1.03s/it] 0%| | 0/55 [00:00<?, ?it/s] 76%|███████▋ | 42/55 [00:00<00:00, 411.97it/s] 100%|██████████| 55/55 [00:00<00:00, 419.72it/s] 0%| | 0/6 [00:00<?, ?it/s] 100%|██████████| 6/6 [00:00<00:00, 307.47it/s] 0%| | 0/50 [00:00<?, ?it/s] 88%|████████▊ | 44/50 [00:00<00:00, 431.33it/s] 100%|██████████| 50/50 [00:00<00:00, 435.29it/s] Prompt: painting of a woman in a white dress and a man in a pink tutu, by Fernando Botero, extreme face contortion, pointe pose, mark ryden in the style of, fat latin woman dancing, by Zinaida Serebriakova, looking in the mirror, slutcore, image Enabling style adapter. Enabling openpose adapter. Data shape for DDIM sampling is (1, 4, 64, 64), eta 0.0 Running DDIM Sampling with 50 timesteps DDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s] DDIM Sampler: 2%|▏ | 1/50 [00:00<00:08, 5.84it/s] DDIM Sampler: 4%|▍ | 2/50 [00:00<00:06, 7.28it/s] DDIM Sampler: 6%|▌ | 3/50 [00:00<00:05, 7.92it/s] DDIM Sampler: 8%|▊ | 4/50 [00:00<00:05, 8.26it/s] DDIM Sampler: 10%|█ | 5/50 [00:00<00:05, 8.46it/s] DDIM Sampler: 12%|█▏ | 6/50 [00:00<00:05, 8.59it/s] DDIM Sampler: 14%|█▍ | 7/50 [00:00<00:04, 8.67it/s] DDIM Sampler: 16%|█▌ | 8/50 [00:00<00:04, 8.72it/s] DDIM Sampler: 18%|█▊ | 9/50 [00:01<00:04, 8.76it/s] DDIM Sampler: 20%|██ | 10/50 [00:01<00:04, 8.78it/s] DDIM Sampler: 22%|██▏ | 11/50 [00:01<00:04, 8.79it/s] DDIM Sampler: 24%|██▍ | 12/50 [00:01<00:04, 8.81it/s] DDIM Sampler: 26%|██▌ | 13/50 [00:01<00:04, 8.81it/s] DDIM Sampler: 28%|██▊ | 14/50 [00:01<00:04, 8.81it/s] DDIM Sampler: 30%|███ | 15/50 [00:01<00:03, 8.81it/s] DDIM Sampler: 32%|███▏ | 16/50 [00:01<00:03, 8.82it/s] DDIM Sampler: 34%|███▍ | 17/50 [00:01<00:03, 8.82it/s] DDIM Sampler: 36%|███▌ | 18/50 [00:02<00:03, 8.83it/s] DDIM Sampler: 38%|███▊ | 19/50 [00:02<00:03, 8.83it/s] DDIM Sampler: 40%|████ | 20/50 [00:02<00:03, 8.83it/s] DDIM Sampler: 42%|████▏ | 21/50 [00:02<00:03, 8.83it/s] DDIM Sampler: 44%|████▍ | 22/50 [00:02<00:03, 8.83it/s] DDIM Sampler: 46%|████▌ | 23/50 [00:02<00:03, 8.83it/s] DDIM Sampler: 48%|████▊ | 24/50 [00:02<00:02, 8.83it/s] DDIM Sampler: 50%|█████ | 25/50 [00:02<00:02, 8.84it/s] DDIM Sampler: 52%|█████▏ | 26/50 [00:03<00:02, 8.84it/s] DDIM Sampler: 54%|█████▍ | 27/50 [00:03<00:02, 8.84it/s] DDIM Sampler: 56%|█████▌ | 28/50 [00:03<00:02, 8.85it/s] DDIM Sampler: 58%|█████▊ | 29/50 [00:03<00:02, 8.85it/s] DDIM Sampler: 60%|██████ | 30/50 [00:03<00:02, 8.84it/s] DDIM Sampler: 62%|██████▏ | 31/50 [00:03<00:02, 8.84it/s] DDIM Sampler: 64%|██████▍ | 32/50 [00:03<00:02, 8.83it/s] DDIM Sampler: 66%|██████▌ | 33/50 [00:03<00:01, 8.83it/s] DDIM Sampler: 68%|██████▊ | 34/50 [00:03<00:01, 8.84it/s] DDIM Sampler: 70%|███████ | 35/50 [00:04<00:01, 8.84it/s] DDIM Sampler: 72%|███████▏ | 36/50 [00:04<00:01, 8.84it/s] DDIM Sampler: 74%|███████▍ | 37/50 [00:04<00:01, 8.83it/s] DDIM Sampler: 76%|███████▌ | 38/50 [00:04<00:01, 8.84it/s] DDIM Sampler: 78%|███████▊ | 39/50 [00:04<00:01, 8.83it/s] DDIM Sampler: 80%|████████ | 40/50 [00:04<00:01, 8.84it/s] DDIM Sampler: 82%|████████▏ | 41/50 [00:04<00:01, 8.84it/s] DDIM Sampler: 84%|████████▍ | 42/50 [00:04<00:00, 8.85it/s] DDIM Sampler: 86%|████████▌ | 43/50 [00:04<00:00, 8.85it/s] DDIM Sampler: 88%|████████▊ | 44/50 [00:05<00:00, 8.84it/s] DDIM Sampler: 90%|█████████ | 45/50 [00:05<00:00, 8.84it/s] DDIM Sampler: 92%|█████████▏| 46/50 [00:05<00:00, 8.84it/s] DDIM Sampler: 94%|█████████▍| 47/50 [00:05<00:00, 8.84it/s] DDIM Sampler: 96%|█████████▌| 48/50 [00:05<00:00, 8.84it/s] DDIM Sampler: 98%|█████████▊| 49/50 [00:05<00:00, 8.85it/s] DDIM Sampler: 100%|██████████| 50/50 [00:05<00:00, 8.84it/s] DDIM Sampler: 100%|██████████| 50/50 [00:05<00:00, 8.75it/s] Generated outputs/image0-steps50-cfg8.0-face_enhance.png Running upscaler with face enhancement Image 0, upscaling 1/2, 2.0x Image 0, upscaling 2/2, 4.0x Written poseimg to outputs/openpose.png Done. 2 image(s).
Prediction
joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801IDywj4pr3bcbmsl7rt5cxp2o7yr4StatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- code
- seed
- 0
- booth
- public
- steps
- 50
- prompt
- cond_tau
- 1
- clip_mode
- best
- n_samples
- 1
- timestamp
- 0
- add_prompt
- neg_prompt
- (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d
- face_enhance
- style_weight
- 1
- use_upscaler
- detect_prompt
- guidance_scale
- 8
- style_cond_tau
- 0.8
- upscale_factor
- 2
- openpose_weight
- 1
{ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXsl8yZrpClNArCKRFu0MEMVOO8dbb0D7elBlLxpPeY1YNe/engin-akyurt-NSfMk2CY204-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXskt0uCldDgnZoxKcvTwi4LQ2TvjtD4m7ZG0IK8chCBkvn/Hyokkays_-_Edvard_Isto%2C_1899.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }
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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", { input: { code: "", seed: 0, booth: "public", image: "https://replicate.delivery/pbxt/JdXsl8yZrpClNArCKRFu0MEMVOO8dbb0D7elBlLxpPeY1YNe/engin-akyurt-NSfMk2CY204-unsplash.jpg", steps: 50, prompt: "", artwork: "https://replicate.delivery/pbxt/JdXskt0uCldDgnZoxKcvTwi4LQ2TvjtD4m7ZG0IK8chCBkvn/Hyokkays_-_Edvard_Isto%2C_1899.jpg", cond_tau: 1, clip_mode: "best", n_samples: 1, timestamp: 0, add_prompt: "", neg_prompt: "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", face_enhance: true, style_weight: 1, use_upscaler: true, detect_prompt: true, guidance_scale: 8, style_cond_tau: 0.8, upscale_factor: 2, openpose_weight: 1 } } ); // 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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", input={ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXsl8yZrpClNArCKRFu0MEMVOO8dbb0D7elBlLxpPeY1YNe/engin-akyurt-NSfMk2CY204-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXskt0uCldDgnZoxKcvTwi4LQ2TvjtD4m7ZG0IK8chCBkvn/Hyokkays_-_Edvard_Isto%2C_1899.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": True, "style_weight": 1, "use_upscaler": True, "detect_prompt": True, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run joetm/camerabooth-openpose-style 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": "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXsl8yZrpClNArCKRFu0MEMVOO8dbb0D7elBlLxpPeY1YNe/engin-akyurt-NSfMk2CY204-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXskt0uCldDgnZoxKcvTwi4LQ2TvjtD4m7ZG0IK8chCBkvn/Hyokkays_-_Edvard_Isto%2C_1899.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-03T20:02:05.319973Z", "created_at": "2023-10-03T20:01:15.863552Z", "data_removed": false, "error": null, "id": "ywj4pr3bcbmsl7rt5cxp2o7yr4", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXsl8yZrpClNArCKRFu0MEMVOO8dbb0D7elBlLxpPeY1YNe/engin-akyurt-NSfMk2CY204-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXskt0uCldDgnZoxKcvTwi4LQ2TvjtD4m7ZG0IK8chCBkvn/Hyokkays_-_Edvard_Isto%2C_1899.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }, "logs": "Using negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d\nDetecting prompt with CI (ViT-L-14/openai)...\nGlobal seed set to 55212\nLoading caption model blip-large...\nLoading CLIP model ViT-L-14/openai...\nLoaded CLIP model and data in 4.07 seconds.\n 0%| | 0/55 [00:00<?, ?it/s]\n 76%|███████▋ | 42/55 [00:00<00:00, 415.71it/s]\n100%|██████████| 55/55 [00:00<00:00, 424.82it/s]\nFlavor chain: 0%| | 0/32 [00:00<?, ?it/s]\nFlavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.21it/s]\nFlavor chain: 6%|▋ | 2/32 [00:01<00:24, 1.21it/s]\nFlavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.20it/s]\nFlavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.13it/s]\nFlavor chain: 16%|█▌ | 5/32 [00:04<00:24, 1.08it/s]\nFlavor chain: 19%|█▉ | 6/32 [00:05<00:25, 1.03it/s]\nFlavor chain: 22%|██▏ | 7/32 [00:06<00:25, 1.01s/it]\nFlavor chain: 25%|██▌ | 8/32 [00:07<00:24, 1.04s/it]\nFlavor chain: 28%|██▊ | 9/32 [00:08<00:24, 1.06s/it]\nFlavor chain: 31%|███▏ | 10/32 [00:09<00:24, 1.10s/it]\nFlavor chain: 34%|███▍ | 11/32 [00:11<00:23, 1.14s/it]\nFlavor chain: 38%|███▊ | 12/32 [00:12<00:23, 1.17s/it]\nFlavor chain: 41%|████ | 13/32 [00:13<00:22, 1.19s/it]\nFlavor chain: 44%|████▍ | 14/32 [00:14<00:21, 1.22s/it]\nFlavor chain: 47%|████▋ | 15/32 [00:16<00:21, 1.25s/it]\nFlavor chain: 47%|████▋ | 15/32 [00:17<00:19, 1.17s/it]\n 0%| | 0/55 [00:00<?, ?it/s]\n 76%|███████▋ | 42/55 [00:00<00:00, 418.04it/s]\n100%|██████████| 55/55 [00:00<00:00, 423.46it/s]\n 0%| | 0/6 [00:00<?, ?it/s]\n100%|██████████| 6/6 [00:00<00:00, 314.76it/s]\n 0%| | 0/50 [00:00<?, ?it/s]\n 90%|█████████ | 45/50 [00:00<00:00, 442.86it/s]\n100%|██████████| 50/50 [00:00<00:00, 446.90it/s]\nPrompt: painting of a woman holding a bird on her arm, the entrance of valhalla, flowing book pages, by Ernest Biéler, sea storm, in honor of jupiter's day, kirsi salonen, bald eagle, freemasons, gale-force winds, by Hans Sandreuter, winds of winter, colossal, nordic folk, destroyed nature, --n 6\nEnabling style adapter.\nEnabling openpose adapter.\nData shape for DDIM sampling is (1, 4, 96, 64), eta 0.0\nRunning DDIM Sampling with 50 timesteps\nDDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s]\nDDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 4.00it/s]\nDDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.16it/s]\nDDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.21it/s]\nDDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.24it/s]\nDDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.25it/s]\nDDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.26it/s]\nDDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.27it/s]\nDDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.27it/s]\nDDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.28it/s]\nDDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.28it/s]\nDDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.28it/s]\nDDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.28it/s]\nDDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.28it/s]\nDDIM Sampler: 34%|███▍ | 17/50 [00:03<00:07, 4.28it/s]\nDDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.28it/s]\nDDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.28it/s]\nDDIM Sampler: 40%|████ | 20/50 [00:04<00:07, 4.28it/s]\nDDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.28it/s]\nDDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.28it/s]\nDDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.28it/s]\nDDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.28it/s]\nDDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.28it/s]\nDDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.28it/s]\nDDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.28it/s]\nDDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.28it/s]\nDDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.28it/s]\nDDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.28it/s]\nDDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.28it/s]\nDDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.28it/s]\nDDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.28it/s]\nDDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.28it/s]\nDDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.28it/s]\nDDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.28it/s]\nDDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.28it/s]\nDDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.28it/s]\nDDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.28it/s]\nDDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.28it/s]\nDDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.28it/s]\nDDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.29it/s]\nDDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.29it/s]\nDDIM Sampler: 94%|█████████▍| 47/50 [00:10<00:00, 4.29it/s]\nDDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.28it/s]\nGenerated outputs/image0-steps50-cfg8.0-face_enhance.png\nRunning upscaler with face enhancement\nImage 0, upscaling 1/2, 2.0x\nImage 0, upscaling 2/2, 4.0x\nWritten poseimg to outputs/openpose.png\nDone. 2 image(s).", "metrics": { "predict_time": 49.499701, "total_time": 49.456421 }, "output": [ "https://pbxt.replicate.delivery/ZsQqLyLXWJohOxs4YxrcXsGfR2GccKYHTinNBK1ZhVodKR1IA/openpose.png", "https://pbxt.replicate.delivery/bfhVcZ85uCUjMycYvSgFMjb3Kx2445wSBGgxBa2eHBs8UiqRA/image0-steps50-cfg8.0-face_enhance-2.0x2.0.png" ], "started_at": "2023-10-03T20:01:15.820272Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ywj4pr3bcbmsl7rt5cxp2o7yr4", "cancel": "https://api.replicate.com/v1/predictions/ywj4pr3bcbmsl7rt5cxp2o7yr4/cancel" }, "version": "1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801" }
Generated inUsing negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d Detecting prompt with CI (ViT-L-14/openai)... Global seed set to 55212 Loading caption model blip-large... Loading CLIP model ViT-L-14/openai... Loaded CLIP model and data in 4.07 seconds. 0%| | 0/55 [00:00<?, ?it/s] 76%|███████▋ | 42/55 [00:00<00:00, 415.71it/s] 100%|██████████| 55/55 [00:00<00:00, 424.82it/s] Flavor chain: 0%| | 0/32 [00:00<?, ?it/s] Flavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.21it/s] Flavor chain: 6%|▋ | 2/32 [00:01<00:24, 1.21it/s] Flavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.20it/s] Flavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.13it/s] Flavor chain: 16%|█▌ | 5/32 [00:04<00:24, 1.08it/s] Flavor chain: 19%|█▉ | 6/32 [00:05<00:25, 1.03it/s] Flavor chain: 22%|██▏ | 7/32 [00:06<00:25, 1.01s/it] Flavor chain: 25%|██▌ | 8/32 [00:07<00:24, 1.04s/it] Flavor chain: 28%|██▊ | 9/32 [00:08<00:24, 1.06s/it] Flavor chain: 31%|███▏ | 10/32 [00:09<00:24, 1.10s/it] Flavor chain: 34%|███▍ | 11/32 [00:11<00:23, 1.14s/it] Flavor chain: 38%|███▊ | 12/32 [00:12<00:23, 1.17s/it] Flavor chain: 41%|████ | 13/32 [00:13<00:22, 1.19s/it] Flavor chain: 44%|████▍ | 14/32 [00:14<00:21, 1.22s/it] Flavor chain: 47%|████▋ | 15/32 [00:16<00:21, 1.25s/it] Flavor chain: 47%|████▋ | 15/32 [00:17<00:19, 1.17s/it] 0%| | 0/55 [00:00<?, ?it/s] 76%|███████▋ | 42/55 [00:00<00:00, 418.04it/s] 100%|██████████| 55/55 [00:00<00:00, 423.46it/s] 0%| | 0/6 [00:00<?, ?it/s] 100%|██████████| 6/6 [00:00<00:00, 314.76it/s] 0%| | 0/50 [00:00<?, ?it/s] 90%|█████████ | 45/50 [00:00<00:00, 442.86it/s] 100%|██████████| 50/50 [00:00<00:00, 446.90it/s] Prompt: painting of a woman holding a bird on her arm, the entrance of valhalla, flowing book pages, by Ernest Biéler, sea storm, in honor of jupiter's day, kirsi salonen, bald eagle, freemasons, gale-force winds, by Hans Sandreuter, winds of winter, colossal, nordic folk, destroyed nature, --n 6 Enabling style adapter. Enabling openpose adapter. Data shape for DDIM sampling is (1, 4, 96, 64), eta 0.0 Running DDIM Sampling with 50 timesteps DDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s] DDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 4.00it/s] DDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.16it/s] DDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.21it/s] DDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.24it/s] DDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.25it/s] DDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.26it/s] DDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.27it/s] DDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.27it/s] DDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.28it/s] DDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.28it/s] DDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.28it/s] DDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.28it/s] DDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.28it/s] DDIM Sampler: 34%|███▍ | 17/50 [00:03<00:07, 4.28it/s] DDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.28it/s] DDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.28it/s] DDIM Sampler: 40%|████ | 20/50 [00:04<00:07, 4.28it/s] DDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.28it/s] DDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.28it/s] DDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.28it/s] DDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.28it/s] DDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.28it/s] DDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.28it/s] DDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.28it/s] DDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.28it/s] DDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.28it/s] DDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.28it/s] DDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.28it/s] DDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.28it/s] DDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.28it/s] DDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.28it/s] DDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.28it/s] DDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.28it/s] DDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.28it/s] DDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.28it/s] DDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.28it/s] DDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.28it/s] DDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.28it/s] DDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.29it/s] DDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.29it/s] DDIM Sampler: 94%|█████████▍| 47/50 [00:10<00:00, 4.29it/s] DDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.28it/s] Generated outputs/image0-steps50-cfg8.0-face_enhance.png Running upscaler with face enhancement Image 0, upscaling 1/2, 2.0x Image 0, upscaling 2/2, 4.0x Written poseimg to outputs/openpose.png Done. 2 image(s).
Prediction
joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801IDp3xzxf3bsrw6dcm4omuq7axknyStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- code
- seed
- 0
- booth
- public
- steps
- 50
- prompt
- cond_tau
- 1
- clip_mode
- best
- n_samples
- 1
- timestamp
- 0
- add_prompt
- neg_prompt
- (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d
- face_enhance
- style_weight
- 1
- use_upscaler
- detect_prompt
- guidance_scale
- 8
- style_cond_tau
- 0.8
- upscale_factor
- 2
- openpose_weight
- 1
{ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXuBKTHoiiQFeQAnk0LicZDnoqjwIBBZEpqFiGLVBBZ80Wn/engin-akyurt-NSfMk2CY204-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXuBDBzLQag3jNr305C50233ka2zhkt4Uuw2haHeiGdLo3K/icarus-1944.Large.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }
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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", { input: { code: "", seed: 0, booth: "public", image: "https://replicate.delivery/pbxt/JdXuBKTHoiiQFeQAnk0LicZDnoqjwIBBZEpqFiGLVBBZ80Wn/engin-akyurt-NSfMk2CY204-unsplash.jpg", steps: 50, prompt: "", artwork: "https://replicate.delivery/pbxt/JdXuBDBzLQag3jNr305C50233ka2zhkt4Uuw2haHeiGdLo3K/icarus-1944.Large.jpg", cond_tau: 1, clip_mode: "best", n_samples: 1, timestamp: 0, add_prompt: "", neg_prompt: "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", face_enhance: true, style_weight: 1, use_upscaler: true, detect_prompt: true, guidance_scale: 8, style_cond_tau: 0.8, upscale_factor: 2, openpose_weight: 1 } } ); // 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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", input={ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXuBKTHoiiQFeQAnk0LicZDnoqjwIBBZEpqFiGLVBBZ80Wn/engin-akyurt-NSfMk2CY204-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXuBDBzLQag3jNr305C50233ka2zhkt4Uuw2haHeiGdLo3K/icarus-1944.Large.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": True, "style_weight": 1, "use_upscaler": True, "detect_prompt": True, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run joetm/camerabooth-openpose-style 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": "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXuBKTHoiiQFeQAnk0LicZDnoqjwIBBZEpqFiGLVBBZ80Wn/engin-akyurt-NSfMk2CY204-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXuBDBzLQag3jNr305C50233ka2zhkt4Uuw2haHeiGdLo3K/icarus-1944.Large.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-03T20:03:30.164063Z", "created_at": "2023-10-03T20:02:46.000194Z", "data_removed": false, "error": null, "id": "p3xzxf3bsrw6dcm4omuq7axkny", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXuBKTHoiiQFeQAnk0LicZDnoqjwIBBZEpqFiGLVBBZ80Wn/engin-akyurt-NSfMk2CY204-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXuBDBzLQag3jNr305C50233ka2zhkt4Uuw2haHeiGdLo3K/icarus-1944.Large.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }, "logs": "Using negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d\nDetecting prompt with CI (ViT-L-14/openai)...\nGlobal seed set to 22145\nLoading caption model blip-large...\nLoading CLIP model ViT-L-14/openai...\nLoaded CLIP model and data in 4.25 seconds.\n 0%| | 0/55 [00:00<?, ?it/s]\n 76%|███████▋ | 42/55 [00:00<00:00, 418.58it/s]\n100%|██████████| 55/55 [00:00<00:00, 427.02it/s]\nFlavor chain: 0%| | 0/32 [00:00<?, ?it/s]\nFlavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.22it/s]\nFlavor chain: 6%|▋ | 2/32 [00:01<00:24, 1.20it/s]\nFlavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.19it/s]\nFlavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.16it/s]\nFlavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.14it/s]\nFlavor chain: 19%|█▉ | 6/32 [00:05<00:23, 1.11it/s]\nFlavor chain: 22%|██▏ | 7/32 [00:06<00:22, 1.09it/s]\nFlavor chain: 25%|██▌ | 8/32 [00:07<00:22, 1.06it/s]\nFlavor chain: 28%|██▊ | 9/32 [00:08<00:22, 1.04it/s]\nFlavor chain: 31%|███▏ | 10/32 [00:09<00:21, 1.02it/s]\nFlavor chain: 34%|███▍ | 11/32 [00:10<00:20, 1.01it/s]\nFlavor chain: 38%|███▊ | 12/32 [00:11<00:21, 1.08s/it]\nFlavor chain: 38%|███▊ | 12/32 [00:12<00:21, 1.07s/it]\n 0%| | 0/55 [00:00<?, ?it/s]\n 76%|███████▋ | 42/55 [00:00<00:00, 419.55it/s]\n100%|██████████| 55/55 [00:00<00:00, 425.92it/s]\n 0%| | 0/6 [00:00<?, ?it/s]\n100%|██████████| 6/6 [00:00<00:00, 311.62it/s]\n 0%| | 0/50 [00:00<?, ?it/s]\n 90%|█████████ | 45/50 [00:00<00:00, 443.81it/s]\n100%|██████████| 50/50 [00:00<00:00, 448.19it/s]\nPrompt: a painting of a man with a red dot on his chest, abstract human figures dancing, official poster artwork, done in the style of matisse, black sun with purple eclipse, by George Ault, as though she is dancing, design award, silhouette :7, bodyless, atomic stars, and blue, as a tarot card\nEnabling style adapter.\nEnabling openpose adapter.\nData shape for DDIM sampling is (1, 4, 96, 64), eta 0.0\nRunning DDIM Sampling with 50 timesteps\nDDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s]\nDDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 3.99it/s]\nDDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.16it/s]\nDDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.22it/s]\nDDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.25it/s]\nDDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.26it/s]\nDDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.26it/s]\nDDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.27it/s]\nDDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.27it/s]\nDDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.28it/s]\nDDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.28it/s]\nDDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.28it/s]\nDDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.28it/s]\nDDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.28it/s]\nDDIM Sampler: 34%|███▍ | 17/50 [00:03<00:07, 4.28it/s]\nDDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.28it/s]\nDDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.28it/s]\nDDIM Sampler: 40%|████ | 20/50 [00:04<00:07, 4.28it/s]\nDDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.28it/s]\nDDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.28it/s]\nDDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.28it/s]\nDDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.29it/s]\nDDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.29it/s]\nDDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.29it/s]\nDDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.29it/s]\nDDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.27it/s]\nDDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.28it/s]\nDDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.28it/s]\nDDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.28it/s]\nDDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.24it/s]\nDDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.23it/s]\nDDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.24it/s]\nDDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.25it/s]\nDDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.26it/s]\nDDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.27it/s]\nDDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.27it/s]\nDDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.28it/s]\nDDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.28it/s]\nDDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.28it/s]\nDDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.28it/s]\nDDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.28it/s]\nDDIM Sampler: 94%|█████████▍| 47/50 [00:11<00:00, 4.28it/s]\nDDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.27it/s]\nGenerated outputs/image0-steps50-cfg8.0-face_enhance.png\nRunning upscaler with face enhancement\nImage 0, upscaling 1/2, 2.0x\nImage 0, upscaling 2/2, 4.0x\nWritten poseimg to outputs/openpose.png\nDone. 2 image(s).", "metrics": { "predict_time": 44.185909, "total_time": 44.163869 }, "output": [ "https://pbxt.replicate.delivery/efzMXGcIQ9sg408xUQCM4kWQjyh44oj9g0XASeQuVNIhsEVjA/openpose.png", "https://pbxt.replicate.delivery/RXyI9At0PhpoIRBBOeXjCxaH3WFnlApQzYm917BVBYWILR1IA/image0-steps50-cfg8.0-face_enhance-2.0x2.0.png" ], "started_at": "2023-10-03T20:02:45.978154Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/p3xzxf3bsrw6dcm4omuq7axkny", "cancel": "https://api.replicate.com/v1/predictions/p3xzxf3bsrw6dcm4omuq7axkny/cancel" }, "version": "1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801" }
Generated inUsing negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d Detecting prompt with CI (ViT-L-14/openai)... Global seed set to 22145 Loading caption model blip-large... Loading CLIP model ViT-L-14/openai... Loaded CLIP model and data in 4.25 seconds. 0%| | 0/55 [00:00<?, ?it/s] 76%|███████▋ | 42/55 [00:00<00:00, 418.58it/s] 100%|██████████| 55/55 [00:00<00:00, 427.02it/s] Flavor chain: 0%| | 0/32 [00:00<?, ?it/s] Flavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.22it/s] Flavor chain: 6%|▋ | 2/32 [00:01<00:24, 1.20it/s] Flavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.19it/s] Flavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.16it/s] Flavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.14it/s] Flavor chain: 19%|█▉ | 6/32 [00:05<00:23, 1.11it/s] Flavor chain: 22%|██▏ | 7/32 [00:06<00:22, 1.09it/s] Flavor chain: 25%|██▌ | 8/32 [00:07<00:22, 1.06it/s] Flavor chain: 28%|██▊ | 9/32 [00:08<00:22, 1.04it/s] Flavor chain: 31%|███▏ | 10/32 [00:09<00:21, 1.02it/s] Flavor chain: 34%|███▍ | 11/32 [00:10<00:20, 1.01it/s] Flavor chain: 38%|███▊ | 12/32 [00:11<00:21, 1.08s/it] Flavor chain: 38%|███▊ | 12/32 [00:12<00:21, 1.07s/it] 0%| | 0/55 [00:00<?, ?it/s] 76%|███████▋ | 42/55 [00:00<00:00, 419.55it/s] 100%|██████████| 55/55 [00:00<00:00, 425.92it/s] 0%| | 0/6 [00:00<?, ?it/s] 100%|██████████| 6/6 [00:00<00:00, 311.62it/s] 0%| | 0/50 [00:00<?, ?it/s] 90%|█████████ | 45/50 [00:00<00:00, 443.81it/s] 100%|██████████| 50/50 [00:00<00:00, 448.19it/s] Prompt: a painting of a man with a red dot on his chest, abstract human figures dancing, official poster artwork, done in the style of matisse, black sun with purple eclipse, by George Ault, as though she is dancing, design award, silhouette :7, bodyless, atomic stars, and blue, as a tarot card Enabling style adapter. Enabling openpose adapter. Data shape for DDIM sampling is (1, 4, 96, 64), eta 0.0 Running DDIM Sampling with 50 timesteps DDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s] DDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 3.99it/s] DDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.16it/s] DDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.22it/s] DDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.25it/s] DDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.26it/s] DDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.26it/s] DDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.27it/s] DDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.27it/s] DDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.28it/s] DDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.28it/s] DDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.28it/s] DDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.28it/s] DDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.28it/s] DDIM Sampler: 34%|███▍ | 17/50 [00:03<00:07, 4.28it/s] DDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.28it/s] DDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.28it/s] DDIM Sampler: 40%|████ | 20/50 [00:04<00:07, 4.28it/s] DDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.28it/s] DDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.28it/s] DDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.28it/s] DDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.29it/s] DDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.29it/s] DDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.29it/s] DDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.29it/s] DDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.27it/s] DDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.28it/s] DDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.28it/s] DDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.28it/s] DDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.24it/s] DDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.23it/s] DDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.24it/s] DDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.25it/s] DDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.26it/s] DDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.27it/s] DDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.27it/s] DDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.28it/s] DDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.28it/s] DDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.28it/s] DDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.28it/s] DDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.28it/s] DDIM Sampler: 94%|█████████▍| 47/50 [00:11<00:00, 4.28it/s] DDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.27it/s] Generated outputs/image0-steps50-cfg8.0-face_enhance.png Running upscaler with face enhancement Image 0, upscaling 1/2, 2.0x Image 0, upscaling 2/2, 4.0x Written poseimg to outputs/openpose.png Done. 2 image(s).
Prediction
joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801IDwrbdcstbbpy7qqm23u2khvleoiStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- code
- seed
- 0
- booth
- public
- steps
- 60
- prompt
- cond_tau
- 1
- clip_mode
- best
- n_samples
- 1
- timestamp
- 0
- add_prompt
- neg_prompt
- (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d
- face_enhance
- style_weight
- 1
- use_upscaler
- detect_prompt
- guidance_scale
- 8
- style_cond_tau
- 0.8
- upscale_factor
- 2
- openpose_weight
- 1
{ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXwzWJO7e2cNvdcaGRDEX9E8McGnT21xVj5vjcpjK5ghGMA/diego-rosa-Yyk4OmVJAyE-unsplash.jpg", "steps": 60, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXwyvLZBmV3GQ93pguVPi1AOJVD44hyMAcbJ1EiCA21Ybro/son-of-man-1964.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }
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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", { input: { code: "", seed: 0, booth: "public", image: "https://replicate.delivery/pbxt/JdXwzWJO7e2cNvdcaGRDEX9E8McGnT21xVj5vjcpjK5ghGMA/diego-rosa-Yyk4OmVJAyE-unsplash.jpg", steps: 60, prompt: "", artwork: "https://replicate.delivery/pbxt/JdXwyvLZBmV3GQ93pguVPi1AOJVD44hyMAcbJ1EiCA21Ybro/son-of-man-1964.jpg", cond_tau: 1, clip_mode: "best", n_samples: 1, timestamp: 0, add_prompt: "", neg_prompt: "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", face_enhance: true, style_weight: 1, use_upscaler: true, detect_prompt: true, guidance_scale: 8, style_cond_tau: 0.8, upscale_factor: 2, openpose_weight: 1 } } ); // 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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", input={ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXwzWJO7e2cNvdcaGRDEX9E8McGnT21xVj5vjcpjK5ghGMA/diego-rosa-Yyk4OmVJAyE-unsplash.jpg", "steps": 60, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXwyvLZBmV3GQ93pguVPi1AOJVD44hyMAcbJ1EiCA21Ybro/son-of-man-1964.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": True, "style_weight": 1, "use_upscaler": True, "detect_prompt": True, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run joetm/camerabooth-openpose-style 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": "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXwzWJO7e2cNvdcaGRDEX9E8McGnT21xVj5vjcpjK5ghGMA/diego-rosa-Yyk4OmVJAyE-unsplash.jpg", "steps": 60, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXwyvLZBmV3GQ93pguVPi1AOJVD44hyMAcbJ1EiCA21Ybro/son-of-man-1964.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-03T20:06:47.193407Z", "created_at": "2023-10-03T20:05:44.376398Z", "data_removed": false, "error": null, "id": "wrbdcstbbpy7qqm23u2khvleoi", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXwzWJO7e2cNvdcaGRDEX9E8McGnT21xVj5vjcpjK5ghGMA/diego-rosa-Yyk4OmVJAyE-unsplash.jpg", "steps": 60, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXwyvLZBmV3GQ93pguVPi1AOJVD44hyMAcbJ1EiCA21Ybro/son-of-man-1964.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }, "logs": "Using negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d\nDetecting prompt with CI (ViT-L-14/openai)...\nGlobal seed set to 36025\nLoading caption model blip-large...\nLoading CLIP model ViT-L-14/openai...\nLoaded CLIP model and data in 4.11 seconds.\n 0%| | 0/55 [00:00<?, ?it/s]\n 78%|███████▊ | 43/55 [00:00<00:00, 421.21it/s]\n100%|██████████| 55/55 [00:00<00:00, 427.91it/s]\nFlavor chain: 0%| | 0/32 [00:00<?, ?it/s]\nFlavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.21it/s]\nFlavor chain: 6%|▋ | 2/32 [00:01<00:25, 1.19it/s]\nFlavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.17it/s]\nFlavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.15it/s]\nFlavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.13it/s]\nFlavor chain: 19%|█▉ | 6/32 [00:05<00:23, 1.11it/s]\nFlavor chain: 22%|██▏ | 7/32 [00:06<00:22, 1.09it/s]\nFlavor chain: 25%|██▌ | 8/32 [00:07<00:22, 1.05it/s]\nFlavor chain: 28%|██▊ | 9/32 [00:08<00:22, 1.03it/s]\nFlavor chain: 31%|███▏ | 10/32 [00:09<00:21, 1.01it/s]\nFlavor chain: 31%|███▏ | 10/32 [00:10<00:22, 1.03s/it]\n 0%| | 0/55 [00:00<?, ?it/s]\n 65%|██████▌ | 36/55 [00:00<00:00, 355.33it/s]\n100%|██████████| 55/55 [00:00<00:00, 369.32it/s]\n 0%| | 0/6 [00:00<?, ?it/s]\n100%|██████████| 6/6 [00:00<00:00, 309.50it/s]\n 0%| | 0/50 [00:00<?, ?it/s]\n 84%|████████▍ | 42/50 [00:00<00:00, 410.46it/s]\n100%|██████████| 50/50 [00:00<00:00, 418.98it/s]\nPrompt: painting of a man in a suit and tie with a green apple in his mouth, style of rene magritte, film poster, lossless, progressive rock album cover, vanishment of the gods, there is one cherry, portrait of 14 years old boy, avoid symmetry, protagonist in foreground, incredible movie poster\nEnabling style adapter.\nEnabling openpose adapter.\nData shape for DDIM sampling is (1, 4, 96, 64), eta 0.0\nRunning DDIM Sampling with 63 timesteps\nDDIM Sampler: 0%| | 0/63 [00:00<?, ?it/s]\nDDIM Sampler: 2%|▏ | 1/63 [00:00<00:15, 3.99it/s]\nDDIM Sampler: 3%|▎ | 2/63 [00:00<00:14, 4.15it/s]\nDDIM Sampler: 5%|▍ | 3/63 [00:00<00:14, 4.21it/s]\nDDIM Sampler: 6%|▋ | 4/63 [00:00<00:13, 4.24it/s]\nDDIM Sampler: 8%|▊ | 5/63 [00:01<00:13, 4.26it/s]\nDDIM Sampler: 10%|▉ | 6/63 [00:01<00:13, 4.27it/s]\nDDIM Sampler: 11%|█ | 7/63 [00:01<00:13, 4.27it/s]\nDDIM Sampler: 13%|█▎ | 8/63 [00:01<00:12, 4.28it/s]\nDDIM Sampler: 14%|█▍ | 9/63 [00:02<00:12, 4.28it/s]\nDDIM Sampler: 16%|█▌ | 10/63 [00:02<00:12, 4.28it/s]\nDDIM Sampler: 17%|█▋ | 11/63 [00:02<00:12, 4.28it/s]\nDDIM Sampler: 19%|█▉ | 12/63 [00:02<00:11, 4.28it/s]\nDDIM Sampler: 21%|██ | 13/63 [00:03<00:11, 4.28it/s]\nDDIM Sampler: 22%|██▏ | 14/63 [00:03<00:11, 4.29it/s]\nDDIM Sampler: 24%|██▍ | 15/63 [00:03<00:11, 4.28it/s]\nDDIM Sampler: 25%|██▌ | 16/63 [00:03<00:10, 4.28it/s]\nDDIM Sampler: 27%|██▋ | 17/63 [00:03<00:10, 4.28it/s]\nDDIM Sampler: 29%|██▊ | 18/63 [00:04<00:10, 4.28it/s]\nDDIM Sampler: 30%|███ | 19/63 [00:04<00:10, 4.28it/s]\nDDIM Sampler: 32%|███▏ | 20/63 [00:04<00:10, 4.28it/s]\nDDIM Sampler: 33%|███▎ | 21/63 [00:04<00:09, 4.28it/s]\nDDIM Sampler: 35%|███▍ | 22/63 [00:05<00:09, 4.28it/s]\nDDIM Sampler: 37%|███▋ | 23/63 [00:05<00:09, 4.28it/s]\nDDIM Sampler: 38%|███▊ | 24/63 [00:05<00:09, 4.28it/s]\nDDIM Sampler: 40%|███▉ | 25/63 [00:05<00:08, 4.28it/s]\nDDIM Sampler: 41%|████▏ | 26/63 [00:06<00:08, 4.28it/s]\nDDIM Sampler: 43%|████▎ | 27/63 [00:06<00:08, 4.28it/s]\nDDIM Sampler: 44%|████▍ | 28/63 [00:06<00:08, 4.28it/s]\nDDIM Sampler: 46%|████▌ | 29/63 [00:06<00:07, 4.28it/s]\nDDIM Sampler: 48%|████▊ | 30/63 [00:07<00:07, 4.28it/s]\nDDIM Sampler: 49%|████▉ | 31/63 [00:07<00:07, 4.28it/s]\nDDIM Sampler: 51%|█████ | 32/63 [00:07<00:07, 4.28it/s]\nDDIM Sampler: 52%|█████▏ | 33/63 [00:07<00:07, 4.28it/s]\nDDIM Sampler: 54%|█████▍ | 34/63 [00:07<00:06, 4.28it/s]\nDDIM Sampler: 56%|█████▌ | 35/63 [00:08<00:06, 4.28it/s]\nDDIM Sampler: 57%|█████▋ | 36/63 [00:08<00:06, 4.28it/s]\nDDIM Sampler: 59%|█████▊ | 37/63 [00:08<00:06, 4.28it/s]\nDDIM Sampler: 60%|██████ | 38/63 [00:08<00:05, 4.28it/s]\nDDIM Sampler: 62%|██████▏ | 39/63 [00:09<00:05, 4.28it/s]\nDDIM Sampler: 63%|██████▎ | 40/63 [00:09<00:05, 4.28it/s]\nDDIM Sampler: 65%|██████▌ | 41/63 [00:09<00:05, 4.28it/s]\nDDIM Sampler: 67%|██████▋ | 42/63 [00:09<00:04, 4.28it/s]\nDDIM Sampler: 68%|██████▊ | 43/63 [00:10<00:04, 4.28it/s]\nDDIM Sampler: 70%|██████▉ | 44/63 [00:10<00:04, 4.28it/s]\nDDIM Sampler: 71%|███████▏ | 45/63 [00:10<00:04, 4.28it/s]\nDDIM Sampler: 73%|███████▎ | 46/63 [00:10<00:03, 4.29it/s]\nDDIM Sampler: 75%|███████▍ | 47/63 [00:10<00:03, 4.29it/s]\nDDIM Sampler: 76%|███████▌ | 48/63 [00:11<00:03, 4.29it/s]\nDDIM Sampler: 78%|███████▊ | 49/63 [00:11<00:03, 4.29it/s]\nDDIM Sampler: 79%|███████▉ | 50/63 [00:11<00:03, 4.29it/s]\nDDIM Sampler: 81%|████████ | 51/63 [00:11<00:02, 4.29it/s]\nDDIM Sampler: 83%|████████▎ | 52/63 [00:12<00:02, 4.28it/s]\nDDIM Sampler: 84%|████████▍ | 53/63 [00:12<00:02, 4.28it/s]\nDDIM Sampler: 86%|████████▌ | 54/63 [00:12<00:02, 4.29it/s]\nDDIM Sampler: 87%|████████▋ | 55/63 [00:12<00:01, 4.29it/s]\nDDIM Sampler: 89%|████████▉ | 56/63 [00:13<00:01, 4.29it/s]\nDDIM Sampler: 90%|█████████ | 57/63 [00:13<00:01, 4.29it/s]\nDDIM Sampler: 92%|█████████▏| 58/63 [00:13<00:01, 4.29it/s]\nDDIM Sampler: 94%|█████████▎| 59/63 [00:13<00:00, 4.29it/s]\nDDIM Sampler: 95%|█████████▌| 60/63 [00:14<00:00, 4.29it/s]\nDDIM Sampler: 97%|█████████▋| 61/63 [00:14<00:00, 4.29it/s]\nDDIM Sampler: 98%|█████████▊| 62/63 [00:14<00:00, 4.29it/s]\nDDIM Sampler: 100%|██████████| 63/63 [00:14<00:00, 4.29it/s]\nDDIM Sampler: 100%|██████████| 63/63 [00:14<00:00, 4.28it/s]\nGenerated outputs/image0-steps60-cfg8.0-face_enhance.png\nRunning upscaler with face enhancement\nImage 0, upscaling 1/2, 2.0x\nImage 0, upscaling 2/2, 4.0x\nWritten poseimg to outputs/openpose.png\nDone. 2 image(s).", "metrics": { "predict_time": 62.829899, "total_time": 62.817009 }, "output": [ "https://pbxt.replicate.delivery/wPDJp7i6KPYWF9Y5vnPeKCtbSfMoRIf2zc3WZAe82r58kJqGB/openpose.png", "https://pbxt.replicate.delivery/WU9MrbIm8M4IIpbwBysOJGYQ7RhUAtlYVEcxtVfXzleVZiqRA/image0-steps60-cfg8.0-face_enhance-2.0x2.0.png" ], "started_at": "2023-10-03T20:05:44.363508Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/wrbdcstbbpy7qqm23u2khvleoi", "cancel": "https://api.replicate.com/v1/predictions/wrbdcstbbpy7qqm23u2khvleoi/cancel" }, "version": "1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801" }
Generated inUsing negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d Detecting prompt with CI (ViT-L-14/openai)... Global seed set to 36025 Loading caption model blip-large... Loading CLIP model ViT-L-14/openai... Loaded CLIP model and data in 4.11 seconds. 0%| | 0/55 [00:00<?, ?it/s] 78%|███████▊ | 43/55 [00:00<00:00, 421.21it/s] 100%|██████████| 55/55 [00:00<00:00, 427.91it/s] Flavor chain: 0%| | 0/32 [00:00<?, ?it/s] Flavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.21it/s] Flavor chain: 6%|▋ | 2/32 [00:01<00:25, 1.19it/s] Flavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.17it/s] Flavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.15it/s] Flavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.13it/s] Flavor chain: 19%|█▉ | 6/32 [00:05<00:23, 1.11it/s] Flavor chain: 22%|██▏ | 7/32 [00:06<00:22, 1.09it/s] Flavor chain: 25%|██▌ | 8/32 [00:07<00:22, 1.05it/s] Flavor chain: 28%|██▊ | 9/32 [00:08<00:22, 1.03it/s] Flavor chain: 31%|███▏ | 10/32 [00:09<00:21, 1.01it/s] Flavor chain: 31%|███▏ | 10/32 [00:10<00:22, 1.03s/it] 0%| | 0/55 [00:00<?, ?it/s] 65%|██████▌ | 36/55 [00:00<00:00, 355.33it/s] 100%|██████████| 55/55 [00:00<00:00, 369.32it/s] 0%| | 0/6 [00:00<?, ?it/s] 100%|██████████| 6/6 [00:00<00:00, 309.50it/s] 0%| | 0/50 [00:00<?, ?it/s] 84%|████████▍ | 42/50 [00:00<00:00, 410.46it/s] 100%|██████████| 50/50 [00:00<00:00, 418.98it/s] Prompt: painting of a man in a suit and tie with a green apple in his mouth, style of rene magritte, film poster, lossless, progressive rock album cover, vanishment of the gods, there is one cherry, portrait of 14 years old boy, avoid symmetry, protagonist in foreground, incredible movie poster Enabling style adapter. Enabling openpose adapter. Data shape for DDIM sampling is (1, 4, 96, 64), eta 0.0 Running DDIM Sampling with 63 timesteps DDIM Sampler: 0%| | 0/63 [00:00<?, ?it/s] DDIM Sampler: 2%|▏ | 1/63 [00:00<00:15, 3.99it/s] DDIM Sampler: 3%|▎ | 2/63 [00:00<00:14, 4.15it/s] DDIM Sampler: 5%|▍ | 3/63 [00:00<00:14, 4.21it/s] DDIM Sampler: 6%|▋ | 4/63 [00:00<00:13, 4.24it/s] DDIM Sampler: 8%|▊ | 5/63 [00:01<00:13, 4.26it/s] DDIM Sampler: 10%|▉ | 6/63 [00:01<00:13, 4.27it/s] DDIM Sampler: 11%|█ | 7/63 [00:01<00:13, 4.27it/s] DDIM Sampler: 13%|█▎ | 8/63 [00:01<00:12, 4.28it/s] DDIM Sampler: 14%|█▍ | 9/63 [00:02<00:12, 4.28it/s] DDIM Sampler: 16%|█▌ | 10/63 [00:02<00:12, 4.28it/s] DDIM Sampler: 17%|█▋ | 11/63 [00:02<00:12, 4.28it/s] DDIM Sampler: 19%|█▉ | 12/63 [00:02<00:11, 4.28it/s] DDIM Sampler: 21%|██ | 13/63 [00:03<00:11, 4.28it/s] DDIM Sampler: 22%|██▏ | 14/63 [00:03<00:11, 4.29it/s] DDIM Sampler: 24%|██▍ | 15/63 [00:03<00:11, 4.28it/s] DDIM Sampler: 25%|██▌ | 16/63 [00:03<00:10, 4.28it/s] DDIM Sampler: 27%|██▋ | 17/63 [00:03<00:10, 4.28it/s] DDIM Sampler: 29%|██▊ | 18/63 [00:04<00:10, 4.28it/s] DDIM Sampler: 30%|███ | 19/63 [00:04<00:10, 4.28it/s] DDIM Sampler: 32%|███▏ | 20/63 [00:04<00:10, 4.28it/s] DDIM Sampler: 33%|███▎ | 21/63 [00:04<00:09, 4.28it/s] DDIM Sampler: 35%|███▍ | 22/63 [00:05<00:09, 4.28it/s] DDIM Sampler: 37%|███▋ | 23/63 [00:05<00:09, 4.28it/s] DDIM Sampler: 38%|███▊ | 24/63 [00:05<00:09, 4.28it/s] DDIM Sampler: 40%|███▉ | 25/63 [00:05<00:08, 4.28it/s] DDIM Sampler: 41%|████▏ | 26/63 [00:06<00:08, 4.28it/s] DDIM Sampler: 43%|████▎ | 27/63 [00:06<00:08, 4.28it/s] DDIM Sampler: 44%|████▍ | 28/63 [00:06<00:08, 4.28it/s] DDIM Sampler: 46%|████▌ | 29/63 [00:06<00:07, 4.28it/s] DDIM Sampler: 48%|████▊ | 30/63 [00:07<00:07, 4.28it/s] DDIM Sampler: 49%|████▉ | 31/63 [00:07<00:07, 4.28it/s] DDIM Sampler: 51%|█████ | 32/63 [00:07<00:07, 4.28it/s] DDIM Sampler: 52%|█████▏ | 33/63 [00:07<00:07, 4.28it/s] DDIM Sampler: 54%|█████▍ | 34/63 [00:07<00:06, 4.28it/s] DDIM Sampler: 56%|█████▌ | 35/63 [00:08<00:06, 4.28it/s] DDIM Sampler: 57%|█████▋ | 36/63 [00:08<00:06, 4.28it/s] DDIM Sampler: 59%|█████▊ | 37/63 [00:08<00:06, 4.28it/s] DDIM Sampler: 60%|██████ | 38/63 [00:08<00:05, 4.28it/s] DDIM Sampler: 62%|██████▏ | 39/63 [00:09<00:05, 4.28it/s] DDIM Sampler: 63%|██████▎ | 40/63 [00:09<00:05, 4.28it/s] DDIM Sampler: 65%|██████▌ | 41/63 [00:09<00:05, 4.28it/s] DDIM Sampler: 67%|██████▋ | 42/63 [00:09<00:04, 4.28it/s] DDIM Sampler: 68%|██████▊ | 43/63 [00:10<00:04, 4.28it/s] DDIM Sampler: 70%|██████▉ | 44/63 [00:10<00:04, 4.28it/s] DDIM Sampler: 71%|███████▏ | 45/63 [00:10<00:04, 4.28it/s] DDIM Sampler: 73%|███████▎ | 46/63 [00:10<00:03, 4.29it/s] DDIM Sampler: 75%|███████▍ | 47/63 [00:10<00:03, 4.29it/s] DDIM Sampler: 76%|███████▌ | 48/63 [00:11<00:03, 4.29it/s] DDIM Sampler: 78%|███████▊ | 49/63 [00:11<00:03, 4.29it/s] DDIM Sampler: 79%|███████▉ | 50/63 [00:11<00:03, 4.29it/s] DDIM Sampler: 81%|████████ | 51/63 [00:11<00:02, 4.29it/s] DDIM Sampler: 83%|████████▎ | 52/63 [00:12<00:02, 4.28it/s] DDIM Sampler: 84%|████████▍ | 53/63 [00:12<00:02, 4.28it/s] DDIM Sampler: 86%|████████▌ | 54/63 [00:12<00:02, 4.29it/s] DDIM Sampler: 87%|████████▋ | 55/63 [00:12<00:01, 4.29it/s] DDIM Sampler: 89%|████████▉ | 56/63 [00:13<00:01, 4.29it/s] DDIM Sampler: 90%|█████████ | 57/63 [00:13<00:01, 4.29it/s] DDIM Sampler: 92%|█████████▏| 58/63 [00:13<00:01, 4.29it/s] DDIM Sampler: 94%|█████████▎| 59/63 [00:13<00:00, 4.29it/s] DDIM Sampler: 95%|█████████▌| 60/63 [00:14<00:00, 4.29it/s] DDIM Sampler: 97%|█████████▋| 61/63 [00:14<00:00, 4.29it/s] DDIM Sampler: 98%|█████████▊| 62/63 [00:14<00:00, 4.29it/s] DDIM Sampler: 100%|██████████| 63/63 [00:14<00:00, 4.29it/s] DDIM Sampler: 100%|██████████| 63/63 [00:14<00:00, 4.28it/s] Generated outputs/image0-steps60-cfg8.0-face_enhance.png Running upscaler with face enhancement Image 0, upscaling 1/2, 2.0x Image 0, upscaling 2/2, 4.0x Written poseimg to outputs/openpose.png Done. 2 image(s).
Prediction
joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801IDcp2czflbijcibsx5gvkv5t66feStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- code
- seed
- 0
- booth
- public
- steps
- 50
- prompt
- cond_tau
- 1
- clip_mode
- best
- n_samples
- 1
- timestamp
- 0
- add_prompt
- neg_prompt
- (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d
- face_enhance
- style_weight
- 0.5
- use_upscaler
- detect_prompt
- guidance_scale
- 9
- style_cond_tau
- 0.8
- upscale_factor
- 2
- openpose_weight
- 1
{ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdY7Dne9Ch7fW6tbFWyUurTH6ktA1LBgEQlQ1F44F9J2ZKb0/atikh-bana-_KaMTEmJnxY-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdY7EINOEVuatz6cE8Zx5udgx6DjUv8L98DhaDS9I4tGF65t/800px-Anna_Sahlsten_-_Bread_Worries.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 0.5, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 9, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }
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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", { input: { code: "", seed: 0, booth: "public", image: "https://replicate.delivery/pbxt/JdY7Dne9Ch7fW6tbFWyUurTH6ktA1LBgEQlQ1F44F9J2ZKb0/atikh-bana-_KaMTEmJnxY-unsplash.jpg", steps: 50, prompt: "", artwork: "https://replicate.delivery/pbxt/JdY7EINOEVuatz6cE8Zx5udgx6DjUv8L98DhaDS9I4tGF65t/800px-Anna_Sahlsten_-_Bread_Worries.jpg", cond_tau: 1, clip_mode: "best", n_samples: 1, timestamp: 0, add_prompt: "", neg_prompt: "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", face_enhance: true, style_weight: 0.5, use_upscaler: true, detect_prompt: true, guidance_scale: 9, style_cond_tau: 0.8, upscale_factor: 2, openpose_weight: 1 } } ); // 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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", input={ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdY7Dne9Ch7fW6tbFWyUurTH6ktA1LBgEQlQ1F44F9J2ZKb0/atikh-bana-_KaMTEmJnxY-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdY7EINOEVuatz6cE8Zx5udgx6DjUv8L98DhaDS9I4tGF65t/800px-Anna_Sahlsten_-_Bread_Worries.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": True, "style_weight": 0.5, "use_upscaler": True, "detect_prompt": True, "guidance_scale": 9, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run joetm/camerabooth-openpose-style 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": "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdY7Dne9Ch7fW6tbFWyUurTH6ktA1LBgEQlQ1F44F9J2ZKb0/atikh-bana-_KaMTEmJnxY-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdY7EINOEVuatz6cE8Zx5udgx6DjUv8L98DhaDS9I4tGF65t/800px-Anna_Sahlsten_-_Bread_Worries.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 0.5, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 9, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-03T20:17:18.927992Z", "created_at": "2023-10-03T20:16:32.829831Z", "data_removed": false, "error": null, "id": "cp2czflbijcibsx5gvkv5t66fe", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdY7Dne9Ch7fW6tbFWyUurTH6ktA1LBgEQlQ1F44F9J2ZKb0/atikh-bana-_KaMTEmJnxY-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdY7EINOEVuatz6cE8Zx5udgx6DjUv8L98DhaDS9I4tGF65t/800px-Anna_Sahlsten_-_Bread_Worries.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 0.5, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 9, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }, "logs": "Using negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d\nDetecting prompt with CI (ViT-L-14/openai)...\nGlobal seed set to 63765\nLoading caption model blip-large...\nLoading CLIP model ViT-L-14/openai...\nLoaded CLIP model and data in 4.13 seconds.\n 0%| | 0/55 [00:00<?, ?it/s]\n 76%|███████▋ | 42/55 [00:00<00:00, 418.01it/s]\n100%|██████████| 55/55 [00:00<00:00, 426.83it/s]\nFlavor chain: 0%| | 0/32 [00:00<?, ?it/s]\nFlavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.21it/s]\nFlavor chain: 6%|▋ | 2/32 [00:01<00:24, 1.21it/s]\nFlavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.17it/s]\nFlavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.16it/s]\nFlavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.14it/s]\nFlavor chain: 19%|█▉ | 6/32 [00:05<00:23, 1.12it/s]\nFlavor chain: 22%|██▏ | 7/32 [00:06<00:23, 1.08it/s]\nFlavor chain: 25%|██▌ | 8/32 [00:07<00:22, 1.06it/s]\nFlavor chain: 28%|██▊ | 9/32 [00:08<00:22, 1.03it/s]\nFlavor chain: 31%|███▏ | 10/32 [00:09<00:21, 1.01it/s]\nFlavor chain: 31%|███▏ | 10/32 [00:10<00:22, 1.03s/it]\n 0%| | 0/55 [00:00<?, ?it/s]\n 80%|████████ | 44/55 [00:00<00:00, 431.34it/s]\n100%|██████████| 55/55 [00:00<00:00, 434.96it/s]\n 0%| | 0/6 [00:00<?, ?it/s]\n100%|██████████| 6/6 [00:00<00:00, 319.04it/s]\n 0%| | 0/50 [00:00<?, ?it/s]\n 90%|█████████ | 45/50 [00:00<00:00, 442.60it/s]\n100%|██████████| 50/50 [00:00<00:00, 447.68it/s]\nPrompt: painting of a man sitting at a table with a book, inspired by Mikhail Nesterov, the look of an elderly person, toolbelt, inspired by Nikolai Astrup, detailed eyes with pupils, photo of a 50-year-old white man, poverty, dramatic light on face, post - war scenery, with a happy expression\nEnabling style adapter.\nEnabling openpose adapter.\nData shape for DDIM sampling is (1, 4, 64, 96), eta 0.0\nRunning DDIM Sampling with 50 timesteps\nDDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s]\nDDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 3.85it/s]\nDDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.09it/s]\nDDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.16it/s]\nDDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.21it/s]\nDDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.22it/s]\nDDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.24it/s]\nDDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.24it/s]\nDDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.25it/s]\nDDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.26it/s]\nDDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.26it/s]\nDDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.26it/s]\nDDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.26it/s]\nDDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.26it/s]\nDDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.26it/s]\nDDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.27it/s]\nDDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.27it/s]\nDDIM Sampler: 34%|███▍ | 17/50 [00:04<00:07, 4.27it/s]\nDDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.27it/s]\nDDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.27it/s]\nDDIM Sampler: 40%|████ | 20/50 [00:04<00:07, 4.27it/s]\nDDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.27it/s]\nDDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.27it/s]\nDDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.27it/s]\nDDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.27it/s]\nDDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.26it/s]\nDDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.26it/s]\nDDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.26it/s]\nDDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.26it/s]\nDDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.26it/s]\nDDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.27it/s]\nDDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.27it/s]\nDDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.27it/s]\nDDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.27it/s]\nDDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.27it/s]\nDDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.27it/s]\nDDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.27it/s]\nDDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.27it/s]\nDDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.27it/s]\nDDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.27it/s]\nDDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.27it/s]\nDDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.26it/s]\nDDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.26it/s]\nDDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.27it/s]\nDDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.27it/s]\nDDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.27it/s]\nDDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.27it/s]\nDDIM Sampler: 94%|█████████▍| 47/50 [00:11<00:00, 4.27it/s]\nDDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.27it/s]\nDDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.27it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.27it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.26it/s]\nGenerated outputs/image0-steps50-cfg9.0-face_enhance.png\nRunning upscaler with face enhancement\nImage 0, upscaling 1/2, 2.0x\nImage 0, upscaling 2/2, 4.0x\nWritten poseimg to outputs/openpose.png\nDone. 2 image(s).", "metrics": { "predict_time": 46.095031, "total_time": 46.098161 }, "output": [ "https://pbxt.replicate.delivery/MPXEhFYPP1JWBV4Rf1gIv5NEr1NfivfbpIgdG9Hpfz9wMKqGB/openpose.png", "https://pbxt.replicate.delivery/NGdf7TAB3XQLGSBSSpxrx0nFXt9SMo2Hc0yeV8i8UUQNjiqRA/image0-steps50-cfg9.0-face_enhance-2.0x2.0.png" ], "started_at": "2023-10-03T20:16:32.832961Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cp2czflbijcibsx5gvkv5t66fe", "cancel": "https://api.replicate.com/v1/predictions/cp2czflbijcibsx5gvkv5t66fe/cancel" }, "version": "1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801" }
Generated inUsing negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d Detecting prompt with CI (ViT-L-14/openai)... Global seed set to 63765 Loading caption model blip-large... Loading CLIP model ViT-L-14/openai... Loaded CLIP model and data in 4.13 seconds. 0%| | 0/55 [00:00<?, ?it/s] 76%|███████▋ | 42/55 [00:00<00:00, 418.01it/s] 100%|██████████| 55/55 [00:00<00:00, 426.83it/s] Flavor chain: 0%| | 0/32 [00:00<?, ?it/s] Flavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.21it/s] Flavor chain: 6%|▋ | 2/32 [00:01<00:24, 1.21it/s] Flavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.17it/s] Flavor chain: 12%|█▎ | 4/32 [00:03<00:24, 1.16it/s] Flavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.14it/s] Flavor chain: 19%|█▉ | 6/32 [00:05<00:23, 1.12it/s] Flavor chain: 22%|██▏ | 7/32 [00:06<00:23, 1.08it/s] Flavor chain: 25%|██▌ | 8/32 [00:07<00:22, 1.06it/s] Flavor chain: 28%|██▊ | 9/32 [00:08<00:22, 1.03it/s] Flavor chain: 31%|███▏ | 10/32 [00:09<00:21, 1.01it/s] Flavor chain: 31%|███▏ | 10/32 [00:10<00:22, 1.03s/it] 0%| | 0/55 [00:00<?, ?it/s] 80%|████████ | 44/55 [00:00<00:00, 431.34it/s] 100%|██████████| 55/55 [00:00<00:00, 434.96it/s] 0%| | 0/6 [00:00<?, ?it/s] 100%|██████████| 6/6 [00:00<00:00, 319.04it/s] 0%| | 0/50 [00:00<?, ?it/s] 90%|█████████ | 45/50 [00:00<00:00, 442.60it/s] 100%|██████████| 50/50 [00:00<00:00, 447.68it/s] Prompt: painting of a man sitting at a table with a book, inspired by Mikhail Nesterov, the look of an elderly person, toolbelt, inspired by Nikolai Astrup, detailed eyes with pupils, photo of a 50-year-old white man, poverty, dramatic light on face, post - war scenery, with a happy expression Enabling style adapter. Enabling openpose adapter. Data shape for DDIM sampling is (1, 4, 64, 96), eta 0.0 Running DDIM Sampling with 50 timesteps DDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s] DDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 3.85it/s] DDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.09it/s] DDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.16it/s] DDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.21it/s] DDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.22it/s] DDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.24it/s] DDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.24it/s] DDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.25it/s] DDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.26it/s] DDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.26it/s] DDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.26it/s] DDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.26it/s] DDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.26it/s] DDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.26it/s] DDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.27it/s] DDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.27it/s] DDIM Sampler: 34%|███▍ | 17/50 [00:04<00:07, 4.27it/s] DDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.27it/s] DDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.27it/s] DDIM Sampler: 40%|████ | 20/50 [00:04<00:07, 4.27it/s] DDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.27it/s] DDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.27it/s] DDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.27it/s] DDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.27it/s] DDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.26it/s] DDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.26it/s] DDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.26it/s] DDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.26it/s] DDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.26it/s] DDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.27it/s] DDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.27it/s] DDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.27it/s] DDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.27it/s] DDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.27it/s] DDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.27it/s] DDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.27it/s] DDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.27it/s] DDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.27it/s] DDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.27it/s] DDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.27it/s] DDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.26it/s] DDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.26it/s] DDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.27it/s] DDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.27it/s] DDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.27it/s] DDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.27it/s] DDIM Sampler: 94%|█████████▍| 47/50 [00:11<00:00, 4.27it/s] DDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.27it/s] DDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.27it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.27it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.26it/s] Generated outputs/image0-steps50-cfg9.0-face_enhance.png Running upscaler with face enhancement Image 0, upscaling 1/2, 2.0x Image 0, upscaling 2/2, 4.0x Written poseimg to outputs/openpose.png Done. 2 image(s).
Prediction
joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801IDbounpatb7cnxhhhpco46naw7muStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- code
- seed
- 0
- booth
- public
- steps
- 50
- prompt
- cond_tau
- 1
- clip_mode
- best
- n_samples
- 1
- timestamp
- 0
- add_prompt
- neg_prompt
- (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d
- face_enhance
- style_weight
- 1
- use_upscaler
- detect_prompt
- guidance_scale
- 8
- style_cond_tau
- 0.8
- upscale_factor
- 2
- openpose_weight
- 1
{ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXiguR2wRjl03jOe4fLpfrEEewitrSFTStYxiBpM6Qa6Xqm/oliver-ragfelt-m79taQSsQIQ-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXihCVozhMdqBwECWdGRkbbgib7elGQnmJcheaupHfgKTIt/child-with-dove-1901.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }
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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", { input: { code: "", seed: 0, booth: "public", image: "https://replicate.delivery/pbxt/JdXiguR2wRjl03jOe4fLpfrEEewitrSFTStYxiBpM6Qa6Xqm/oliver-ragfelt-m79taQSsQIQ-unsplash.jpg", steps: 50, prompt: "", artwork: "https://replicate.delivery/pbxt/JdXihCVozhMdqBwECWdGRkbbgib7elGQnmJcheaupHfgKTIt/child-with-dove-1901.jpg", cond_tau: 1, clip_mode: "best", n_samples: 1, timestamp: 0, add_prompt: "", neg_prompt: "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", face_enhance: true, style_weight: 1, use_upscaler: true, detect_prompt: true, guidance_scale: 8, style_cond_tau: 0.8, upscale_factor: 2, openpose_weight: 1 } } ); // 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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", input={ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXiguR2wRjl03jOe4fLpfrEEewitrSFTStYxiBpM6Qa6Xqm/oliver-ragfelt-m79taQSsQIQ-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXihCVozhMdqBwECWdGRkbbgib7elGQnmJcheaupHfgKTIt/child-with-dove-1901.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": True, "style_weight": 1, "use_upscaler": True, "detect_prompt": True, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run joetm/camerabooth-openpose-style 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": "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXiguR2wRjl03jOe4fLpfrEEewitrSFTStYxiBpM6Qa6Xqm/oliver-ragfelt-m79taQSsQIQ-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXihCVozhMdqBwECWdGRkbbgib7elGQnmJcheaupHfgKTIt/child-with-dove-1901.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-03T19:51:24.389791Z", "created_at": "2023-10-03T19:50:38.722050Z", "data_removed": false, "error": null, "id": "bounpatb7cnxhhhpco46naw7mu", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXiguR2wRjl03jOe4fLpfrEEewitrSFTStYxiBpM6Qa6Xqm/oliver-ragfelt-m79taQSsQIQ-unsplash.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXihCVozhMdqBwECWdGRkbbgib7elGQnmJcheaupHfgKTIt/child-with-dove-1901.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }, "logs": "Using negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d\nDetecting prompt with CI (ViT-L-14/openai)...\nGlobal seed set to 12087\nLoading caption model blip-large...\nLoading CLIP model ViT-L-14/openai...\nLoaded CLIP model and data in 3.96 seconds.\n 0%| | 0/55 [00:00<?, ?it/s]\n 80%|████████ | 44/55 [00:00<00:00, 431.30it/s]\n100%|██████████| 55/55 [00:00<00:00, 436.43it/s]\nFlavor chain: 0%| | 0/32 [00:00<?, ?it/s]\nFlavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.23it/s]\nFlavor chain: 6%|▋ | 2/32 [00:01<00:24, 1.21it/s]\nFlavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.19it/s]\nFlavor chain: 12%|█▎ | 4/32 [00:03<00:23, 1.18it/s]\nFlavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.17it/s]\nFlavor chain: 19%|█▉ | 6/32 [00:05<00:22, 1.15it/s]\nFlavor chain: 22%|██▏ | 7/32 [00:06<00:21, 1.14it/s]\nFlavor chain: 25%|██▌ | 8/32 [00:06<00:21, 1.13it/s]\nFlavor chain: 28%|██▊ | 9/32 [00:07<00:20, 1.11it/s]\nFlavor chain: 31%|███▏ | 10/32 [00:08<00:20, 1.09it/s]\nFlavor chain: 34%|███▍ | 11/32 [00:09<00:19, 1.07it/s]\nFlavor chain: 38%|███▊ | 12/32 [00:10<00:18, 1.06it/s]\nFlavor chain: 41%|████ | 13/32 [00:11<00:18, 1.04it/s]\nFlavor chain: 44%|████▍ | 14/32 [00:12<00:17, 1.02it/s]\nFlavor chain: 44%|████▍ | 14/32 [00:13<00:17, 1.01it/s]\n 0%| | 0/55 [00:00<?, ?it/s]\n 78%|███████▊ | 43/55 [00:00<00:00, 429.39it/s]\n100%|██████████| 55/55 [00:00<00:00, 434.66it/s]\n 0%| | 0/6 [00:00<?, ?it/s]\n100%|██████████| 6/6 [00:00<00:00, 317.31it/s]\n 0%| | 0/50 [00:00<?, ?it/s]\n 90%|█████████ | 45/50 [00:00<00:00, 447.75it/s]\n100%|██████████| 50/50 [00:00<00:00, 452.42it/s]\nPrompt: painting of a child holding a bird in a field with a ball, style of picasso, white dove, macaron, midday photograph, platypus, listing image, nagasaki, guggimon, by Christian Jane Fergusson, head in hands, bluejay, single color, holding a white flag, nouvelle vague\nEnabling style adapter.\nEnabling openpose adapter.\nData shape for DDIM sampling is (1, 4, 96, 64), eta 0.0\nRunning DDIM Sampling with 50 timesteps\nDDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s]\nDDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 4.04it/s]\nDDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.17it/s]\nDDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.23it/s]\nDDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.25it/s]\nDDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.26it/s]\nDDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.27it/s]\nDDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.28it/s]\nDDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.28it/s]\nDDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.29it/s]\nDDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.29it/s]\nDDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.29it/s]\nDDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.29it/s]\nDDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.29it/s]\nDDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.29it/s]\nDDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.29it/s]\nDDIM Sampler: 34%|███▍ | 17/50 [00:03<00:07, 4.29it/s]\nDDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.29it/s]\nDDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.29it/s]\nDDIM Sampler: 40%|████ | 20/50 [00:04<00:06, 4.29it/s]\nDDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.29it/s]\nDDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.29it/s]\nDDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.29it/s]\nDDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.28it/s]\nDDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.29it/s]\nDDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.29it/s]\nDDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.29it/s]\nDDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.29it/s]\nDDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.29it/s]\nDDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.29it/s]\nDDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.29it/s]\nDDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.29it/s]\nDDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.29it/s]\nDDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.29it/s]\nDDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.29it/s]\nDDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.29it/s]\nDDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.29it/s]\nDDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.29it/s]\nDDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.29it/s]\nDDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.29it/s]\nDDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.29it/s]\nDDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.29it/s]\nDDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.29it/s]\nDDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.29it/s]\nDDIM Sampler: 94%|█████████▍| 47/50 [00:10<00:00, 4.29it/s]\nDDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.30it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.30it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.28it/s]\nGenerated outputs/image0-steps50-cfg8.0-face_enhance.png\nRunning upscaler with face enhancement\nImage 0, upscaling 1/2, 2.0x\nImage 0, upscaling 2/2, 4.0x\nWritten poseimg to outputs/openpose.png\nDone. 2 image(s).", "metrics": { "predict_time": 45.641836, "total_time": 45.667741 }, "output": [ "https://pbxt.replicate.delivery/5FEqXX3MZSbHBtLLHhfN2sXShg7BV6fNCWrdLXTNVs66KiqRA/openpose.png", "https://pbxt.replicate.delivery/L3JsPcYF0lqFN9w4L50FmGXr1u5CnUi7mzJ081G8Sd8uioaE/image0-steps50-cfg8.0-face_enhance-2.0x2.0.png" ], "started_at": "2023-10-03T19:50:38.747955Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/bounpatb7cnxhhhpco46naw7mu", "cancel": "https://api.replicate.com/v1/predictions/bounpatb7cnxhhhpco46naw7mu/cancel" }, "version": "1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801" }
Generated inUsing negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d Detecting prompt with CI (ViT-L-14/openai)... Global seed set to 12087 Loading caption model blip-large... Loading CLIP model ViT-L-14/openai... Loaded CLIP model and data in 3.96 seconds. 0%| | 0/55 [00:00<?, ?it/s] 80%|████████ | 44/55 [00:00<00:00, 431.30it/s] 100%|██████████| 55/55 [00:00<00:00, 436.43it/s] Flavor chain: 0%| | 0/32 [00:00<?, ?it/s] Flavor chain: 3%|▎ | 1/32 [00:00<00:25, 1.23it/s] Flavor chain: 6%|▋ | 2/32 [00:01<00:24, 1.21it/s] Flavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.19it/s] Flavor chain: 12%|█▎ | 4/32 [00:03<00:23, 1.18it/s] Flavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.17it/s] Flavor chain: 19%|█▉ | 6/32 [00:05<00:22, 1.15it/s] Flavor chain: 22%|██▏ | 7/32 [00:06<00:21, 1.14it/s] Flavor chain: 25%|██▌ | 8/32 [00:06<00:21, 1.13it/s] Flavor chain: 28%|██▊ | 9/32 [00:07<00:20, 1.11it/s] Flavor chain: 31%|███▏ | 10/32 [00:08<00:20, 1.09it/s] Flavor chain: 34%|███▍ | 11/32 [00:09<00:19, 1.07it/s] Flavor chain: 38%|███▊ | 12/32 [00:10<00:18, 1.06it/s] Flavor chain: 41%|████ | 13/32 [00:11<00:18, 1.04it/s] Flavor chain: 44%|████▍ | 14/32 [00:12<00:17, 1.02it/s] Flavor chain: 44%|████▍ | 14/32 [00:13<00:17, 1.01it/s] 0%| | 0/55 [00:00<?, ?it/s] 78%|███████▊ | 43/55 [00:00<00:00, 429.39it/s] 100%|██████████| 55/55 [00:00<00:00, 434.66it/s] 0%| | 0/6 [00:00<?, ?it/s] 100%|██████████| 6/6 [00:00<00:00, 317.31it/s] 0%| | 0/50 [00:00<?, ?it/s] 90%|█████████ | 45/50 [00:00<00:00, 447.75it/s] 100%|██████████| 50/50 [00:00<00:00, 452.42it/s] Prompt: painting of a child holding a bird in a field with a ball, style of picasso, white dove, macaron, midday photograph, platypus, listing image, nagasaki, guggimon, by Christian Jane Fergusson, head in hands, bluejay, single color, holding a white flag, nouvelle vague Enabling style adapter. Enabling openpose adapter. Data shape for DDIM sampling is (1, 4, 96, 64), eta 0.0 Running DDIM Sampling with 50 timesteps DDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s] DDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 4.04it/s] DDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.17it/s] DDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.23it/s] DDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.25it/s] DDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.26it/s] DDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.27it/s] DDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.28it/s] DDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.28it/s] DDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.29it/s] DDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.29it/s] DDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.29it/s] DDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.29it/s] DDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.29it/s] DDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.29it/s] DDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.29it/s] DDIM Sampler: 34%|███▍ | 17/50 [00:03<00:07, 4.29it/s] DDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.29it/s] DDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.29it/s] DDIM Sampler: 40%|████ | 20/50 [00:04<00:06, 4.29it/s] DDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.29it/s] DDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.29it/s] DDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.29it/s] DDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.28it/s] DDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.29it/s] DDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.29it/s] DDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.29it/s] DDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.29it/s] DDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.29it/s] DDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.29it/s] DDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.29it/s] DDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.29it/s] DDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.29it/s] DDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.29it/s] DDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.29it/s] DDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.29it/s] DDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.29it/s] DDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.29it/s] DDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.29it/s] DDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.29it/s] DDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.29it/s] DDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.29it/s] DDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.29it/s] DDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.29it/s] DDIM Sampler: 94%|█████████▍| 47/50 [00:10<00:00, 4.29it/s] DDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.30it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.30it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.28it/s] Generated outputs/image0-steps50-cfg8.0-face_enhance.png Running upscaler with face enhancement Image 0, upscaling 1/2, 2.0x Image 0, upscaling 2/2, 4.0x Written poseimg to outputs/openpose.png Done. 2 image(s).
Prediction
joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801IDs5rynolbd6dsiug3z6vp6mvbimStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- code
- seed
- 0
- booth
- public
- steps
- 50
- prompt
- cond_tau
- 1
- clip_mode
- best
- n_samples
- 1
- timestamp
- 0
- add_prompt
- neg_prompt
- (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d
- face_enhance
- style_weight
- 1
- use_upscaler
- detect_prompt
- guidance_scale
- 8
- style_cond_tau
- 0.8
- upscale_factor
- 2
- openpose_weight
- 1
{ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXqt6sTIxzcIGnP6YVm8i7QeEZrg3bEEZQZquClOZ2tB32x/thao-lee-v4zceVZ5HK8-unsplash%281%29.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXqttgH0n5pDQ2TfOFoaaJVXFU7edPrBMEMNI1VkLmABGr0/Venny_Soldan-Brofeldt_Kimono.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }
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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", { input: { code: "", seed: 0, booth: "public", image: "https://replicate.delivery/pbxt/JdXqt6sTIxzcIGnP6YVm8i7QeEZrg3bEEZQZquClOZ2tB32x/thao-lee-v4zceVZ5HK8-unsplash%281%29.jpg", steps: 50, prompt: "", artwork: "https://replicate.delivery/pbxt/JdXqttgH0n5pDQ2TfOFoaaJVXFU7edPrBMEMNI1VkLmABGr0/Venny_Soldan-Brofeldt_Kimono.jpg", cond_tau: 1, clip_mode: "best", n_samples: 1, timestamp: 0, add_prompt: "", neg_prompt: "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", face_enhance: true, style_weight: 1, use_upscaler: true, detect_prompt: true, guidance_scale: 8, style_cond_tau: 0.8, upscale_factor: 2, openpose_weight: 1 } } ); // 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 joetm/camerabooth-openpose-style using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", input={ "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXqt6sTIxzcIGnP6YVm8i7QeEZrg3bEEZQZquClOZ2tB32x/thao-lee-v4zceVZ5HK8-unsplash%281%29.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXqttgH0n5pDQ2TfOFoaaJVXFU7edPrBMEMNI1VkLmABGr0/Venny_Soldan-Brofeldt_Kimono.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": True, "style_weight": 1, "use_upscaler": True, "detect_prompt": True, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } ) # To access the file URL: print(output[0].url()) #=> "http://example.com" # To write the file to disk: with open("my-image.png", "wb") as file: file.write(output[0].read())
To learn more, take a look at the guide on getting started with Python.
Run joetm/camerabooth-openpose-style 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": "joetm/camerabooth-openpose-style:1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXqt6sTIxzcIGnP6YVm8i7QeEZrg3bEEZQZquClOZ2tB32x/thao-lee-v4zceVZ5HK8-unsplash%281%29.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXqttgH0n5pDQ2TfOFoaaJVXFU7edPrBMEMNI1VkLmABGr0/Venny_Soldan-Brofeldt_Kimono.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-10-03T20:00:08.792552Z", "created_at": "2023-10-03T19:59:18.129951Z", "data_removed": false, "error": null, "id": "s5rynolbd6dsiug3z6vp6mvbim", "input": { "code": "", "seed": 0, "booth": "public", "image": "https://replicate.delivery/pbxt/JdXqt6sTIxzcIGnP6YVm8i7QeEZrg3bEEZQZquClOZ2tB32x/thao-lee-v4zceVZ5HK8-unsplash%281%29.jpg", "steps": 50, "prompt": "", "artwork": "https://replicate.delivery/pbxt/JdXqttgH0n5pDQ2TfOFoaaJVXFU7edPrBMEMNI1VkLmABGr0/Venny_Soldan-Brofeldt_Kimono.jpg", "cond_tau": 1, "clip_mode": "best", "n_samples": 1, "timestamp": 0, "add_prompt": "", "neg_prompt": "(((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d", "face_enhance": true, "style_weight": 1, "use_upscaler": true, "detect_prompt": true, "guidance_scale": 8, "style_cond_tau": 0.8, "upscale_factor": 2, "openpose_weight": 1 }, "logs": "Using negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d\nDetecting prompt with CI (ViT-L-14/openai)...\nGlobal seed set to 25786\nLoading caption model blip-large...\nLoading CLIP model ViT-L-14/openai...\nLoaded CLIP model and data in 4.07 seconds.\n 0%| | 0/55 [00:00<?, ?it/s]\n 78%|███████▊ | 43/55 [00:00<00:00, 427.39it/s]\n100%|██████████| 55/55 [00:00<00:00, 433.26it/s]\nFlavor chain: 0%| | 0/32 [00:00<?, ?it/s]\nFlavor chain: 3%|▎ | 1/32 [00:00<00:26, 1.19it/s]\nFlavor chain: 6%|▋ | 2/32 [00:01<00:25, 1.20it/s]\nFlavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.19it/s]\nFlavor chain: 12%|█▎ | 4/32 [00:03<00:23, 1.17it/s]\nFlavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.16it/s]\nFlavor chain: 19%|█▉ | 6/32 [00:05<00:22, 1.14it/s]\nFlavor chain: 22%|██▏ | 7/32 [00:06<00:22, 1.12it/s]\nFlavor chain: 25%|██▌ | 8/32 [00:07<00:21, 1.10it/s]\nFlavor chain: 28%|██▊ | 9/32 [00:08<00:21, 1.08it/s]\nFlavor chain: 31%|███▏ | 10/32 [00:08<00:20, 1.06it/s]\nFlavor chain: 34%|███▍ | 11/32 [00:09<00:20, 1.04it/s]\nFlavor chain: 38%|███▊ | 12/32 [00:10<00:19, 1.03it/s]\nFlavor chain: 38%|███▊ | 12/32 [00:12<00:20, 1.00s/it]\n 0%| | 0/55 [00:00<?, ?it/s]\n 78%|███████▊ | 43/55 [00:00<00:00, 425.35it/s]\n100%|██████████| 55/55 [00:00<00:00, 430.82it/s]\n 0%| | 0/6 [00:00<?, ?it/s]\n100%|██████████| 6/6 [00:00<00:00, 319.75it/s]\n 0%| | 0/50 [00:00<?, ?it/s]\n 82%|████████▏ | 41/50 [00:00<00:00, 409.77it/s]\n100%|██████████| 50/50 [00:00<00:00, 417.78it/s]\nPrompt: painting of a man in a kimono standing in front of a curtain, scott burdick, dressed as a ballerina, young boy, genderswap, standing on two feet, inspired by Pan Tianshou, vargas, by John Henry Lorimer, a confident smile, beautiful costume, a boy, theater mask\nEnabling style adapter.\nEnabling openpose adapter.\nData shape for DDIM sampling is (1, 4, 96, 64), eta 0.0\nRunning DDIM Sampling with 50 timesteps\nDDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s]\nDDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 4.03it/s]\nDDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.17it/s]\nDDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.22it/s]\nDDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.25it/s]\nDDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.26it/s]\nDDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.27it/s]\nDDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.27it/s]\nDDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.28it/s]\nDDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.28it/s]\nDDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.28it/s]\nDDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.28it/s]\nDDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.28it/s]\nDDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.28it/s]\nDDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.28it/s]\nDDIM Sampler: 34%|███▍ | 17/50 [00:03<00:07, 4.28it/s]\nDDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.28it/s]\nDDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.28it/s]\nDDIM Sampler: 40%|████ | 20/50 [00:04<00:07, 4.28it/s]\nDDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.28it/s]\nDDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.28it/s]\nDDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.28it/s]\nDDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.28it/s]\nDDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.28it/s]\nDDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.28it/s]\nDDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.28it/s]\nDDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.28it/s]\nDDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.28it/s]\nDDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.28it/s]\nDDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.28it/s]\nDDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.28it/s]\nDDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.28it/s]\nDDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.28it/s]\nDDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.28it/s]\nDDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.28it/s]\nDDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.28it/s]\nDDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.28it/s]\nDDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.28it/s]\nDDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.28it/s]\nDDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.28it/s]\nDDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.28it/s]\nDDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.28it/s]\nDDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.28it/s]\nDDIM Sampler: 94%|█████████▍| 47/50 [00:10<00:00, 4.28it/s]\nDDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.29it/s]\nDDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.28it/s]\nGenerated outputs/image0-steps50-cfg8.0-face_enhance.png\nRunning upscaler with face enhancement\nImage 0, upscaling 1/2, 2.0x\nImage 0, upscaling 2/2, 4.0x\nWritten poseimg to outputs/openpose.png\nDone. 2 image(s).", "metrics": { "predict_time": 50.69124, "total_time": 50.662601 }, "output": [ "https://pbxt.replicate.delivery/WdnzCRk7ppqmHdvdNUx09xoNmBmz33pKVZYeJDkkttdjJR1IA/openpose.png", "https://pbxt.replicate.delivery/bWz2zeetTbkdTkOeaihed50jc8TVanphz761EeXOhfHejJR1IA/image0-steps50-cfg8.0-face_enhance-2.0x2.0.png" ], "started_at": "2023-10-03T19:59:18.101312Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/s5rynolbd6dsiug3z6vp6mvbim", "cancel": "https://api.replicate.com/v1/predictions/s5rynolbd6dsiug3z6vp6mvbim/cancel" }, "version": "1833bc8044109a1d7767f6bcffa05e55fbf35eccba8a2f1e9b1be16b9ca56801" }
Generated inUsing negative prompt: (((nsfw))), (((text))), (((words))), ((low quality)), worst quality, bad quality, ((bad art)), lowres, ((disfigured)), ((deformed)), ((mutilated)), glitch, ((distorted)), malformed, mutated, (((disfigured))), misaligned, poorly drawn, (((blurry))), ((blurred)), mutated, bad arms, ((extra limbs)), missing arms, missing legs, disconnected limbs, bad hands, ((poorly drawn hands)), ((poorly drawn face)), deformed hands, ((extra fingers)), ((extra legs)), fused fingers, (too many fingers), mutated hands, amputated limbs, no arms, extra arms, multiple arms, more than two legs, long neck, bad proportions, longbody, bad anatomy, missing fingers, extra digit, fewer digits, deformed eyes, poorly drawn eyes, cross-eye, ((cross-eyed)), bad skin, multiple, duplicated, by Bad Artist, monochrome, monotone, grayscale, b&w, sketches, speech bubble, signature, watermark, border, logo, ((morbid)), canvas frame, frame, 3d Detecting prompt with CI (ViT-L-14/openai)... Global seed set to 25786 Loading caption model blip-large... Loading CLIP model ViT-L-14/openai... Loaded CLIP model and data in 4.07 seconds. 0%| | 0/55 [00:00<?, ?it/s] 78%|███████▊ | 43/55 [00:00<00:00, 427.39it/s] 100%|██████████| 55/55 [00:00<00:00, 433.26it/s] Flavor chain: 0%| | 0/32 [00:00<?, ?it/s] Flavor chain: 3%|▎ | 1/32 [00:00<00:26, 1.19it/s] Flavor chain: 6%|▋ | 2/32 [00:01<00:25, 1.20it/s] Flavor chain: 9%|▉ | 3/32 [00:02<00:24, 1.19it/s] Flavor chain: 12%|█▎ | 4/32 [00:03<00:23, 1.17it/s] Flavor chain: 16%|█▌ | 5/32 [00:04<00:23, 1.16it/s] Flavor chain: 19%|█▉ | 6/32 [00:05<00:22, 1.14it/s] Flavor chain: 22%|██▏ | 7/32 [00:06<00:22, 1.12it/s] Flavor chain: 25%|██▌ | 8/32 [00:07<00:21, 1.10it/s] Flavor chain: 28%|██▊ | 9/32 [00:08<00:21, 1.08it/s] Flavor chain: 31%|███▏ | 10/32 [00:08<00:20, 1.06it/s] Flavor chain: 34%|███▍ | 11/32 [00:09<00:20, 1.04it/s] Flavor chain: 38%|███▊ | 12/32 [00:10<00:19, 1.03it/s] Flavor chain: 38%|███▊ | 12/32 [00:12<00:20, 1.00s/it] 0%| | 0/55 [00:00<?, ?it/s] 78%|███████▊ | 43/55 [00:00<00:00, 425.35it/s] 100%|██████████| 55/55 [00:00<00:00, 430.82it/s] 0%| | 0/6 [00:00<?, ?it/s] 100%|██████████| 6/6 [00:00<00:00, 319.75it/s] 0%| | 0/50 [00:00<?, ?it/s] 82%|████████▏ | 41/50 [00:00<00:00, 409.77it/s] 100%|██████████| 50/50 [00:00<00:00, 417.78it/s] Prompt: painting of a man in a kimono standing in front of a curtain, scott burdick, dressed as a ballerina, young boy, genderswap, standing on two feet, inspired by Pan Tianshou, vargas, by John Henry Lorimer, a confident smile, beautiful costume, a boy, theater mask Enabling style adapter. Enabling openpose adapter. Data shape for DDIM sampling is (1, 4, 96, 64), eta 0.0 Running DDIM Sampling with 50 timesteps DDIM Sampler: 0%| | 0/50 [00:00<?, ?it/s] DDIM Sampler: 2%|▏ | 1/50 [00:00<00:12, 4.03it/s] DDIM Sampler: 4%|▍ | 2/50 [00:00<00:11, 4.17it/s] DDIM Sampler: 6%|▌ | 3/50 [00:00<00:11, 4.22it/s] DDIM Sampler: 8%|▊ | 4/50 [00:00<00:10, 4.25it/s] DDIM Sampler: 10%|█ | 5/50 [00:01<00:10, 4.26it/s] DDIM Sampler: 12%|█▏ | 6/50 [00:01<00:10, 4.27it/s] DDIM Sampler: 14%|█▍ | 7/50 [00:01<00:10, 4.27it/s] DDIM Sampler: 16%|█▌ | 8/50 [00:01<00:09, 4.28it/s] DDIM Sampler: 18%|█▊ | 9/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 20%|██ | 10/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 22%|██▏ | 11/50 [00:02<00:09, 4.28it/s] DDIM Sampler: 24%|██▍ | 12/50 [00:02<00:08, 4.28it/s] DDIM Sampler: 26%|██▌ | 13/50 [00:03<00:08, 4.28it/s] DDIM Sampler: 28%|██▊ | 14/50 [00:03<00:08, 4.28it/s] DDIM Sampler: 30%|███ | 15/50 [00:03<00:08, 4.28it/s] DDIM Sampler: 32%|███▏ | 16/50 [00:03<00:07, 4.28it/s] DDIM Sampler: 34%|███▍ | 17/50 [00:03<00:07, 4.28it/s] DDIM Sampler: 36%|███▌ | 18/50 [00:04<00:07, 4.28it/s] DDIM Sampler: 38%|███▊ | 19/50 [00:04<00:07, 4.28it/s] DDIM Sampler: 40%|████ | 20/50 [00:04<00:07, 4.28it/s] DDIM Sampler: 42%|████▏ | 21/50 [00:04<00:06, 4.28it/s] DDIM Sampler: 44%|████▍ | 22/50 [00:05<00:06, 4.28it/s] DDIM Sampler: 46%|████▌ | 23/50 [00:05<00:06, 4.28it/s] DDIM Sampler: 48%|████▊ | 24/50 [00:05<00:06, 4.28it/s] DDIM Sampler: 50%|█████ | 25/50 [00:05<00:05, 4.28it/s] DDIM Sampler: 52%|█████▏ | 26/50 [00:06<00:05, 4.28it/s] DDIM Sampler: 54%|█████▍ | 27/50 [00:06<00:05, 4.28it/s] DDIM Sampler: 56%|█████▌ | 28/50 [00:06<00:05, 4.28it/s] DDIM Sampler: 58%|█████▊ | 29/50 [00:06<00:04, 4.28it/s] DDIM Sampler: 60%|██████ | 30/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 62%|██████▏ | 31/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 64%|██████▍ | 32/50 [00:07<00:04, 4.28it/s] DDIM Sampler: 66%|██████▌ | 33/50 [00:07<00:03, 4.28it/s] DDIM Sampler: 68%|██████▊ | 34/50 [00:07<00:03, 4.28it/s] DDIM Sampler: 70%|███████ | 35/50 [00:08<00:03, 4.28it/s] DDIM Sampler: 72%|███████▏ | 36/50 [00:08<00:03, 4.28it/s] DDIM Sampler: 74%|███████▍ | 37/50 [00:08<00:03, 4.28it/s] DDIM Sampler: 76%|███████▌ | 38/50 [00:08<00:02, 4.28it/s] DDIM Sampler: 78%|███████▊ | 39/50 [00:09<00:02, 4.28it/s] DDIM Sampler: 80%|████████ | 40/50 [00:09<00:02, 4.28it/s] DDIM Sampler: 82%|████████▏ | 41/50 [00:09<00:02, 4.28it/s] DDIM Sampler: 84%|████████▍ | 42/50 [00:09<00:01, 4.28it/s] DDIM Sampler: 86%|████████▌ | 43/50 [00:10<00:01, 4.28it/s] DDIM Sampler: 88%|████████▊ | 44/50 [00:10<00:01, 4.28it/s] DDIM Sampler: 90%|█████████ | 45/50 [00:10<00:01, 4.28it/s] DDIM Sampler: 92%|█████████▏| 46/50 [00:10<00:00, 4.28it/s] DDIM Sampler: 94%|█████████▍| 47/50 [00:10<00:00, 4.28it/s] DDIM Sampler: 96%|█████████▌| 48/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 98%|█████████▊| 49/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.29it/s] DDIM Sampler: 100%|██████████| 50/50 [00:11<00:00, 4.28it/s] Generated outputs/image0-steps50-cfg8.0-face_enhance.png Running upscaler with face enhancement Image 0, upscaling 1/2, 2.0x Image 0, upscaling 2/2, 4.0x Written poseimg to outputs/openpose.png Done. 2 image(s).
Want to make some of these yourself?
Run this model