camenduru
/
comfyui-ipadapter-latentupscale
IP-Adapter: Text Compatible Image Prompt Adapter for Text-to-Image Diffusion Models
Prediction
camenduru/comfyui-ipadapter-latentupscale:64ad9997IDf8838mre29rgj0cf0wdv1b4sggStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- cfg
- 7
- seed
- 543543
- steps
- 30
- width
- 768
- height
- 512
- scheduler
- karras
- sampler_name
- dpmpp_2m
- image_denoise
- 1
- latent_upscale
- latent_upscale_size
- 1.5
- red_negative_prompt
- red_positive_prompt
- anime illustration of a young woman with a black jacket
- black_negative_prompt
- blurry, lowres, bad art, ill, distorted, malformed, horror
- black_positive_prompt
- closeup of two girl friends shopping in a beach
- green_negative_prompt
- anime
- green_positive_prompt
- illustration of a blond woman
- latent_upscale_denoise
- 0.55
{ "cfg": 7, "seed": 543543, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a beach", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", { input: { cfg: 7, seed: 543543, steps: 30, width: 768, height: 512, red_part: "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", scheduler: "karras", black_part: "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", color_mask: "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", green_part: "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", sampler_name: "dpmpp_2m", image_denoise: 1, latent_upscale: true, latent_upscale_size: 1.5, red_negative_prompt: "", red_positive_prompt: "anime illustration of a young woman with a black jacket", black_negative_prompt: "blurry, lowres, bad art, ill, distorted, malformed, horror", black_positive_prompt: "closeup of two girl friends shopping in a beach", green_negative_prompt: "anime", green_positive_prompt: "illustration of a blond woman", latent_upscale_denoise: 0.55 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", input={ "cfg": 7, "seed": 543543, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": True, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a beach", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/comfyui-ipadapter-latentupscale 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": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", "input": { "cfg": 7, "seed": 543543, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a beach", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-22T18:43:56.092964Z", "created_at": "2024-04-22T18:39:24.690000Z", "data_removed": false, "error": null, "id": "f8838mre29rgj0cf0wdv1b4sgg", "input": { "cfg": 7, "seed": 543543, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a beach", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }, "logs": "Requested to load SD1ClipModel\nLoading 1 new model\nRequested to load CLIPVisionModelProjection\nLoading 1 new model\nRequested to load BaseModel\nLoading 1 new model\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:11, 2.43it/s]\n 7%|▋ | 2/30 [00:00<00:07, 3.70it/s]\n 10%|█ | 3/30 [00:00<00:06, 4.44it/s]\n 13%|█▎ | 4/30 [00:00<00:05, 4.91it/s]\n 17%|█▋ | 5/30 [00:01<00:04, 5.22it/s]\n 20%|██ | 6/30 [00:01<00:04, 5.41it/s]\n 23%|██▎ | 7/30 [00:01<00:04, 5.53it/s]\n 27%|██▋ | 8/30 [00:01<00:03, 5.62it/s]\n 30%|███ | 9/30 [00:01<00:03, 5.69it/s]\n 33%|███▎ | 10/30 [00:01<00:03, 5.74it/s]\n 37%|███▋ | 11/30 [00:02<00:03, 5.78it/s]\n 40%|████ | 12/30 [00:02<00:03, 5.79it/s]\n 43%|████▎ | 13/30 [00:02<00:02, 5.81it/s]\n 47%|████▋ | 14/30 [00:02<00:02, 5.82it/s]\n 50%|█████ | 15/30 [00:02<00:02, 5.84it/s]\n 53%|█████▎ | 16/30 [00:02<00:02, 5.85it/s]\n 57%|█████▋ | 17/30 [00:03<00:02, 5.83it/s]\n 60%|██████ | 18/30 [00:03<00:02, 5.83it/s]\n 63%|██████▎ | 19/30 [00:03<00:01, 5.84it/s]\n 67%|██████▋ | 20/30 [00:03<00:01, 5.84it/s]\n 70%|███████ | 21/30 [00:03<00:01, 5.83it/s]\n 73%|███████▎ | 22/30 [00:04<00:01, 5.84it/s]\n 77%|███████▋ | 23/30 [00:04<00:01, 5.84it/s]\n 80%|████████ | 24/30 [00:04<00:01, 5.81it/s]\n 83%|████████▎ | 25/30 [00:04<00:00, 5.82it/s]\n 87%|████████▋ | 26/30 [00:04<00:00, 5.83it/s]\n 90%|█████████ | 27/30 [00:04<00:00, 5.84it/s]\n 93%|█████████▎| 28/30 [00:05<00:00, 5.84it/s]\n 97%|█████████▋| 29/30 [00:05<00:00, 5.84it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.80it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.57it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n/root/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/cuda/memory.py:440: FutureWarning: torch.cuda.memory_cached has been renamed to torch.cuda.memory_reserved\nwarnings.warn(\n5161091072\n3953131520\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:11, 2.49it/s]\n 7%|▋ | 2/30 [00:00<00:11, 2.48it/s]\n 10%|█ | 3/30 [00:01<00:10, 2.49it/s]\n 13%|█▎ | 4/30 [00:01<00:10, 2.49it/s]\n 17%|█▋ | 5/30 [00:02<00:10, 2.49it/s]\n 20%|██ | 6/30 [00:02<00:09, 2.50it/s]\n 23%|██▎ | 7/30 [00:02<00:09, 2.50it/s]\n 27%|██▋ | 8/30 [00:03<00:08, 2.50it/s]\n 30%|███ | 9/30 [00:03<00:08, 2.50it/s]\n 33%|███▎ | 10/30 [00:04<00:08, 2.50it/s]\n 37%|███▋ | 11/30 [00:04<00:07, 2.48it/s]\n 40%|████ | 12/30 [00:04<00:07, 2.48it/s]\n 43%|████▎ | 13/30 [00:05<00:06, 2.49it/s]\n 47%|████▋ | 14/30 [00:05<00:06, 2.49it/s]\n 50%|█████ | 15/30 [00:06<00:06, 2.49it/s]\n 53%|█████▎ | 16/30 [00:06<00:05, 2.49it/s]\n 57%|█████▋ | 17/30 [00:06<00:05, 2.49it/s]\n 60%|██████ | 18/30 [00:07<00:04, 2.49it/s]\n 63%|██████▎ | 19/30 [00:07<00:04, 2.49it/s]\n 67%|██████▋ | 20/30 [00:08<00:04, 2.49it/s]\n 70%|███████ | 21/30 [00:08<00:03, 2.49it/s]\n 73%|███████▎ | 22/30 [00:08<00:03, 2.49it/s]\n 77%|███████▋ | 23/30 [00:09<00:02, 2.49it/s]\n 80%|████████ | 24/30 [00:09<00:02, 2.48it/s]\n 83%|████████▎ | 25/30 [00:10<00:02, 2.49it/s]\n 87%|████████▋ | 26/30 [00:10<00:01, 2.49it/s]\n 90%|█████████ | 27/30 [00:10<00:01, 2.49it/s]\n 93%|█████████▎| 28/30 [00:11<00:00, 2.49it/s]\n 97%|█████████▋| 29/30 [00:11<00:00, 2.48it/s]\n100%|██████████| 30/30 [00:12<00:00, 2.48it/s]\n100%|██████████| 30/30 [00:12<00:00, 2.49it/s]\n6043992064\n4345298944", "metrics": { "predict_time": 24.164322, "total_time": 271.402964 }, "output": [ "https://replicate.delivery/pbxt/vjGw2039en1wAafhLHEmfjD9z4CtTep7fQnfjvAr5Ys56hRrE/final_image.png", "https://replicate.delivery/pbxt/HYFwa3jJwL6qL9HUxelIm2iCSvceBLfVZfE60CRoFC7uewoVC/final_up_image.png" ], "started_at": "2024-04-22T18:43:31.928642Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/f8838mre29rgj0cf0wdv1b4sgg", "cancel": "https://api.replicate.com/v1/predictions/f8838mre29rgj0cf0wdv1b4sgg/cancel" }, "version": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036" }
Generated inRequested to load SD1ClipModel Loading 1 new model Requested to load CLIPVisionModelProjection Loading 1 new model Requested to load BaseModel Loading 1 new model 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:11, 2.43it/s] 7%|▋ | 2/30 [00:00<00:07, 3.70it/s] 10%|█ | 3/30 [00:00<00:06, 4.44it/s] 13%|█▎ | 4/30 [00:00<00:05, 4.91it/s] 17%|█▋ | 5/30 [00:01<00:04, 5.22it/s] 20%|██ | 6/30 [00:01<00:04, 5.41it/s] 23%|██▎ | 7/30 [00:01<00:04, 5.53it/s] 27%|██▋ | 8/30 [00:01<00:03, 5.62it/s] 30%|███ | 9/30 [00:01<00:03, 5.69it/s] 33%|███▎ | 10/30 [00:01<00:03, 5.74it/s] 37%|███▋ | 11/30 [00:02<00:03, 5.78it/s] 40%|████ | 12/30 [00:02<00:03, 5.79it/s] 43%|████▎ | 13/30 [00:02<00:02, 5.81it/s] 47%|████▋ | 14/30 [00:02<00:02, 5.82it/s] 50%|█████ | 15/30 [00:02<00:02, 5.84it/s] 53%|█████▎ | 16/30 [00:02<00:02, 5.85it/s] 57%|█████▋ | 17/30 [00:03<00:02, 5.83it/s] 60%|██████ | 18/30 [00:03<00:02, 5.83it/s] 63%|██████▎ | 19/30 [00:03<00:01, 5.84it/s] 67%|██████▋ | 20/30 [00:03<00:01, 5.84it/s] 70%|███████ | 21/30 [00:03<00:01, 5.83it/s] 73%|███████▎ | 22/30 [00:04<00:01, 5.84it/s] 77%|███████▋ | 23/30 [00:04<00:01, 5.84it/s] 80%|████████ | 24/30 [00:04<00:01, 5.81it/s] 83%|████████▎ | 25/30 [00:04<00:00, 5.82it/s] 87%|████████▋ | 26/30 [00:04<00:00, 5.83it/s] 90%|█████████ | 27/30 [00:04<00:00, 5.84it/s] 93%|█████████▎| 28/30 [00:05<00:00, 5.84it/s] 97%|█████████▋| 29/30 [00:05<00:00, 5.84it/s] 100%|██████████| 30/30 [00:05<00:00, 5.80it/s] 100%|██████████| 30/30 [00:05<00:00, 5.57it/s] Requested to load AutoencoderKL Loading 1 new model /root/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/cuda/memory.py:440: FutureWarning: torch.cuda.memory_cached has been renamed to torch.cuda.memory_reserved warnings.warn( 5161091072 3953131520 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:11, 2.49it/s] 7%|▋ | 2/30 [00:00<00:11, 2.48it/s] 10%|█ | 3/30 [00:01<00:10, 2.49it/s] 13%|█▎ | 4/30 [00:01<00:10, 2.49it/s] 17%|█▋ | 5/30 [00:02<00:10, 2.49it/s] 20%|██ | 6/30 [00:02<00:09, 2.50it/s] 23%|██▎ | 7/30 [00:02<00:09, 2.50it/s] 27%|██▋ | 8/30 [00:03<00:08, 2.50it/s] 30%|███ | 9/30 [00:03<00:08, 2.50it/s] 33%|███▎ | 10/30 [00:04<00:08, 2.50it/s] 37%|███▋ | 11/30 [00:04<00:07, 2.48it/s] 40%|████ | 12/30 [00:04<00:07, 2.48it/s] 43%|████▎ | 13/30 [00:05<00:06, 2.49it/s] 47%|████▋ | 14/30 [00:05<00:06, 2.49it/s] 50%|█████ | 15/30 [00:06<00:06, 2.49it/s] 53%|█████▎ | 16/30 [00:06<00:05, 2.49it/s] 57%|█████▋ | 17/30 [00:06<00:05, 2.49it/s] 60%|██████ | 18/30 [00:07<00:04, 2.49it/s] 63%|██████▎ | 19/30 [00:07<00:04, 2.49it/s] 67%|██████▋ | 20/30 [00:08<00:04, 2.49it/s] 70%|███████ | 21/30 [00:08<00:03, 2.49it/s] 73%|███████▎ | 22/30 [00:08<00:03, 2.49it/s] 77%|███████▋ | 23/30 [00:09<00:02, 2.49it/s] 80%|████████ | 24/30 [00:09<00:02, 2.48it/s] 83%|████████▎ | 25/30 [00:10<00:02, 2.49it/s] 87%|████████▋ | 26/30 [00:10<00:01, 2.49it/s] 90%|█████████ | 27/30 [00:10<00:01, 2.49it/s] 93%|█████████▎| 28/30 [00:11<00:00, 2.49it/s] 97%|█████████▋| 29/30 [00:11<00:00, 2.48it/s] 100%|██████████| 30/30 [00:12<00:00, 2.48it/s] 100%|██████████| 30/30 [00:12<00:00, 2.49it/s] 6043992064 4345298944
Prediction
camenduru/comfyui-ipadapter-latentupscale:64ad9997ID20ckcr801xrgj0cf0wqvnkgp4wStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- cfg
- 7
- seed
- 3
- steps
- 30
- width
- 768
- height
- 512
- scheduler
- karras
- sampler_name
- dpmpp_2m
- image_denoise
- 1
- latent_upscale
- latent_upscale_size
- 1.5
- red_negative_prompt
- red_positive_prompt
- anime illustration of a young woman with a black jacket
- black_negative_prompt
- blurry, lowres, bad art, ill, distorted, malformed, horror
- black_positive_prompt
- closeup of two girl friends shopping in a beach
- green_negative_prompt
- anime, illustration
- green_positive_prompt
- portrait of Elon Musk
- latent_upscale_denoise
- 0.55
{ "cfg": 7, "seed": 3, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnERA8Xcmx4kZGyHnaFe04sJG9EbPQ78WWmjCiJu3o5BCVfq/Elon_Musk_Colorado_2022_%28cropped2%29.jpg", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a beach", "green_negative_prompt": "anime, illustration ", "green_positive_prompt": "portrait of Elon Musk", "latent_upscale_denoise": 0.55 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", { input: { cfg: 7, seed: 3, steps: 30, width: 768, height: 512, red_part: "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", scheduler: "karras", black_part: "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", color_mask: "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", green_part: "https://replicate.delivery/pbxt/KnERA8Xcmx4kZGyHnaFe04sJG9EbPQ78WWmjCiJu3o5BCVfq/Elon_Musk_Colorado_2022_%28cropped2%29.jpg", sampler_name: "dpmpp_2m", image_denoise: 1, latent_upscale: true, latent_upscale_size: 1.5, red_negative_prompt: "", red_positive_prompt: "anime illustration of a young woman with a black jacket", black_negative_prompt: "blurry, lowres, bad art, ill, distorted, malformed, horror", black_positive_prompt: "closeup of two girl friends shopping in a beach", green_negative_prompt: "anime, illustration ", green_positive_prompt: "portrait of Elon Musk", latent_upscale_denoise: 0.55 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", input={ "cfg": 7, "seed": 3, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnERA8Xcmx4kZGyHnaFe04sJG9EbPQ78WWmjCiJu3o5BCVfq/Elon_Musk_Colorado_2022_%28cropped2%29.jpg", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": True, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a beach", "green_negative_prompt": "anime, illustration ", "green_positive_prompt": "portrait of Elon Musk", "latent_upscale_denoise": 0.55 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/comfyui-ipadapter-latentupscale 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": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", "input": { "cfg": 7, "seed": 3, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnERA8Xcmx4kZGyHnaFe04sJG9EbPQ78WWmjCiJu3o5BCVfq/Elon_Musk_Colorado_2022_%28cropped2%29.jpg", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a beach", "green_negative_prompt": "anime, illustration ", "green_positive_prompt": "portrait of Elon Musk", "latent_upscale_denoise": 0.55 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-22T19:01:35.270781Z", "created_at": "2024-04-22T19:01:11.823000Z", "data_removed": false, "error": null, "id": "20ckcr801xrgj0cf0wqvnkgp4w", "input": { "cfg": 7, "seed": 3, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnCUmzgTYo8hrLTnxYuxa5QdgYY23UBHoJ2ayOaDLkfEHbIz/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnERA8Xcmx4kZGyHnaFe04sJG9EbPQ78WWmjCiJu3o5BCVfq/Elon_Musk_Colorado_2022_%28cropped2%29.jpg", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a beach", "green_negative_prompt": "anime, illustration ", "green_positive_prompt": "portrait of Elon Musk", "latent_upscale_denoise": 0.55 }, "logs": "\u001b[33mINFO: the IPAdapter reference image is not a square, CLIPImageProcessor will resize and crop it at the center. If the main focus of the picture is not in the middle the result might not be what you are expecting.\u001b[0m\nRequested to load BaseModel\nLoading 1 new model\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:04, 5.92it/s]\n 7%|▋ | 2/30 [00:00<00:04, 5.78it/s]\n 10%|█ | 3/30 [00:00<00:04, 5.78it/s]\n 13%|█▎ | 4/30 [00:00<00:04, 5.80it/s]\n 17%|█▋ | 5/30 [00:00<00:04, 5.81it/s]\n 20%|██ | 6/30 [00:01<00:04, 5.80it/s]\n 23%|██▎ | 7/30 [00:01<00:03, 5.81it/s]\n 27%|██▋ | 8/30 [00:01<00:03, 5.80it/s]\n 30%|███ | 9/30 [00:01<00:03, 5.81it/s]\n 33%|███▎ | 10/30 [00:01<00:03, 5.81it/s]\n 37%|███▋ | 11/30 [00:01<00:03, 5.80it/s]\n 40%|████ | 12/30 [00:02<00:03, 5.77it/s]\n 43%|████▎ | 13/30 [00:02<00:02, 5.78it/s]\n 47%|████▋ | 14/30 [00:02<00:02, 5.78it/s]\n 50%|█████ | 15/30 [00:02<00:02, 5.80it/s]\n 53%|█████▎ | 16/30 [00:02<00:02, 5.80it/s]\n 57%|█████▋ | 17/30 [00:02<00:02, 5.80it/s]\n 60%|██████ | 18/30 [00:03<00:02, 5.77it/s]\n 63%|██████▎ | 19/30 [00:03<00:01, 5.78it/s]\n 67%|██████▋ | 20/30 [00:03<00:01, 5.79it/s]\n 70%|███████ | 21/30 [00:03<00:01, 5.80it/s]\n 73%|███████▎ | 22/30 [00:03<00:01, 5.80it/s]\n 77%|███████▋ | 23/30 [00:03<00:01, 5.81it/s]\n 80%|████████ | 24/30 [00:04<00:01, 5.81it/s]\n 83%|████████▎ | 25/30 [00:04<00:00, 5.81it/s]\n 87%|████████▋ | 26/30 [00:04<00:00, 5.80it/s]\n 90%|█████████ | 27/30 [00:04<00:00, 5.80it/s]\n 93%|█████████▎| 28/30 [00:04<00:00, 5.80it/s]\n 97%|█████████▋| 29/30 [00:05<00:00, 5.80it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.80it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.80it/s]\n5303697408\n4095737856\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:11, 2.57it/s]\n 7%|▋ | 2/30 [00:00<00:11, 2.50it/s]\n 10%|█ | 3/30 [00:01<00:10, 2.50it/s]\n 13%|█▎ | 4/30 [00:01<00:10, 2.50it/s]\n 17%|█▋ | 5/30 [00:01<00:10, 2.50it/s]\n 20%|██ | 6/30 [00:02<00:09, 2.50it/s]\n 23%|██▎ | 7/30 [00:02<00:09, 2.49it/s]\n 27%|██▋ | 8/30 [00:03<00:08, 2.49it/s]\n 30%|███ | 9/30 [00:03<00:08, 2.49it/s]\n 33%|███▎ | 10/30 [00:04<00:08, 2.49it/s]\n 37%|███▋ | 11/30 [00:04<00:07, 2.49it/s]\n 40%|████ | 12/30 [00:04<00:07, 2.49it/s]\n 43%|████▎ | 13/30 [00:05<00:06, 2.49it/s]\n 47%|████▋ | 14/30 [00:05<00:06, 2.49it/s]\n 50%|█████ | 15/30 [00:06<00:06, 2.49it/s]\n 53%|█████▎ | 16/30 [00:06<00:05, 2.49it/s]\n 57%|█████▋ | 17/30 [00:06<00:05, 2.49it/s]\n 60%|██████ | 18/30 [00:07<00:04, 2.49it/s]\n 63%|██████▎ | 19/30 [00:07<00:04, 2.49it/s]\n 67%|██████▋ | 20/30 [00:08<00:04, 2.49it/s]\n 70%|███████ | 21/30 [00:08<00:03, 2.49it/s]\n 73%|███████▎ | 22/30 [00:08<00:03, 2.49it/s]\n 77%|███████▋ | 23/30 [00:09<00:02, 2.49it/s]\n 80%|████████ | 24/30 [00:09<00:02, 2.49it/s]\n 83%|████████▎ | 25/30 [00:10<00:02, 2.49it/s]\n 87%|████████▋ | 26/30 [00:10<00:01, 2.49it/s]\n 90%|█████████ | 27/30 [00:10<00:01, 2.49it/s]\n 93%|█████████▎| 28/30 [00:11<00:00, 2.48it/s]\n 97%|█████████▋| 29/30 [00:11<00:00, 2.49it/s]\n100%|██████████| 30/30 [00:12<00:00, 2.49it/s]\n100%|██████████| 30/30 [00:12<00:00, 2.49it/s]\n5985271808\n4366270464", "metrics": { "predict_time": 23.405815, "total_time": 23.447781 }, "output": [ "https://replicate.delivery/pbxt/VIsiRILukqZtJlK46vLGJR4QVn3z6GS3moDSzUCWMXQDmRrE/final_image.png", "https://replicate.delivery/pbxt/VPxp3KOzVf08ZKm7ltfVJ6M9EEMj8InfSdyxVDORm7xdwMalA/final_up_image.png" ], "started_at": "2024-04-22T19:01:11.864966Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/20ckcr801xrgj0cf0wqvnkgp4w", "cancel": "https://api.replicate.com/v1/predictions/20ckcr801xrgj0cf0wqvnkgp4w/cancel" }, "version": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036" }
Generated inINFO: the IPAdapter reference image is not a square, CLIPImageProcessor will resize and crop it at the center. If the main focus of the picture is not in the middle the result might not be what you are expecting. Requested to load BaseModel Loading 1 new model 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:04, 5.92it/s] 7%|▋ | 2/30 [00:00<00:04, 5.78it/s] 10%|█ | 3/30 [00:00<00:04, 5.78it/s] 13%|█▎ | 4/30 [00:00<00:04, 5.80it/s] 17%|█▋ | 5/30 [00:00<00:04, 5.81it/s] 20%|██ | 6/30 [00:01<00:04, 5.80it/s] 23%|██▎ | 7/30 [00:01<00:03, 5.81it/s] 27%|██▋ | 8/30 [00:01<00:03, 5.80it/s] 30%|███ | 9/30 [00:01<00:03, 5.81it/s] 33%|███▎ | 10/30 [00:01<00:03, 5.81it/s] 37%|███▋ | 11/30 [00:01<00:03, 5.80it/s] 40%|████ | 12/30 [00:02<00:03, 5.77it/s] 43%|████▎ | 13/30 [00:02<00:02, 5.78it/s] 47%|████▋ | 14/30 [00:02<00:02, 5.78it/s] 50%|█████ | 15/30 [00:02<00:02, 5.80it/s] 53%|█████▎ | 16/30 [00:02<00:02, 5.80it/s] 57%|█████▋ | 17/30 [00:02<00:02, 5.80it/s] 60%|██████ | 18/30 [00:03<00:02, 5.77it/s] 63%|██████▎ | 19/30 [00:03<00:01, 5.78it/s] 67%|██████▋ | 20/30 [00:03<00:01, 5.79it/s] 70%|███████ | 21/30 [00:03<00:01, 5.80it/s] 73%|███████▎ | 22/30 [00:03<00:01, 5.80it/s] 77%|███████▋ | 23/30 [00:03<00:01, 5.81it/s] 80%|████████ | 24/30 [00:04<00:01, 5.81it/s] 83%|████████▎ | 25/30 [00:04<00:00, 5.81it/s] 87%|████████▋ | 26/30 [00:04<00:00, 5.80it/s] 90%|█████████ | 27/30 [00:04<00:00, 5.80it/s] 93%|█████████▎| 28/30 [00:04<00:00, 5.80it/s] 97%|█████████▋| 29/30 [00:05<00:00, 5.80it/s] 100%|██████████| 30/30 [00:05<00:00, 5.80it/s] 100%|██████████| 30/30 [00:05<00:00, 5.80it/s] 5303697408 4095737856 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:11, 2.57it/s] 7%|▋ | 2/30 [00:00<00:11, 2.50it/s] 10%|█ | 3/30 [00:01<00:10, 2.50it/s] 13%|█▎ | 4/30 [00:01<00:10, 2.50it/s] 17%|█▋ | 5/30 [00:01<00:10, 2.50it/s] 20%|██ | 6/30 [00:02<00:09, 2.50it/s] 23%|██▎ | 7/30 [00:02<00:09, 2.49it/s] 27%|██▋ | 8/30 [00:03<00:08, 2.49it/s] 30%|███ | 9/30 [00:03<00:08, 2.49it/s] 33%|███▎ | 10/30 [00:04<00:08, 2.49it/s] 37%|███▋ | 11/30 [00:04<00:07, 2.49it/s] 40%|████ | 12/30 [00:04<00:07, 2.49it/s] 43%|████▎ | 13/30 [00:05<00:06, 2.49it/s] 47%|████▋ | 14/30 [00:05<00:06, 2.49it/s] 50%|█████ | 15/30 [00:06<00:06, 2.49it/s] 53%|█████▎ | 16/30 [00:06<00:05, 2.49it/s] 57%|█████▋ | 17/30 [00:06<00:05, 2.49it/s] 60%|██████ | 18/30 [00:07<00:04, 2.49it/s] 63%|██████▎ | 19/30 [00:07<00:04, 2.49it/s] 67%|██████▋ | 20/30 [00:08<00:04, 2.49it/s] 70%|███████ | 21/30 [00:08<00:03, 2.49it/s] 73%|███████▎ | 22/30 [00:08<00:03, 2.49it/s] 77%|███████▋ | 23/30 [00:09<00:02, 2.49it/s] 80%|████████ | 24/30 [00:09<00:02, 2.49it/s] 83%|████████▎ | 25/30 [00:10<00:02, 2.49it/s] 87%|████████▋ | 26/30 [00:10<00:01, 2.49it/s] 90%|█████████ | 27/30 [00:10<00:01, 2.49it/s] 93%|█████████▎| 28/30 [00:11<00:00, 2.48it/s] 97%|█████████▋| 29/30 [00:11<00:00, 2.49it/s] 100%|██████████| 30/30 [00:12<00:00, 2.49it/s] 100%|██████████| 30/30 [00:12<00:00, 2.49it/s] 5985271808 4366270464
Prediction
camenduru/comfyui-ipadapter-latentupscale:64ad9997ID925ynghbdxrgm0cf0y2veyfy60StatusSucceededSourceWebHardwareA40Total durationCreatedInput
- cfg
- 7
- seed
- 1
- steps
- 30
- width
- 1024
- height
- 512
- scheduler
- karras
- sampler_name
- dpmpp_2m
- image_denoise
- 1
- red_threshold
- 0.15
- latent_upscale
- black_threshold
- 0.15
- green_threshold
- 0.15
- red_image_weight
- 0.7
- red_prompt_weight
- 1
- black_image_weight
- 0.7
- green_image_weight
- 0.7
- black_prompt_weight
- 1
- green_prompt_weight
- 1
- latent_upscale_size
- 1.5
- red_negative_prompt
- red_positive_prompt
- anime of a young woman with a red jacket
- black_negative_prompt
- blurry, low-res, bad art
- black_positive_prompt
- close-up of two girlfriends inside a ship.
- green_negative_prompt
- anime
- green_positive_prompt
- illustration of a blond woman
- latent_upscale_denoise
- 0.55
{ "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnFsLXwRd0AfGEKeT2OXD0B4fm8WJXq7cbGt3us0Iw9FykxD/ca6fe870-8af9-43bd-aaaa-878a6f429cf2.webp", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", "color_mask": "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "red_threshold": 0.15, "latent_upscale": true, "black_threshold": 0.15, "green_threshold": 0.15, "red_image_weight": 0.7, "red_prompt_weight": 1, "black_image_weight": 0.7, "green_image_weight": 0.7, "black_prompt_weight": 1, "green_prompt_weight": 1, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", { input: { cfg: 7, seed: 1, steps: 30, width: 1024, height: 512, red_part: "https://replicate.delivery/pbxt/KnFsLXwRd0AfGEKeT2OXD0B4fm8WJXq7cbGt3us0Iw9FykxD/ca6fe870-8af9-43bd-aaaa-878a6f429cf2.webp", scheduler: "karras", black_part: "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", color_mask: "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", green_part: "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", sampler_name: "dpmpp_2m", image_denoise: 1, latent_upscale: true, latent_upscale_size: 1.5, red_negative_prompt: "", red_positive_prompt: "anime of a young woman with a red jacket", black_negative_prompt: "blurry, low-res, bad art", black_positive_prompt: "close-up of two girlfriends inside a ship.", green_negative_prompt: "anime", green_positive_prompt: "illustration of a blond woman", latent_upscale_denoise: 0.55 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", input={ "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnFsLXwRd0AfGEKeT2OXD0B4fm8WJXq7cbGt3us0Iw9FykxD/ca6fe870-8af9-43bd-aaaa-878a6f429cf2.webp", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", "color_mask": "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": True, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/comfyui-ipadapter-latentupscale 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": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", "input": { "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnFsLXwRd0AfGEKeT2OXD0B4fm8WJXq7cbGt3us0Iw9FykxD/ca6fe870-8af9-43bd-aaaa-878a6f429cf2.webp", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", "color_mask": "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-22T20:35:51.554777Z", "created_at": "2024-04-22T20:35:19.023000Z", "data_removed": false, "error": null, "id": "925ynghbdxrgm0cf0y2veyfy60", "input": { "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnFsLXwRd0AfGEKeT2OXD0B4fm8WJXq7cbGt3us0Iw9FykxD/ca6fe870-8af9-43bd-aaaa-878a6f429cf2.webp", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", "color_mask": "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "red_threshold": 0.15, "latent_upscale": true, "black_threshold": 0.15, "green_threshold": 0.15, "red_image_weight": 0.7, "red_prompt_weight": 1, "black_image_weight": 0.7, "green_image_weight": 0.7, "black_prompt_weight": 1, "green_prompt_weight": 1, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }, "logs": "\u001b[33mINFO: the IPAdapter reference image is not a square, CLIPImageProcessor will resize and crop it at the center. If the main focus of the picture is not in the middle the result might not be what you are expecting.\u001b[0m\nRequested to load BaseModel\nLoading 1 new model\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:07, 4.03it/s]\n 7%|▋ | 2/30 [00:00<00:06, 4.29it/s]\n 10%|█ | 3/30 [00:00<00:06, 4.38it/s]\n 13%|█▎ | 4/30 [00:00<00:05, 4.42it/s]\n 17%|█▋ | 5/30 [00:01<00:05, 4.41it/s]\n 20%|██ | 6/30 [00:01<00:05, 4.43it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 4.44it/s]\n 27%|██▋ | 8/30 [00:01<00:04, 4.46it/s]\n 30%|███ | 9/30 [00:02<00:04, 4.46it/s]\n 33%|███▎ | 10/30 [00:02<00:04, 4.47it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 4.48it/s]\n 40%|████ | 12/30 [00:02<00:04, 4.48it/s]\n 43%|████▎ | 13/30 [00:02<00:03, 4.47it/s]\n 47%|████▋ | 14/30 [00:03<00:03, 4.46it/s]\n 50%|█████ | 15/30 [00:03<00:03, 4.47it/s]\n 53%|█████▎ | 16/30 [00:03<00:03, 4.47it/s]\n 57%|█████▋ | 17/30 [00:03<00:02, 4.48it/s]\n 60%|██████ | 18/30 [00:04<00:02, 4.50it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 4.51it/s]\n 67%|██████▋ | 20/30 [00:04<00:02, 4.51it/s]\n 70%|███████ | 21/30 [00:04<00:01, 4.52it/s]\n 73%|███████▎ | 22/30 [00:04<00:01, 4.51it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 4.41it/s]\n 80%|████████ | 24/30 [00:05<00:01, 4.44it/s]\n 83%|████████▎ | 25/30 [00:05<00:01, 4.47it/s]\n 87%|████████▋ | 26/30 [00:05<00:00, 4.49it/s]\n 90%|█████████ | 27/30 [00:06<00:00, 4.50it/s]\n 93%|█████████▎| 28/30 [00:06<00:00, 4.50it/s]\n 97%|█████████▋| 29/30 [00:06<00:00, 4.51it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.51it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.47it/s]\n5549064192\n4250927104\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:16, 1.72it/s]\n 7%|▋ | 2/30 [00:01<00:16, 1.70it/s]\n 10%|█ | 3/30 [00:01<00:15, 1.70it/s]\n 13%|█▎ | 4/30 [00:02<00:15, 1.70it/s]\n 17%|█▋ | 5/30 [00:02<00:14, 1.70it/s]\n 20%|██ | 6/30 [00:03<00:14, 1.70it/s]\n 23%|██▎ | 7/30 [00:04<00:13, 1.70it/s]\n 27%|██▋ | 8/30 [00:04<00:12, 1.70it/s]\n 30%|███ | 9/30 [00:05<00:12, 1.70it/s]\n 33%|███▎ | 10/30 [00:05<00:11, 1.70it/s]\n 37%|███▋ | 11/30 [00:06<00:11, 1.70it/s]\n 40%|████ | 12/30 [00:07<00:10, 1.70it/s]\n 43%|████▎ | 13/30 [00:07<00:10, 1.69it/s]\n 47%|████▋ | 14/30 [00:08<00:09, 1.67it/s]\n 50%|█████ | 15/30 [00:08<00:08, 1.68it/s]\n 53%|█████▎ | 16/30 [00:09<00:08, 1.68it/s]\n 57%|█████▋ | 17/30 [00:10<00:07, 1.68it/s]\n 60%|██████ | 18/30 [00:10<00:07, 1.69it/s]\n 63%|██████▎ | 19/30 [00:11<00:06, 1.69it/s]\n 67%|██████▋ | 20/30 [00:11<00:05, 1.69it/s]\n 70%|███████ | 21/30 [00:12<00:05, 1.69it/s]\n 73%|███████▎ | 22/30 [00:13<00:04, 1.69it/s]\n 77%|███████▋ | 23/30 [00:13<00:04, 1.69it/s]\n 80%|████████ | 24/30 [00:14<00:03, 1.69it/s]\n 83%|████████▎ | 25/30 [00:14<00:02, 1.69it/s]\n 87%|████████▋ | 26/30 [00:15<00:02, 1.69it/s]\n 90%|█████████ | 27/30 [00:15<00:01, 1.69it/s]\n 93%|█████████▎| 28/30 [00:16<00:01, 1.69it/s]\n 97%|█████████▋| 29/30 [00:17<00:00, 1.69it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.69it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.69it/s]\n6828326912\n4561305600", "metrics": { "predict_time": 32.481057, "total_time": 32.531777 }, "output": [ "https://replicate.delivery/pbxt/QAsuPU7FdH5VM9XtNyQlqNjXyvVztVHEqTGqUGveSR9S4jWJA/final_image.png", "https://replicate.delivery/pbxt/zQae4afXFch5fpDZmR0TN0Hl23dUJUBbuhUf6H21Nx5cCfoVC/final_up_image.png" ], "started_at": "2024-04-22T20:35:19.073720Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/925ynghbdxrgm0cf0y2veyfy60", "cancel": "https://api.replicate.com/v1/predictions/925ynghbdxrgm0cf0y2veyfy60/cancel" }, "version": "f4ed8ed006c27bc298d827a5de1943ca829e5eb4ed2c98d83670c3dfbf9292f0" }
Generated inINFO: the IPAdapter reference image is not a square, CLIPImageProcessor will resize and crop it at the center. If the main focus of the picture is not in the middle the result might not be what you are expecting. Requested to load BaseModel Loading 1 new model 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:07, 4.03it/s] 7%|▋ | 2/30 [00:00<00:06, 4.29it/s] 10%|█ | 3/30 [00:00<00:06, 4.38it/s] 13%|█▎ | 4/30 [00:00<00:05, 4.42it/s] 17%|█▋ | 5/30 [00:01<00:05, 4.41it/s] 20%|██ | 6/30 [00:01<00:05, 4.43it/s] 23%|██▎ | 7/30 [00:01<00:05, 4.44it/s] 27%|██▋ | 8/30 [00:01<00:04, 4.46it/s] 30%|███ | 9/30 [00:02<00:04, 4.46it/s] 33%|███▎ | 10/30 [00:02<00:04, 4.47it/s] 37%|███▋ | 11/30 [00:02<00:04, 4.48it/s] 40%|████ | 12/30 [00:02<00:04, 4.48it/s] 43%|████▎ | 13/30 [00:02<00:03, 4.47it/s] 47%|████▋ | 14/30 [00:03<00:03, 4.46it/s] 50%|█████ | 15/30 [00:03<00:03, 4.47it/s] 53%|█████▎ | 16/30 [00:03<00:03, 4.47it/s] 57%|█████▋ | 17/30 [00:03<00:02, 4.48it/s] 60%|██████ | 18/30 [00:04<00:02, 4.50it/s] 63%|██████▎ | 19/30 [00:04<00:02, 4.51it/s] 67%|██████▋ | 20/30 [00:04<00:02, 4.51it/s] 70%|███████ | 21/30 [00:04<00:01, 4.52it/s] 73%|███████▎ | 22/30 [00:04<00:01, 4.51it/s] 77%|███████▋ | 23/30 [00:05<00:01, 4.41it/s] 80%|████████ | 24/30 [00:05<00:01, 4.44it/s] 83%|████████▎ | 25/30 [00:05<00:01, 4.47it/s] 87%|████████▋ | 26/30 [00:05<00:00, 4.49it/s] 90%|█████████ | 27/30 [00:06<00:00, 4.50it/s] 93%|█████████▎| 28/30 [00:06<00:00, 4.50it/s] 97%|█████████▋| 29/30 [00:06<00:00, 4.51it/s] 100%|██████████| 30/30 [00:06<00:00, 4.51it/s] 100%|██████████| 30/30 [00:06<00:00, 4.47it/s] 5549064192 4250927104 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:16, 1.72it/s] 7%|▋ | 2/30 [00:01<00:16, 1.70it/s] 10%|█ | 3/30 [00:01<00:15, 1.70it/s] 13%|█▎ | 4/30 [00:02<00:15, 1.70it/s] 17%|█▋ | 5/30 [00:02<00:14, 1.70it/s] 20%|██ | 6/30 [00:03<00:14, 1.70it/s] 23%|██▎ | 7/30 [00:04<00:13, 1.70it/s] 27%|██▋ | 8/30 [00:04<00:12, 1.70it/s] 30%|███ | 9/30 [00:05<00:12, 1.70it/s] 33%|███▎ | 10/30 [00:05<00:11, 1.70it/s] 37%|███▋ | 11/30 [00:06<00:11, 1.70it/s] 40%|████ | 12/30 [00:07<00:10, 1.70it/s] 43%|████▎ | 13/30 [00:07<00:10, 1.69it/s] 47%|████▋ | 14/30 [00:08<00:09, 1.67it/s] 50%|█████ | 15/30 [00:08<00:08, 1.68it/s] 53%|█████▎ | 16/30 [00:09<00:08, 1.68it/s] 57%|█████▋ | 17/30 [00:10<00:07, 1.68it/s] 60%|██████ | 18/30 [00:10<00:07, 1.69it/s] 63%|██████▎ | 19/30 [00:11<00:06, 1.69it/s] 67%|██████▋ | 20/30 [00:11<00:05, 1.69it/s] 70%|███████ | 21/30 [00:12<00:05, 1.69it/s] 73%|███████▎ | 22/30 [00:13<00:04, 1.69it/s] 77%|███████▋ | 23/30 [00:13<00:04, 1.69it/s] 80%|████████ | 24/30 [00:14<00:03, 1.69it/s] 83%|████████▎ | 25/30 [00:14<00:02, 1.69it/s] 87%|████████▋ | 26/30 [00:15<00:02, 1.69it/s] 90%|█████████ | 27/30 [00:15<00:01, 1.69it/s] 93%|█████████▎| 28/30 [00:16<00:01, 1.69it/s] 97%|█████████▋| 29/30 [00:17<00:00, 1.69it/s] 100%|██████████| 30/30 [00:17<00:00, 1.69it/s] 100%|██████████| 30/30 [00:17<00:00, 1.69it/s] 6828326912 4561305600
Prediction
camenduru/comfyui-ipadapter-latentupscale:64ad9997IDdpra6jfr39rgp0cf0wbbpnmjdcStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- cfg
- 7
- seed
- 543543
- steps
- 30
- width
- 768
- height
- 512
- scheduler
- karras
- sampler_name
- dpmpp_2m
- image_denoise
- 1
- latent_upscale
- latent_upscale_size
- 1.5
- red_negative_prompt
- red_positive_prompt
- anime illustration of a young woman with a black jacket
- black_negative_prompt
- blurry, lowres, bad art, ill, distorted, malformed, horror
- black_positive_prompt
- closeup of two girl friends shopping in a sci-fi space station
- green_negative_prompt
- anime
- green_positive_prompt
- illustration of a blond woman
- latent_upscale_denoise
- 0.55
{ "cfg": 7, "seed": 543543, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnDFWvI5QOMLFHwgd4OoFFdzTypwB1RNDNCli0GywBawg95z/back.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a sci-fi space station", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", { input: { cfg: 7, seed: 543543, steps: 30, width: 768, height: 512, red_part: "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", scheduler: "karras", black_part: "https://replicate.delivery/pbxt/KnDFWvI5QOMLFHwgd4OoFFdzTypwB1RNDNCli0GywBawg95z/back.png", color_mask: "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", green_part: "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", sampler_name: "dpmpp_2m", image_denoise: 1, latent_upscale: true, latent_upscale_size: 1.5, red_negative_prompt: "", red_positive_prompt: "anime illustration of a young woman with a black jacket", black_negative_prompt: "blurry, lowres, bad art, ill, distorted, malformed, horror", black_positive_prompt: "closeup of two girl friends shopping in a sci-fi space station", green_negative_prompt: "anime", green_positive_prompt: "illustration of a blond woman", latent_upscale_denoise: 0.55 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", input={ "cfg": 7, "seed": 543543, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnDFWvI5QOMLFHwgd4OoFFdzTypwB1RNDNCli0GywBawg95z/back.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": True, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a sci-fi space station", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/comfyui-ipadapter-latentupscale 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": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", "input": { "cfg": 7, "seed": 543543, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnDFWvI5QOMLFHwgd4OoFFdzTypwB1RNDNCli0GywBawg95z/back.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a sci-fi space station", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-22T18:35:24.348026Z", "created_at": "2024-04-22T18:34:56.922000Z", "data_removed": false, "error": null, "id": "dpra6jfr39rgp0cf0wbbpnmjdc", "input": { "cfg": 7, "seed": 543543, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnCUmBJZ15hL58SBXi3Zq4hBbP63JMGZnbe2fvYXMbKrWMw0/ip2.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnDFWvI5QOMLFHwgd4OoFFdzTypwB1RNDNCli0GywBawg95z/back.png", "color_mask": "https://replicate.delivery/pbxt/KnCUm5kj7SpIS07PI5YUoQrh0sMQhcNCTpuolCRfPYZkEW9R/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnCUm5g0IpEl3iZcWF2TkhMebfHdwHBJ44A9yiR8zfMGQheK/ip.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime illustration of a young woman with a black jacket", "black_negative_prompt": "blurry, lowres, bad art, ill, distorted, malformed, horror", "black_positive_prompt": "closeup of two girl friends shopping in a sci-fi space station", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }, "logs": "Requested to load BaseModel\nLoading 1 new model\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:04, 5.90it/s]\n 7%|▋ | 2/30 [00:00<00:04, 5.80it/s]\n 10%|█ | 3/30 [00:00<00:04, 5.83it/s]\n 13%|█▎ | 4/30 [00:00<00:06, 4.07it/s]\n 17%|█▋ | 5/30 [00:01<00:05, 4.57it/s]\n 20%|██ | 6/30 [00:01<00:05, 4.26it/s]\n 23%|██▎ | 7/30 [00:01<00:07, 3.17it/s]\n 27%|██▋ | 8/30 [00:02<00:10, 2.03it/s]\n 30%|███ | 9/30 [00:02<00:08, 2.55it/s]\n 33%|███▎ | 10/30 [00:03<00:07, 2.55it/s]\n 37%|███▋ | 11/30 [00:03<00:07, 2.58it/s]\n 40%|████ | 12/30 [00:03<00:05, 3.11it/s]\n 43%|████▎ | 13/30 [00:04<00:06, 2.67it/s]\n 47%|████▋ | 14/30 [00:04<00:05, 3.19it/s]\n 50%|█████ | 15/30 [00:04<00:04, 3.69it/s]\n 53%|█████▎ | 16/30 [00:04<00:03, 4.15it/s]\n 57%|█████▋ | 17/30 [00:04<00:02, 4.54it/s]\n 60%|██████ | 18/30 [00:05<00:03, 3.42it/s]\n 63%|██████▎ | 19/30 [00:05<00:02, 3.90it/s]\n 67%|██████▋ | 20/30 [00:05<00:02, 4.33it/s]\n 70%|███████ | 21/30 [00:05<00:01, 4.68it/s]\n 73%|███████▎ | 22/30 [00:06<00:01, 4.80it/s]\n 77%|███████▋ | 23/30 [00:06<00:01, 3.93it/s]\n 80%|████████ | 24/30 [00:06<00:01, 4.34it/s]\n 83%|████████▎ | 25/30 [00:07<00:01, 3.61it/s]\n 87%|████████▋ | 26/30 [00:07<00:00, 4.07it/s]\n 90%|█████████ | 27/30 [00:07<00:01, 2.97it/s]\n 93%|█████████▎| 28/30 [00:07<00:00, 3.48it/s]\n 97%|█████████▋| 29/30 [00:08<00:00, 2.86it/s]\n100%|██████████| 30/30 [00:08<00:00, 3.37it/s]\n100%|██████████| 30/30 [00:08<00:00, 3.48it/s]\n5309988864\n4102029312\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:11, 2.58it/s]\n 7%|▋ | 2/30 [00:00<00:11, 2.50it/s]\n 10%|█ | 3/30 [00:01<00:10, 2.51it/s]\n 13%|█▎ | 4/30 [00:01<00:10, 2.52it/s]\n 17%|█▋ | 5/30 [00:01<00:09, 2.52it/s]\n 20%|██ | 6/30 [00:02<00:09, 2.52it/s]\n 23%|██▎ | 7/30 [00:02<00:09, 2.52it/s]\n 27%|██▋ | 8/30 [00:03<00:08, 2.52it/s]\n 30%|███ | 9/30 [00:03<00:08, 2.52it/s]\n 33%|███▎ | 10/30 [00:03<00:07, 2.52it/s]\n 37%|███▋ | 11/30 [00:04<00:07, 2.52it/s]\n 40%|████ | 12/30 [00:04<00:07, 2.52it/s]\n 43%|████▎ | 13/30 [00:05<00:06, 2.52it/s]\n 47%|████▋ | 14/30 [00:05<00:06, 2.52it/s]\n 50%|█████ | 15/30 [00:05<00:05, 2.52it/s]\n 53%|█████▎ | 16/30 [00:06<00:05, 2.52it/s]\n 57%|█████▋ | 17/30 [00:06<00:05, 2.52it/s]\n 60%|██████ | 18/30 [00:07<00:04, 2.52it/s]\n 63%|██████▎ | 19/30 [00:07<00:04, 2.52it/s]\n 67%|██████▋ | 20/30 [00:07<00:03, 2.51it/s]\n 70%|███████ | 21/30 [00:08<00:03, 2.51it/s]\n 73%|███████▎ | 22/30 [00:08<00:03, 2.51it/s]\n 77%|███████▋ | 23/30 [00:09<00:02, 2.51it/s]\n 80%|████████ | 24/30 [00:09<00:02, 2.51it/s]\n 83%|████████▎ | 25/30 [00:09<00:01, 2.51it/s]\n 87%|████████▋ | 26/30 [00:10<00:01, 2.51it/s]\n 90%|█████████ | 27/30 [00:10<00:01, 2.51it/s]\n 93%|█████████▎| 28/30 [00:11<00:00, 2.51it/s]\n 97%|█████████▋| 29/30 [00:11<00:00, 2.51it/s]\n100%|██████████| 30/30 [00:11<00:00, 2.51it/s]\n100%|██████████| 30/30 [00:11<00:00, 2.51it/s]\n5991563264\n4238344192", "metrics": { "predict_time": 27.384547, "total_time": 27.426026 }, "output": [ "https://replicate.delivery/pbxt/YR8cdsdQJGp6JtTipjqx2XpiXbFSIXv5qACKWPRDEGt6fiWJA/final_image.png", "https://replicate.delivery/pbxt/Fr3FeresdumbvUjfYY9IlFLRAKficgH06GfIgzVSA1oZ9voVC/final_up_image.png" ], "started_at": "2024-04-22T18:34:56.963479Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/dpra6jfr39rgp0cf0wbbpnmjdc", "cancel": "https://api.replicate.com/v1/predictions/dpra6jfr39rgp0cf0wbbpnmjdc/cancel" }, "version": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036" }
Generated inRequested to load BaseModel Loading 1 new model 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:04, 5.90it/s] 7%|▋ | 2/30 [00:00<00:04, 5.80it/s] 10%|█ | 3/30 [00:00<00:04, 5.83it/s] 13%|█▎ | 4/30 [00:00<00:06, 4.07it/s] 17%|█▋ | 5/30 [00:01<00:05, 4.57it/s] 20%|██ | 6/30 [00:01<00:05, 4.26it/s] 23%|██▎ | 7/30 [00:01<00:07, 3.17it/s] 27%|██▋ | 8/30 [00:02<00:10, 2.03it/s] 30%|███ | 9/30 [00:02<00:08, 2.55it/s] 33%|███▎ | 10/30 [00:03<00:07, 2.55it/s] 37%|███▋ | 11/30 [00:03<00:07, 2.58it/s] 40%|████ | 12/30 [00:03<00:05, 3.11it/s] 43%|████▎ | 13/30 [00:04<00:06, 2.67it/s] 47%|████▋ | 14/30 [00:04<00:05, 3.19it/s] 50%|█████ | 15/30 [00:04<00:04, 3.69it/s] 53%|█████▎ | 16/30 [00:04<00:03, 4.15it/s] 57%|█████▋ | 17/30 [00:04<00:02, 4.54it/s] 60%|██████ | 18/30 [00:05<00:03, 3.42it/s] 63%|██████▎ | 19/30 [00:05<00:02, 3.90it/s] 67%|██████▋ | 20/30 [00:05<00:02, 4.33it/s] 70%|███████ | 21/30 [00:05<00:01, 4.68it/s] 73%|███████▎ | 22/30 [00:06<00:01, 4.80it/s] 77%|███████▋ | 23/30 [00:06<00:01, 3.93it/s] 80%|████████ | 24/30 [00:06<00:01, 4.34it/s] 83%|████████▎ | 25/30 [00:07<00:01, 3.61it/s] 87%|████████▋ | 26/30 [00:07<00:00, 4.07it/s] 90%|█████████ | 27/30 [00:07<00:01, 2.97it/s] 93%|█████████▎| 28/30 [00:07<00:00, 3.48it/s] 97%|█████████▋| 29/30 [00:08<00:00, 2.86it/s] 100%|██████████| 30/30 [00:08<00:00, 3.37it/s] 100%|██████████| 30/30 [00:08<00:00, 3.48it/s] 5309988864 4102029312 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:11, 2.58it/s] 7%|▋ | 2/30 [00:00<00:11, 2.50it/s] 10%|█ | 3/30 [00:01<00:10, 2.51it/s] 13%|█▎ | 4/30 [00:01<00:10, 2.52it/s] 17%|█▋ | 5/30 [00:01<00:09, 2.52it/s] 20%|██ | 6/30 [00:02<00:09, 2.52it/s] 23%|██▎ | 7/30 [00:02<00:09, 2.52it/s] 27%|██▋ | 8/30 [00:03<00:08, 2.52it/s] 30%|███ | 9/30 [00:03<00:08, 2.52it/s] 33%|███▎ | 10/30 [00:03<00:07, 2.52it/s] 37%|███▋ | 11/30 [00:04<00:07, 2.52it/s] 40%|████ | 12/30 [00:04<00:07, 2.52it/s] 43%|████▎ | 13/30 [00:05<00:06, 2.52it/s] 47%|████▋ | 14/30 [00:05<00:06, 2.52it/s] 50%|█████ | 15/30 [00:05<00:05, 2.52it/s] 53%|█████▎ | 16/30 [00:06<00:05, 2.52it/s] 57%|█████▋ | 17/30 [00:06<00:05, 2.52it/s] 60%|██████ | 18/30 [00:07<00:04, 2.52it/s] 63%|██████▎ | 19/30 [00:07<00:04, 2.52it/s] 67%|██████▋ | 20/30 [00:07<00:03, 2.51it/s] 70%|███████ | 21/30 [00:08<00:03, 2.51it/s] 73%|███████▎ | 22/30 [00:08<00:03, 2.51it/s] 77%|███████▋ | 23/30 [00:09<00:02, 2.51it/s] 80%|████████ | 24/30 [00:09<00:02, 2.51it/s] 83%|████████▎ | 25/30 [00:09<00:01, 2.51it/s] 87%|████████▋ | 26/30 [00:10<00:01, 2.51it/s] 90%|█████████ | 27/30 [00:10<00:01, 2.51it/s] 93%|█████████▎| 28/30 [00:11<00:00, 2.51it/s] 97%|█████████▋| 29/30 [00:11<00:00, 2.51it/s] 100%|██████████| 30/30 [00:11<00:00, 2.51it/s] 100%|██████████| 30/30 [00:11<00:00, 2.51it/s] 5991563264 4238344192
Prediction
camenduru/comfyui-ipadapter-latentupscale:64ad9997IDygq1k9tfw1rgj0cf0y8bk3dxhwStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- cfg
- 7
- seed
- 1
- steps
- 30
- width
- 1024
- height
- 512
- scheduler
- karras
- sampler_name
- dpmpp_2m
- image_denoise
- 1
- red_threshold
- 0.15
- latent_upscale
- black_threshold
- 0.15
- green_threshold
- 0.15
- red_image_weight
- 0.7
- red_prompt_weight
- 0
- black_image_weight
- 0.7
- green_image_weight
- 0.7
- black_prompt_weight
- 1
- green_prompt_weight
- 0
- latent_upscale_size
- 1.5
- red_negative_prompt
- red_positive_prompt
- anime of a young woman with a red jacket
- black_negative_prompt
- blurry, low-res, bad art
- black_positive_prompt
- close-up of two girlfriends inside a ship.
- green_negative_prompt
- anime
- green_positive_prompt
- illustration of a blond woman
- latent_upscale_denoise
- 0.55
{ "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnG3sG3YZX0oOB3P4jVuiJea7cN0w4rZun21HySQBsRM60eH/12158ccc-4844-40f5-bc35-f867a135a819.webp", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", "color_mask": "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", "green_part": "https://replicate.delivery/pbxt/KnG3sVM3tS97EmT1eHJMCEVqVzPkMc0dcSiUJ0rwnD87bThq/0a28c480-00e5-4ca5-8417-15fa2cab72e4.webp", "sampler_name": "dpmpp_2m", "image_denoise": 1, "red_threshold": 0.15, "latent_upscale": true, "black_threshold": 0.15, "green_threshold": 0.15, "red_image_weight": 0.7, "red_prompt_weight": 0, "black_image_weight": 0.7, "green_image_weight": 0.7, "black_prompt_weight": 1, "green_prompt_weight": 0, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", { input: { cfg: 7, seed: 1, steps: 30, width: 1024, height: 512, red_part: "https://replicate.delivery/pbxt/KnG3sG3YZX0oOB3P4jVuiJea7cN0w4rZun21HySQBsRM60eH/12158ccc-4844-40f5-bc35-f867a135a819.webp", scheduler: "karras", black_part: "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", color_mask: "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", green_part: "https://replicate.delivery/pbxt/KnG3sVM3tS97EmT1eHJMCEVqVzPkMc0dcSiUJ0rwnD87bThq/0a28c480-00e5-4ca5-8417-15fa2cab72e4.webp", sampler_name: "dpmpp_2m", image_denoise: 1, latent_upscale: true, latent_upscale_size: 1.5, red_negative_prompt: "", red_positive_prompt: "anime of a young woman with a red jacket", black_negative_prompt: "blurry, low-res, bad art", black_positive_prompt: "close-up of two girlfriends inside a ship.", green_negative_prompt: "anime", green_positive_prompt: "illustration of a blond woman", latent_upscale_denoise: 0.55 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", input={ "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnG3sG3YZX0oOB3P4jVuiJea7cN0w4rZun21HySQBsRM60eH/12158ccc-4844-40f5-bc35-f867a135a819.webp", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", "color_mask": "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", "green_part": "https://replicate.delivery/pbxt/KnG3sVM3tS97EmT1eHJMCEVqVzPkMc0dcSiUJ0rwnD87bThq/0a28c480-00e5-4ca5-8417-15fa2cab72e4.webp", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": True, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/comfyui-ipadapter-latentupscale 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": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", "input": { "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnG3sG3YZX0oOB3P4jVuiJea7cN0w4rZun21HySQBsRM60eH/12158ccc-4844-40f5-bc35-f867a135a819.webp", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", "color_mask": "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", "green_part": "https://replicate.delivery/pbxt/KnG3sVM3tS97EmT1eHJMCEVqVzPkMc0dcSiUJ0rwnD87bThq/0a28c480-00e5-4ca5-8417-15fa2cab72e4.webp", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-22T20:48:01.284364Z", "created_at": "2024-04-22T20:47:29.248000Z", "data_removed": false, "error": null, "id": "ygq1k9tfw1rgj0cf0y8bk3dxhw", "input": { "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnG3sG3YZX0oOB3P4jVuiJea7cN0w4rZun21HySQBsRM60eH/12158ccc-4844-40f5-bc35-f867a135a819.webp", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnFsL82mBDKxM9IoMsnxQyzRIkIwbggW5UAR0tTGa45G0ai4/KCMONmjrkLTtDY7eupD5--1--w1ew4.webp", "color_mask": "https://replicate.delivery/pbxt/KnFsLOPbbBNTY4K8xmxauMgueCKSXTOkAkLuacI9PZfGD1us/mask4.png", "green_part": "https://replicate.delivery/pbxt/KnG3sVM3tS97EmT1eHJMCEVqVzPkMc0dcSiUJ0rwnD87bThq/0a28c480-00e5-4ca5-8417-15fa2cab72e4.webp", "sampler_name": "dpmpp_2m", "image_denoise": 1, "red_threshold": 0.15, "latent_upscale": true, "black_threshold": 0.15, "green_threshold": 0.15, "red_image_weight": 0.7, "red_prompt_weight": 0, "black_image_weight": 0.7, "green_image_weight": 0.7, "black_prompt_weight": 1, "green_prompt_weight": 0, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }, "logs": "\u001b[33mINFO: the IPAdapter reference image is not a square, CLIPImageProcessor will resize and crop it at the center. If the main focus of the picture is not in the middle the result might not be what you are expecting.\u001b[0m\nRequested to load BaseModel\nLoading 1 new model\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:06, 4.63it/s]\n 7%|▋ | 2/30 [00:00<00:06, 4.52it/s]\n 10%|█ | 3/30 [00:00<00:05, 4.52it/s]\n 13%|█▎ | 4/30 [00:00<00:05, 4.52it/s]\n 17%|█▋ | 5/30 [00:01<00:05, 4.52it/s]\n 20%|██ | 6/30 [00:01<00:05, 4.53it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 4.53it/s]\n 27%|██▋ | 8/30 [00:01<00:04, 4.54it/s]\n 30%|███ | 9/30 [00:01<00:04, 4.54it/s]\n 33%|███▎ | 10/30 [00:02<00:04, 4.53it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 4.53it/s]\n 40%|████ | 12/30 [00:02<00:03, 4.53it/s]\n 43%|████▎ | 13/30 [00:02<00:03, 4.53it/s]\n 47%|████▋ | 14/30 [00:03<00:03, 4.54it/s]\n 50%|█████ | 15/30 [00:03<00:03, 4.54it/s]\n 53%|█████▎ | 16/30 [00:03<00:03, 4.54it/s]\n 57%|█████▋ | 17/30 [00:03<00:02, 4.53it/s]\n 60%|██████ | 18/30 [00:03<00:02, 4.52it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 4.52it/s]\n 67%|██████▋ | 20/30 [00:04<00:02, 4.52it/s]\n 70%|███████ | 21/30 [00:04<00:01, 4.53it/s]\n 73%|███████▎ | 22/30 [00:04<00:01, 4.53it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 4.53it/s]\n 80%|████████ | 24/30 [00:05<00:01, 4.53it/s]\n 83%|████████▎ | 25/30 [00:05<00:01, 4.53it/s]\n 87%|████████▋ | 26/30 [00:05<00:00, 4.53it/s]\n 90%|█████████ | 27/30 [00:05<00:00, 4.54it/s]\n 93%|█████████▎| 28/30 [00:06<00:00, 4.53it/s]\n 97%|█████████▋| 29/30 [00:06<00:00, 4.53it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.53it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.53it/s]\n5249171456\n4020240384\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:16, 1.75it/s]\n 7%|▋ | 2/30 [00:01<00:16, 1.70it/s]\n 10%|█ | 3/30 [00:01<00:15, 1.70it/s]\n 13%|█▎ | 4/30 [00:02<00:15, 1.70it/s]\n 17%|█▋ | 5/30 [00:02<00:14, 1.70it/s]\n 20%|██ | 6/30 [00:03<00:14, 1.70it/s]\n 23%|██▎ | 7/30 [00:04<00:13, 1.70it/s]\n 27%|██▋ | 8/30 [00:04<00:12, 1.70it/s]\n 30%|███ | 9/30 [00:05<00:12, 1.70it/s]\n 33%|███▎ | 10/30 [00:05<00:11, 1.70it/s]\n 37%|███▋ | 11/30 [00:06<00:11, 1.70it/s]\n 40%|████ | 12/30 [00:07<00:10, 1.70it/s]\n 43%|████▎ | 13/30 [00:07<00:10, 1.70it/s]\n 47%|████▋ | 14/30 [00:08<00:09, 1.69it/s]\n 50%|█████ | 15/30 [00:08<00:08, 1.70it/s]\n 53%|█████▎ | 16/30 [00:09<00:08, 1.69it/s]\n 57%|█████▋ | 17/30 [00:10<00:07, 1.69it/s]\n 60%|██████ | 18/30 [00:10<00:07, 1.69it/s]\n 63%|██████▎ | 19/30 [00:11<00:06, 1.67it/s]\n 67%|██████▋ | 20/30 [00:11<00:05, 1.67it/s]\n 70%|███████ | 21/30 [00:12<00:05, 1.68it/s]\n 73%|███████▎ | 22/30 [00:13<00:04, 1.68it/s]\n 77%|███████▋ | 23/30 [00:13<00:04, 1.68it/s]\n 80%|████████ | 24/30 [00:14<00:03, 1.68it/s]\n 83%|████████▎ | 25/30 [00:14<00:02, 1.68it/s]\n 87%|████████▋ | 26/30 [00:15<00:02, 1.68it/s]\n 90%|█████████ | 27/30 [00:15<00:01, 1.67it/s]\n 93%|█████████▎| 28/30 [00:16<00:01, 1.67it/s]\n 97%|█████████▋| 29/30 [00:17<00:00, 1.66it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.66it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.69it/s]\n6815744000\n4548722688", "metrics": { "predict_time": 31.996079, "total_time": 32.036364 }, "output": [ "https://replicate.delivery/pbxt/ALXmuhHfX0XZXyyfpJh1FsBpyRzvIC1HsRGXOHWFaoFf3PalA/final_image.png", "https://replicate.delivery/pbxt/EXEg2cxonNZqG54TFtQnWQRexpzFFiSkG74L6ppITSFAeHtSA/final_up_image.png" ], "started_at": "2024-04-22T20:47:29.288285Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ygq1k9tfw1rgj0cf0y8bk3dxhw", "cancel": "https://api.replicate.com/v1/predictions/ygq1k9tfw1rgj0cf0y8bk3dxhw/cancel" }, "version": "f4ed8ed006c27bc298d827a5de1943ca829e5eb4ed2c98d83670c3dfbf9292f0" }
Generated inINFO: the IPAdapter reference image is not a square, CLIPImageProcessor will resize and crop it at the center. If the main focus of the picture is not in the middle the result might not be what you are expecting. Requested to load BaseModel Loading 1 new model 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:06, 4.63it/s] 7%|▋ | 2/30 [00:00<00:06, 4.52it/s] 10%|█ | 3/30 [00:00<00:05, 4.52it/s] 13%|█▎ | 4/30 [00:00<00:05, 4.52it/s] 17%|█▋ | 5/30 [00:01<00:05, 4.52it/s] 20%|██ | 6/30 [00:01<00:05, 4.53it/s] 23%|██▎ | 7/30 [00:01<00:05, 4.53it/s] 27%|██▋ | 8/30 [00:01<00:04, 4.54it/s] 30%|███ | 9/30 [00:01<00:04, 4.54it/s] 33%|███▎ | 10/30 [00:02<00:04, 4.53it/s] 37%|███▋ | 11/30 [00:02<00:04, 4.53it/s] 40%|████ | 12/30 [00:02<00:03, 4.53it/s] 43%|████▎ | 13/30 [00:02<00:03, 4.53it/s] 47%|████▋ | 14/30 [00:03<00:03, 4.54it/s] 50%|█████ | 15/30 [00:03<00:03, 4.54it/s] 53%|█████▎ | 16/30 [00:03<00:03, 4.54it/s] 57%|█████▋ | 17/30 [00:03<00:02, 4.53it/s] 60%|██████ | 18/30 [00:03<00:02, 4.52it/s] 63%|██████▎ | 19/30 [00:04<00:02, 4.52it/s] 67%|██████▋ | 20/30 [00:04<00:02, 4.52it/s] 70%|███████ | 21/30 [00:04<00:01, 4.53it/s] 73%|███████▎ | 22/30 [00:04<00:01, 4.53it/s] 77%|███████▋ | 23/30 [00:05<00:01, 4.53it/s] 80%|████████ | 24/30 [00:05<00:01, 4.53it/s] 83%|████████▎ | 25/30 [00:05<00:01, 4.53it/s] 87%|████████▋ | 26/30 [00:05<00:00, 4.53it/s] 90%|█████████ | 27/30 [00:05<00:00, 4.54it/s] 93%|█████████▎| 28/30 [00:06<00:00, 4.53it/s] 97%|█████████▋| 29/30 [00:06<00:00, 4.53it/s] 100%|██████████| 30/30 [00:06<00:00, 4.53it/s] 100%|██████████| 30/30 [00:06<00:00, 4.53it/s] 5249171456 4020240384 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:16, 1.75it/s] 7%|▋ | 2/30 [00:01<00:16, 1.70it/s] 10%|█ | 3/30 [00:01<00:15, 1.70it/s] 13%|█▎ | 4/30 [00:02<00:15, 1.70it/s] 17%|█▋ | 5/30 [00:02<00:14, 1.70it/s] 20%|██ | 6/30 [00:03<00:14, 1.70it/s] 23%|██▎ | 7/30 [00:04<00:13, 1.70it/s] 27%|██▋ | 8/30 [00:04<00:12, 1.70it/s] 30%|███ | 9/30 [00:05<00:12, 1.70it/s] 33%|███▎ | 10/30 [00:05<00:11, 1.70it/s] 37%|███▋ | 11/30 [00:06<00:11, 1.70it/s] 40%|████ | 12/30 [00:07<00:10, 1.70it/s] 43%|████▎ | 13/30 [00:07<00:10, 1.70it/s] 47%|████▋ | 14/30 [00:08<00:09, 1.69it/s] 50%|█████ | 15/30 [00:08<00:08, 1.70it/s] 53%|█████▎ | 16/30 [00:09<00:08, 1.69it/s] 57%|█████▋ | 17/30 [00:10<00:07, 1.69it/s] 60%|██████ | 18/30 [00:10<00:07, 1.69it/s] 63%|██████▎ | 19/30 [00:11<00:06, 1.67it/s] 67%|██████▋ | 20/30 [00:11<00:05, 1.67it/s] 70%|███████ | 21/30 [00:12<00:05, 1.68it/s] 73%|███████▎ | 22/30 [00:13<00:04, 1.68it/s] 77%|███████▋ | 23/30 [00:13<00:04, 1.68it/s] 80%|████████ | 24/30 [00:14<00:03, 1.68it/s] 83%|████████▎ | 25/30 [00:14<00:02, 1.68it/s] 87%|████████▋ | 26/30 [00:15<00:02, 1.68it/s] 90%|█████████ | 27/30 [00:15<00:01, 1.67it/s] 93%|█████████▎| 28/30 [00:16<00:01, 1.67it/s] 97%|█████████▋| 29/30 [00:17<00:00, 1.66it/s] 100%|██████████| 30/30 [00:17<00:00, 1.66it/s] 100%|██████████| 30/30 [00:17<00:00, 1.69it/s] 6815744000 4548722688
Prediction
camenduru/comfyui-ipadapter-latentupscale:64ad9997IDc2kyqdzddnrgp0cf0zmaecba4mStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- cfg
- 7
- seed
- 1
- steps
- 30
- width
- 1024
- height
- 512
- scheduler
- karras
- sampler_name
- dpmpp_2m
- image_denoise
- 1
- red_threshold
- 0.15
- latent_upscale
- black_threshold
- 0.15
- green_threshold
- 0.15
- red_image_weight
- 0.7
- red_prompt_weight
- 1
- black_image_weight
- 0.7
- green_image_weight
- 0.7
- black_prompt_weight
- 1
- green_prompt_weight
- 1
- latent_upscale_size
- 1.5
- red_negative_prompt
- red_positive_prompt
- anime of a young woman with a red jacket
- black_negative_prompt
- blurry, low-res, bad art
- black_positive_prompt
- close-up of two girlfriends inside a ship.
- green_negative_prompt
- anime
- green_positive_prompt
- illustration of a blond woman
- latent_upscale_denoise
- 0.55
{ "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnHXaDVJ19t7PBkLWiVtga4tOxH2n0kls7PT7GTJTtodvbYp/ip.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnHXZhQyVv0Tft0PmKNiZMmSPmuJX9jGMXFz00zJgc04qKuq/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnHXa67VRpEnoKDfSWBZ7R9NkzSMPliZykbBtEsVuklEbx99/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnHXaJR3uqcBm2PIC3azqvlJgjrg4t2ob7URhjB7RTzarAHZ/ip2.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "red_threshold": 0.15, "latent_upscale": true, "black_threshold": 0.15, "green_threshold": 0.15, "red_image_weight": 0.7, "red_prompt_weight": 1, "black_image_weight": 0.7, "green_image_weight": 0.7, "black_prompt_weight": 1, "green_prompt_weight": 1, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", { input: { cfg: 7, seed: 1, steps: 30, width: 1024, height: 512, red_part: "https://replicate.delivery/pbxt/KnHXaDVJ19t7PBkLWiVtga4tOxH2n0kls7PT7GTJTtodvbYp/ip.png", scheduler: "karras", black_part: "https://replicate.delivery/pbxt/KnHXZhQyVv0Tft0PmKNiZMmSPmuJX9jGMXFz00zJgc04qKuq/back1.png", color_mask: "https://replicate.delivery/pbxt/KnHXa67VRpEnoKDfSWBZ7R9NkzSMPliZykbBtEsVuklEbx99/color_mask.png", green_part: "https://replicate.delivery/pbxt/KnHXaJR3uqcBm2PIC3azqvlJgjrg4t2ob7URhjB7RTzarAHZ/ip2.png", sampler_name: "dpmpp_2m", image_denoise: 1, latent_upscale: true, latent_upscale_size: 1.5, red_negative_prompt: "", red_positive_prompt: "anime of a young woman with a red jacket", black_negative_prompt: "blurry, low-res, bad art", black_positive_prompt: "close-up of two girlfriends inside a ship.", green_negative_prompt: "anime", green_positive_prompt: "illustration of a blond woman", latent_upscale_denoise: 0.55 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", input={ "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnHXaDVJ19t7PBkLWiVtga4tOxH2n0kls7PT7GTJTtodvbYp/ip.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnHXZhQyVv0Tft0PmKNiZMmSPmuJX9jGMXFz00zJgc04qKuq/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnHXa67VRpEnoKDfSWBZ7R9NkzSMPliZykbBtEsVuklEbx99/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnHXaJR3uqcBm2PIC3azqvlJgjrg4t2ob7URhjB7RTzarAHZ/ip2.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": True, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/comfyui-ipadapter-latentupscale 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": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", "input": { "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnHXaDVJ19t7PBkLWiVtga4tOxH2n0kls7PT7GTJTtodvbYp/ip.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnHXZhQyVv0Tft0PmKNiZMmSPmuJX9jGMXFz00zJgc04qKuq/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnHXa67VRpEnoKDfSWBZ7R9NkzSMPliZykbBtEsVuklEbx99/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnHXaJR3uqcBm2PIC3azqvlJgjrg4t2ob7URhjB7RTzarAHZ/ip2.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-22T22:26:24.281895Z", "created_at": "2024-04-22T22:24:16.749000Z", "data_removed": false, "error": null, "id": "c2kyqdzddnrgp0cf0zmaecba4m", "input": { "cfg": 7, "seed": 1, "steps": 30, "width": 1024, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnHXaDVJ19t7PBkLWiVtga4tOxH2n0kls7PT7GTJTtodvbYp/ip.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnHXZhQyVv0Tft0PmKNiZMmSPmuJX9jGMXFz00zJgc04qKuq/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnHXa67VRpEnoKDfSWBZ7R9NkzSMPliZykbBtEsVuklEbx99/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnHXaJR3uqcBm2PIC3azqvlJgjrg4t2ob7URhjB7RTzarAHZ/ip2.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "red_threshold": 0.15, "latent_upscale": true, "black_threshold": 0.15, "green_threshold": 0.15, "red_image_weight": 0.7, "red_prompt_weight": 1, "black_image_weight": 0.7, "green_image_weight": 0.7, "black_prompt_weight": 1, "green_prompt_weight": 1, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }, "logs": "Requested to load SD1ClipModel\nLoading 1 new model\nRequested to load CLIPVisionModelProjection\nLoading 1 new model\nRequested to load BaseModel\nLoading 1 new model\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:10, 2.76it/s]\n 7%|▋ | 2/30 [00:00<00:07, 3.61it/s]\n 10%|█ | 3/30 [00:00<00:06, 4.00it/s]\n 13%|█▎ | 4/30 [00:01<00:06, 4.21it/s]\n 17%|█▋ | 5/30 [00:01<00:05, 4.33it/s]\n 20%|██ | 6/30 [00:01<00:05, 4.41it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 4.46it/s]\n 27%|██▋ | 8/30 [00:01<00:04, 4.49it/s]\n 30%|███ | 9/30 [00:02<00:04, 4.51it/s]\n 33%|███▎ | 10/30 [00:02<00:04, 4.53it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 4.54it/s]\n 40%|████ | 12/30 [00:02<00:03, 4.56it/s]\n 43%|████▎ | 13/30 [00:02<00:03, 4.56it/s]\n 47%|████▋ | 14/30 [00:03<00:03, 4.55it/s]\n 50%|█████ | 15/30 [00:03<00:03, 4.56it/s]\n 53%|█████▎ | 16/30 [00:03<00:03, 4.56it/s]\n 57%|█████▋ | 17/30 [00:03<00:02, 4.57it/s]\n 60%|██████ | 18/30 [00:04<00:02, 4.56it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 4.55it/s]\n 67%|██████▋ | 20/30 [00:04<00:02, 4.56it/s]\n 70%|███████ | 21/30 [00:04<00:01, 4.56it/s]\n 73%|███████▎ | 22/30 [00:04<00:01, 4.56it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 4.55it/s]\n 80%|████████ | 24/30 [00:05<00:01, 4.55it/s]\n 83%|████████▎ | 25/30 [00:05<00:01, 4.55it/s]\n 87%|████████▋ | 26/30 [00:05<00:00, 4.55it/s]\n 90%|█████████ | 27/30 [00:06<00:00, 4.54it/s]\n 93%|█████████▎| 28/30 [00:06<00:00, 4.54it/s]\n 97%|█████████▋| 29/30 [00:06<00:00, 4.54it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.54it/s]\n100%|██████████| 30/30 [00:06<00:00, 4.46it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n/root/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/cuda/memory.py:440: FutureWarning: torch.cuda.memory_cached has been renamed to torch.cuda.memory_reserved\nwarnings.warn(\n5221908480\n3953131520\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:16, 1.72it/s]\n 7%|▋ | 2/30 [00:01<00:16, 1.69it/s]\n 10%|█ | 3/30 [00:01<00:15, 1.70it/s]\n 13%|█▎ | 4/30 [00:02<00:15, 1.71it/s]\n 17%|█▋ | 5/30 [00:02<00:14, 1.71it/s]\n 20%|██ | 6/30 [00:03<00:14, 1.71it/s]\n 23%|██▎ | 7/30 [00:04<00:13, 1.71it/s]\n 27%|██▋ | 8/30 [00:04<00:12, 1.71it/s]\n 30%|███ | 9/30 [00:05<00:12, 1.72it/s]\n 33%|███▎ | 10/30 [00:05<00:11, 1.72it/s]\n 37%|███▋ | 11/30 [00:06<00:11, 1.72it/s]\n 40%|████ | 12/30 [00:07<00:10, 1.72it/s]\n 43%|████▎ | 13/30 [00:07<00:09, 1.72it/s]\n 47%|████▋ | 14/30 [00:08<00:09, 1.72it/s]\n 50%|█████ | 15/30 [00:08<00:08, 1.72it/s]\n 53%|█████▎ | 16/30 [00:09<00:08, 1.72it/s]\n 57%|█████▋ | 17/30 [00:09<00:07, 1.72it/s]\n 60%|██████ | 18/30 [00:10<00:06, 1.72it/s]\n 63%|██████▎ | 19/30 [00:11<00:06, 1.72it/s]\n 67%|██████▋ | 20/30 [00:11<00:05, 1.72it/s]\n 70%|███████ | 21/30 [00:12<00:05, 1.72it/s]\n 73%|███████▎ | 22/30 [00:12<00:04, 1.72it/s]\n 77%|███████▋ | 23/30 [00:13<00:04, 1.72it/s]\n 80%|████████ | 24/30 [00:13<00:03, 1.72it/s]\n 83%|████████▎ | 25/30 [00:14<00:02, 1.72it/s]\n 87%|████████▋ | 26/30 [00:15<00:02, 1.72it/s]\n 90%|█████████ | 27/30 [00:15<00:01, 1.72it/s]\n 93%|█████████▎| 28/30 [00:16<00:01, 1.72it/s]\n 97%|█████████▋| 29/30 [00:16<00:00, 1.72it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.72it/s]\n100%|██████████| 30/30 [00:17<00:00, 1.72it/s]\n6759120896\n4550819840", "metrics": { "predict_time": 34.118312, "total_time": 127.532895 }, "output": [ "https://replicate.delivery/pbxt/jsfHocjzrzUBayUveXnOjcioeNzIGAMyG8uIPIUhIfL4gl0KB/final_image.png", "https://replicate.delivery/pbxt/XQuFQiFs7A7eLiOl9whJwAAtGynfjaxtw4BWzGuQMi9PYJtSA/final_up_image.png" ], "started_at": "2024-04-22T22:25:50.163583Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/c2kyqdzddnrgp0cf0zmaecba4m", "cancel": "https://api.replicate.com/v1/predictions/c2kyqdzddnrgp0cf0zmaecba4m/cancel" }, "version": "f4ed8ed006c27bc298d827a5de1943ca829e5eb4ed2c98d83670c3dfbf9292f0" }
Generated inRequested to load SD1ClipModel Loading 1 new model Requested to load CLIPVisionModelProjection Loading 1 new model Requested to load BaseModel Loading 1 new model 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:10, 2.76it/s] 7%|▋ | 2/30 [00:00<00:07, 3.61it/s] 10%|█ | 3/30 [00:00<00:06, 4.00it/s] 13%|█▎ | 4/30 [00:01<00:06, 4.21it/s] 17%|█▋ | 5/30 [00:01<00:05, 4.33it/s] 20%|██ | 6/30 [00:01<00:05, 4.41it/s] 23%|██▎ | 7/30 [00:01<00:05, 4.46it/s] 27%|██▋ | 8/30 [00:01<00:04, 4.49it/s] 30%|███ | 9/30 [00:02<00:04, 4.51it/s] 33%|███▎ | 10/30 [00:02<00:04, 4.53it/s] 37%|███▋ | 11/30 [00:02<00:04, 4.54it/s] 40%|████ | 12/30 [00:02<00:03, 4.56it/s] 43%|████▎ | 13/30 [00:02<00:03, 4.56it/s] 47%|████▋ | 14/30 [00:03<00:03, 4.55it/s] 50%|█████ | 15/30 [00:03<00:03, 4.56it/s] 53%|█████▎ | 16/30 [00:03<00:03, 4.56it/s] 57%|█████▋ | 17/30 [00:03<00:02, 4.57it/s] 60%|██████ | 18/30 [00:04<00:02, 4.56it/s] 63%|██████▎ | 19/30 [00:04<00:02, 4.55it/s] 67%|██████▋ | 20/30 [00:04<00:02, 4.56it/s] 70%|███████ | 21/30 [00:04<00:01, 4.56it/s] 73%|███████▎ | 22/30 [00:04<00:01, 4.56it/s] 77%|███████▋ | 23/30 [00:05<00:01, 4.55it/s] 80%|████████ | 24/30 [00:05<00:01, 4.55it/s] 83%|████████▎ | 25/30 [00:05<00:01, 4.55it/s] 87%|████████▋ | 26/30 [00:05<00:00, 4.55it/s] 90%|█████████ | 27/30 [00:06<00:00, 4.54it/s] 93%|█████████▎| 28/30 [00:06<00:00, 4.54it/s] 97%|█████████▋| 29/30 [00:06<00:00, 4.54it/s] 100%|██████████| 30/30 [00:06<00:00, 4.54it/s] 100%|██████████| 30/30 [00:06<00:00, 4.46it/s] Requested to load AutoencoderKL Loading 1 new model /root/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/cuda/memory.py:440: FutureWarning: torch.cuda.memory_cached has been renamed to torch.cuda.memory_reserved warnings.warn( 5221908480 3953131520 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:16, 1.72it/s] 7%|▋ | 2/30 [00:01<00:16, 1.69it/s] 10%|█ | 3/30 [00:01<00:15, 1.70it/s] 13%|█▎ | 4/30 [00:02<00:15, 1.71it/s] 17%|█▋ | 5/30 [00:02<00:14, 1.71it/s] 20%|██ | 6/30 [00:03<00:14, 1.71it/s] 23%|██▎ | 7/30 [00:04<00:13, 1.71it/s] 27%|██▋ | 8/30 [00:04<00:12, 1.71it/s] 30%|███ | 9/30 [00:05<00:12, 1.72it/s] 33%|███▎ | 10/30 [00:05<00:11, 1.72it/s] 37%|███▋ | 11/30 [00:06<00:11, 1.72it/s] 40%|████ | 12/30 [00:07<00:10, 1.72it/s] 43%|████▎ | 13/30 [00:07<00:09, 1.72it/s] 47%|████▋ | 14/30 [00:08<00:09, 1.72it/s] 50%|█████ | 15/30 [00:08<00:08, 1.72it/s] 53%|█████▎ | 16/30 [00:09<00:08, 1.72it/s] 57%|█████▋ | 17/30 [00:09<00:07, 1.72it/s] 60%|██████ | 18/30 [00:10<00:06, 1.72it/s] 63%|██████▎ | 19/30 [00:11<00:06, 1.72it/s] 67%|██████▋ | 20/30 [00:11<00:05, 1.72it/s] 70%|███████ | 21/30 [00:12<00:05, 1.72it/s] 73%|███████▎ | 22/30 [00:12<00:04, 1.72it/s] 77%|███████▋ | 23/30 [00:13<00:04, 1.72it/s] 80%|████████ | 24/30 [00:13<00:03, 1.72it/s] 83%|████████▎ | 25/30 [00:14<00:02, 1.72it/s] 87%|████████▋ | 26/30 [00:15<00:02, 1.72it/s] 90%|█████████ | 27/30 [00:15<00:01, 1.72it/s] 93%|█████████▎| 28/30 [00:16<00:01, 1.72it/s] 97%|█████████▋| 29/30 [00:16<00:00, 1.72it/s] 100%|██████████| 30/30 [00:17<00:00, 1.72it/s] 100%|██████████| 30/30 [00:17<00:00, 1.72it/s] 6759120896 4550819840
Prediction
camenduru/comfyui-ipadapter-latentupscale:64ad9997IDdyjczrvhtxrgm0cf0zr9frbwq8StatusSucceededSourceWebHardwareA40Total durationCreatedInput
- cfg
- 7
- seed
- 1
- steps
- 30
- width
- 768
- height
- 512
- scheduler
- karras
- sampler_name
- dpmpp_2m
- image_denoise
- 1
- red_threshold
- 0.15
- latent_upscale
- black_threshold
- 0.15
- green_threshold
- 0.15
- red_image_weight
- 0.7
- red_prompt_weight
- 1
- black_image_weight
- 0.7
- green_image_weight
- 0.7
- black_prompt_weight
- 1
- green_prompt_weight
- 1
- latent_upscale_size
- 1.5
- red_negative_prompt
- red_positive_prompt
- anime of a young woman with a red jacket
- black_negative_prompt
- blurry, low-res, bad art
- black_positive_prompt
- close-up of two girlfriends inside a ship.
- green_negative_prompt
- anime
- green_positive_prompt
- illustration of a blond woman
- latent_upscale_denoise
- 0.55
{ "cfg": 7, "seed": 1, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnHfMGDCeId745aet6XgL8CJz1qSdmXfYR08uEvIpVVdmyRL/ip.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnHfMUgxgdiQ1m8H1Xq82Xx30Up5kSsozWpawRgd6W0NIjqx/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnHfMziYJ1zzjMkQ0Ae9mUMXRcrxILcCx7pTwa9Mq3KrSeBD/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnHfN2xxfEBSFURSNmXr9nByrm2eeXBcZ3fg1boIinDemZ9s/ip2.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "red_threshold": 0.15, "latent_upscale": true, "black_threshold": 0.15, "green_threshold": 0.15, "red_image_weight": 0.7, "red_prompt_weight": 1, "black_image_weight": 0.7, "green_image_weight": 0.7, "black_prompt_weight": 1, "green_prompt_weight": 1, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }
Install Replicate’s Node.js client library:npm install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import and set up the client:import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", { input: { cfg: 7, seed: 1, steps: 30, width: 768, height: 512, red_part: "https://replicate.delivery/pbxt/KnHfMGDCeId745aet6XgL8CJz1qSdmXfYR08uEvIpVVdmyRL/ip.png", scheduler: "karras", black_part: "https://replicate.delivery/pbxt/KnHfMUgxgdiQ1m8H1Xq82Xx30Up5kSsozWpawRgd6W0NIjqx/back1.png", color_mask: "https://replicate.delivery/pbxt/KnHfMziYJ1zzjMkQ0Ae9mUMXRcrxILcCx7pTwa9Mq3KrSeBD/color_mask.png", green_part: "https://replicate.delivery/pbxt/KnHfN2xxfEBSFURSNmXr9nByrm2eeXBcZ3fg1boIinDemZ9s/ip2.png", sampler_name: "dpmpp_2m", image_denoise: 1, latent_upscale: true, latent_upscale_size: 1.5, red_negative_prompt: "", red_positive_prompt: "anime of a young woman with a red jacket", black_negative_prompt: "blurry, low-res, bad art", black_positive_prompt: "close-up of two girlfriends inside a ship.", green_negative_prompt: "anime", green_positive_prompt: "illustration of a blond woman", latent_upscale_denoise: 0.55 } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Import the client:import replicate
Run camenduru/comfyui-ipadapter-latentupscale using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run( "camenduru/comfyui-ipadapter-latentupscale:64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", input={ "cfg": 7, "seed": 1, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnHfMGDCeId745aet6XgL8CJz1qSdmXfYR08uEvIpVVdmyRL/ip.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnHfMUgxgdiQ1m8H1Xq82Xx30Up5kSsozWpawRgd6W0NIjqx/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnHfMziYJ1zzjMkQ0Ae9mUMXRcrxILcCx7pTwa9Mq3KrSeBD/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnHfN2xxfEBSFURSNmXr9nByrm2eeXBcZ3fg1boIinDemZ9s/ip2.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": True, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } ) print(output)
To learn more, take a look at the guide on getting started with Python.
Set theREPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run camenduru/comfyui-ipadapter-latentupscale 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": "64ad99977f7d5ae0bcb4834f5054cfa908cacbcf91c7057459059159c0f5f036", "input": { "cfg": 7, "seed": 1, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnHfMGDCeId745aet6XgL8CJz1qSdmXfYR08uEvIpVVdmyRL/ip.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnHfMUgxgdiQ1m8H1Xq82Xx30Up5kSsozWpawRgd6W0NIjqx/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnHfMziYJ1zzjMkQ0Ae9mUMXRcrxILcCx7pTwa9Mq3KrSeBD/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnHfN2xxfEBSFURSNmXr9nByrm2eeXBcZ3fg1boIinDemZ9s/ip2.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "latent_upscale": true, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2024-04-22T22:36:05.639331Z", "created_at": "2024-04-22T22:32:29.399000Z", "data_removed": false, "error": null, "id": "dyjczrvhtxrgm0cf0zr9frbwq8", "input": { "cfg": 7, "seed": 1, "steps": 30, "width": 768, "height": 512, "red_part": "https://replicate.delivery/pbxt/KnHfMGDCeId745aet6XgL8CJz1qSdmXfYR08uEvIpVVdmyRL/ip.png", "scheduler": "karras", "black_part": "https://replicate.delivery/pbxt/KnHfMUgxgdiQ1m8H1Xq82Xx30Up5kSsozWpawRgd6W0NIjqx/back1.png", "color_mask": "https://replicate.delivery/pbxt/KnHfMziYJ1zzjMkQ0Ae9mUMXRcrxILcCx7pTwa9Mq3KrSeBD/color_mask.png", "green_part": "https://replicate.delivery/pbxt/KnHfN2xxfEBSFURSNmXr9nByrm2eeXBcZ3fg1boIinDemZ9s/ip2.png", "sampler_name": "dpmpp_2m", "image_denoise": 1, "red_threshold": 0.15, "latent_upscale": true, "black_threshold": 0.15, "green_threshold": 0.15, "red_image_weight": 0.7, "red_prompt_weight": 1, "black_image_weight": 0.7, "green_image_weight": 0.7, "black_prompt_weight": 1, "green_prompt_weight": 1, "latent_upscale_size": 1.5, "red_negative_prompt": "", "red_positive_prompt": "anime of a young woman with a red jacket", "black_negative_prompt": "blurry, low-res, bad art", "black_positive_prompt": "close-up of two girlfriends inside a ship.", "green_negative_prompt": "anime", "green_positive_prompt": "illustration of a blond woman", "latent_upscale_denoise": 0.55 }, "logs": "Requested to load SD1ClipModel\nLoading 1 new model\nRequested to load CLIPVisionModelProjection\nLoading 1 new model\nRequested to load BaseModel\nLoading 1 new model\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:10, 2.83it/s]\n 7%|▋ | 2/30 [00:00<00:06, 4.05it/s]\n 10%|█ | 3/30 [00:00<00:05, 4.71it/s]\n 13%|█▎ | 4/30 [00:00<00:05, 5.09it/s]\n 17%|█▋ | 5/30 [00:01<00:04, 5.33it/s]\n 20%|██ | 6/30 [00:01<00:04, 5.48it/s]\n 23%|██▎ | 7/30 [00:01<00:04, 5.55it/s]\n 27%|██▋ | 8/30 [00:01<00:03, 5.61it/s]\n 30%|███ | 9/30 [00:01<00:03, 5.67it/s]\n 33%|███▎ | 10/30 [00:01<00:03, 5.71it/s]\n 37%|███▋ | 11/30 [00:02<00:03, 5.73it/s]\n 40%|████ | 12/30 [00:02<00:03, 5.75it/s]\n 43%|████▎ | 13/30 [00:02<00:02, 5.77it/s]\n 47%|████▋ | 14/30 [00:02<00:02, 5.77it/s]\n 50%|█████ | 15/30 [00:02<00:02, 5.78it/s]\n 53%|█████▎ | 16/30 [00:02<00:02, 5.78it/s]\n 57%|█████▋ | 17/30 [00:03<00:02, 5.80it/s]\n 60%|██████ | 18/30 [00:03<00:02, 5.80it/s]\n 63%|██████▎ | 19/30 [00:03<00:01, 5.79it/s]\n 67%|██████▋ | 20/30 [00:03<00:01, 5.80it/s]\n 70%|███████ | 21/30 [00:03<00:01, 5.79it/s]\n 73%|███████▎ | 22/30 [00:03<00:01, 5.79it/s]\n 77%|███████▋ | 23/30 [00:04<00:01, 5.79it/s]\n 80%|████████ | 24/30 [00:04<00:01, 5.78it/s]\n 83%|████████▎ | 25/30 [00:04<00:00, 5.79it/s]\n 87%|████████▋ | 26/30 [00:04<00:00, 5.78it/s]\n 90%|█████████ | 27/30 [00:04<00:00, 5.77it/s]\n 93%|█████████▎| 28/30 [00:05<00:00, 5.78it/s]\n 97%|█████████▋| 29/30 [00:05<00:00, 5.78it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.77it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.59it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n/root/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/cuda/memory.py:440: FutureWarning: torch.cuda.memory_cached has been renamed to torch.cuda.memory_reserved\nwarnings.warn(\n5154799616\n3946840064\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:11, 2.47it/s]\n 7%|▋ | 2/30 [00:00<00:11, 2.48it/s]\n 10%|█ | 3/30 [00:01<00:10, 2.49it/s]\n 13%|█▎ | 4/30 [00:01<00:10, 2.50it/s]\n 17%|█▋ | 5/30 [00:02<00:10, 2.50it/s]\n 20%|██ | 6/30 [00:02<00:09, 2.50it/s]\n 23%|██▎ | 7/30 [00:02<00:09, 2.50it/s]\n 27%|██▋ | 8/30 [00:03<00:08, 2.50it/s]\n 30%|███ | 9/30 [00:03<00:08, 2.50it/s]\n 33%|███▎ | 10/30 [00:04<00:07, 2.50it/s]\n 37%|███▋ | 11/30 [00:04<00:07, 2.50it/s]\n 40%|████ | 12/30 [00:04<00:07, 2.50it/s]\n 43%|████▎ | 13/30 [00:05<00:06, 2.50it/s]\n 47%|████▋ | 14/30 [00:05<00:06, 2.50it/s]\n 50%|█████ | 15/30 [00:06<00:05, 2.50it/s]\n 53%|█████▎ | 16/30 [00:06<00:05, 2.50it/s]\n 57%|█████▋ | 17/30 [00:06<00:05, 2.50it/s]\n 60%|██████ | 18/30 [00:07<00:04, 2.50it/s]\n 63%|██████▎ | 19/30 [00:07<00:04, 2.50it/s]\n 67%|██████▋ | 20/30 [00:08<00:04, 2.50it/s]\n 70%|███████ | 21/30 [00:08<00:03, 2.50it/s]\n 73%|███████▎ | 22/30 [00:08<00:03, 2.49it/s]\n 77%|███████▋ | 23/30 [00:09<00:02, 2.49it/s]\n 80%|████████ | 24/30 [00:09<00:02, 2.49it/s]\n 83%|████████▎ | 25/30 [00:10<00:02, 2.49it/s]\n 87%|████████▋ | 26/30 [00:10<00:01, 2.49it/s]\n 90%|█████████ | 27/30 [00:10<00:01, 2.49it/s]\n 93%|█████████▎| 28/30 [00:11<00:00, 2.49it/s]\n 97%|█████████▋| 29/30 [00:11<00:00, 2.49it/s]\n100%|██████████| 30/30 [00:12<00:00, 2.49it/s]\n100%|██████████| 30/30 [00:12<00:00, 2.50it/s]\n6037700608\n4339007488", "metrics": { "predict_time": 32.044086, "total_time": 216.240331 }, "output": [ "https://replicate.delivery/pbxt/cSefZDG4y6qZm01lurTLBafZhEcujYBiWuxl3TqYm7tdCTalA/final_image.png", "https://replicate.delivery/pbxt/VgY5NgVT0yYsBteaT3PwFyvreWn5X3BKDY8tozGeXjtqCTalA/final_up_image.png" ], "started_at": "2024-04-22T22:35:33.595245Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/dyjczrvhtxrgm0cf0zr9frbwq8", "cancel": "https://api.replicate.com/v1/predictions/dyjczrvhtxrgm0cf0zr9frbwq8/cancel" }, "version": "f4ed8ed006c27bc298d827a5de1943ca829e5eb4ed2c98d83670c3dfbf9292f0" }
Generated inRequested to load SD1ClipModel Loading 1 new model Requested to load CLIPVisionModelProjection Loading 1 new model Requested to load BaseModel Loading 1 new model 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:10, 2.83it/s] 7%|▋ | 2/30 [00:00<00:06, 4.05it/s] 10%|█ | 3/30 [00:00<00:05, 4.71it/s] 13%|█▎ | 4/30 [00:00<00:05, 5.09it/s] 17%|█▋ | 5/30 [00:01<00:04, 5.33it/s] 20%|██ | 6/30 [00:01<00:04, 5.48it/s] 23%|██▎ | 7/30 [00:01<00:04, 5.55it/s] 27%|██▋ | 8/30 [00:01<00:03, 5.61it/s] 30%|███ | 9/30 [00:01<00:03, 5.67it/s] 33%|███▎ | 10/30 [00:01<00:03, 5.71it/s] 37%|███▋ | 11/30 [00:02<00:03, 5.73it/s] 40%|████ | 12/30 [00:02<00:03, 5.75it/s] 43%|████▎ | 13/30 [00:02<00:02, 5.77it/s] 47%|████▋ | 14/30 [00:02<00:02, 5.77it/s] 50%|█████ | 15/30 [00:02<00:02, 5.78it/s] 53%|█████▎ | 16/30 [00:02<00:02, 5.78it/s] 57%|█████▋ | 17/30 [00:03<00:02, 5.80it/s] 60%|██████ | 18/30 [00:03<00:02, 5.80it/s] 63%|██████▎ | 19/30 [00:03<00:01, 5.79it/s] 67%|██████▋ | 20/30 [00:03<00:01, 5.80it/s] 70%|███████ | 21/30 [00:03<00:01, 5.79it/s] 73%|███████▎ | 22/30 [00:03<00:01, 5.79it/s] 77%|███████▋ | 23/30 [00:04<00:01, 5.79it/s] 80%|████████ | 24/30 [00:04<00:01, 5.78it/s] 83%|████████▎ | 25/30 [00:04<00:00, 5.79it/s] 87%|████████▋ | 26/30 [00:04<00:00, 5.78it/s] 90%|█████████ | 27/30 [00:04<00:00, 5.77it/s] 93%|█████████▎| 28/30 [00:05<00:00, 5.78it/s] 97%|█████████▋| 29/30 [00:05<00:00, 5.78it/s] 100%|██████████| 30/30 [00:05<00:00, 5.77it/s] 100%|██████████| 30/30 [00:05<00:00, 5.59it/s] Requested to load AutoencoderKL Loading 1 new model /root/.pyenv/versions/3.10.14/lib/python3.10/site-packages/torch/cuda/memory.py:440: FutureWarning: torch.cuda.memory_cached has been renamed to torch.cuda.memory_reserved warnings.warn( 5154799616 3946840064 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:11, 2.47it/s] 7%|▋ | 2/30 [00:00<00:11, 2.48it/s] 10%|█ | 3/30 [00:01<00:10, 2.49it/s] 13%|█▎ | 4/30 [00:01<00:10, 2.50it/s] 17%|█▋ | 5/30 [00:02<00:10, 2.50it/s] 20%|██ | 6/30 [00:02<00:09, 2.50it/s] 23%|██▎ | 7/30 [00:02<00:09, 2.50it/s] 27%|██▋ | 8/30 [00:03<00:08, 2.50it/s] 30%|███ | 9/30 [00:03<00:08, 2.50it/s] 33%|███▎ | 10/30 [00:04<00:07, 2.50it/s] 37%|███▋ | 11/30 [00:04<00:07, 2.50it/s] 40%|████ | 12/30 [00:04<00:07, 2.50it/s] 43%|████▎ | 13/30 [00:05<00:06, 2.50it/s] 47%|████▋ | 14/30 [00:05<00:06, 2.50it/s] 50%|█████ | 15/30 [00:06<00:05, 2.50it/s] 53%|█████▎ | 16/30 [00:06<00:05, 2.50it/s] 57%|█████▋ | 17/30 [00:06<00:05, 2.50it/s] 60%|██████ | 18/30 [00:07<00:04, 2.50it/s] 63%|██████▎ | 19/30 [00:07<00:04, 2.50it/s] 67%|██████▋ | 20/30 [00:08<00:04, 2.50it/s] 70%|███████ | 21/30 [00:08<00:03, 2.50it/s] 73%|███████▎ | 22/30 [00:08<00:03, 2.49it/s] 77%|███████▋ | 23/30 [00:09<00:02, 2.49it/s] 80%|████████ | 24/30 [00:09<00:02, 2.49it/s] 83%|████████▎ | 25/30 [00:10<00:02, 2.49it/s] 87%|████████▋ | 26/30 [00:10<00:01, 2.49it/s] 90%|█████████ | 27/30 [00:10<00:01, 2.49it/s] 93%|█████████▎| 28/30 [00:11<00:00, 2.49it/s] 97%|█████████▋| 29/30 [00:11<00:00, 2.49it/s] 100%|██████████| 30/30 [00:12<00:00, 2.49it/s] 100%|██████████| 30/30 [00:12<00:00, 2.50it/s] 6037700608 4339007488
Want to make some of these yourself?
Run this model