Failed to load versions. Head to the versions page to see all versions for this model.
You're looking at a specific version of this model. Jump to the model overview.
alexgenovese /custom-endpoint:ba1f4c57
This version has been disabled because it consistently fails to complete setup.
Input
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate";
import fs from "node:fs";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run alexgenovese/custom-endpoint using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"alexgenovese/custom-endpoint:ba1f4c577d6ee5baef895cb98770dfee0a4cfa778bcf20ad8a7077438b20ac9b",
{
input: {
prompt: "Cake layered with blueberry infused cake seperated by blueberry cream cheese frosting, topped with bluberries and fruit syrup, light peach-coloured background, in the style of minimalist, golden hour, kodak porta 800",
cn_type1: "ImagePrompt",
cn_type2: "ImagePrompt",
cn_type3: "ImagePrompt",
cn_type4: "ImagePrompt",
sharpness: 2,
image_seed: -1,
uov_method: "Disabled",
image_number: 1,
guidance_scale: 4,
refiner_switch: 0.5,
negative_prompt: "",
style_selections: "Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph",
uov_upscale_value: 0,
inpaint_input_image: "https://replicate.delivery/pbxt/K6DI7wQdpfLPq4MjV6Auzf6lDSKVZAGCkBdxIqshpmhqPOP9/def31524-605c-4288-8581-5daf56039e30.png",
outpaint_selections: "Left, Top",
outpaint_distance_top: 0,
performance_selection: "Quality",
outpaint_distance_left: 0,
aspect_ratios_selection: "1024*1024",
outpaint_distance_right: 0,
outpaint_distance_bottom: 0,
inpaint_additional_prompt: ""
}
}
);
// To access the file URL:
console.log(output[0].url()); //=> "http://example.com"
// To write the file to disk:
fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import replicate
Run alexgenovese/custom-endpoint using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"alexgenovese/custom-endpoint:ba1f4c577d6ee5baef895cb98770dfee0a4cfa778bcf20ad8a7077438b20ac9b",
input={
"prompt": "Cake layered with blueberry infused cake seperated by blueberry cream cheese frosting, topped with bluberries and fruit syrup, light peach-coloured background, in the style of minimalist, golden hour, kodak porta 800",
"cn_type1": "ImagePrompt",
"cn_type2": "ImagePrompt",
"cn_type3": "ImagePrompt",
"cn_type4": "ImagePrompt",
"sharpness": 2,
"image_seed": -1,
"uov_method": "Disabled",
"image_number": 1,
"guidance_scale": 4,
"refiner_switch": 0.5,
"negative_prompt": "",
"style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph",
"uov_upscale_value": 0,
"inpaint_input_image": "https://replicate.delivery/pbxt/K6DI7wQdpfLPq4MjV6Auzf6lDSKVZAGCkBdxIqshpmhqPOP9/def31524-605c-4288-8581-5daf56039e30.png",
"outpaint_selections": "Left, Top",
"outpaint_distance_top": 0,
"performance_selection": "Quality",
"outpaint_distance_left": 0,
"aspect_ratios_selection": "1024*1024",
"outpaint_distance_right": 0,
"outpaint_distance_bottom": 0,
"inpaint_additional_prompt": ""
}
)
print(output)
To learn more, take a look at the guide on getting started with Python.
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run alexgenovese/custom-endpoint 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": "alexgenovese/custom-endpoint:ba1f4c577d6ee5baef895cb98770dfee0a4cfa778bcf20ad8a7077438b20ac9b",
"input": {
"prompt": "Cake layered with blueberry infused cake seperated by blueberry cream cheese frosting, topped with bluberries and fruit syrup, light peach-coloured background, in the style of minimalist, golden hour, kodak porta 800",
"cn_type1": "ImagePrompt",
"cn_type2": "ImagePrompt",
"cn_type3": "ImagePrompt",
"cn_type4": "ImagePrompt",
"sharpness": 2,
"image_seed": -1,
"uov_method": "Disabled",
"image_number": 1,
"guidance_scale": 4,
"refiner_switch": 0.5,
"negative_prompt": "",
"style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph",
"uov_upscale_value": 0,
"inpaint_input_image": "https://replicate.delivery/pbxt/K6DI7wQdpfLPq4MjV6Auzf6lDSKVZAGCkBdxIqshpmhqPOP9/def31524-605c-4288-8581-5daf56039e30.png",
"outpaint_selections": "Left, Top",
"outpaint_distance_top": 0,
"performance_selection": "Quality",
"outpaint_distance_left": 0,
"aspect_ratios_selection": "1024*1024",
"outpaint_distance_right": 0,
"outpaint_distance_bottom": 0,
"inpaint_additional_prompt": ""
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Add a payment method to run this model.
By signing in, you agree to our
terms of service and privacy policy
Output
{
"completed_at": "2023-12-23T14:22:57.397418Z",
"created_at": "2023-12-23T14:22:16.074224Z",
"data_removed": false,
"error": null,
"id": "3oojzodbtgex5sros63he4uoxy",
"input": {
"prompt": "Cake layered with blueberry infused cake seperated by blueberry cream cheese frosting, topped with bluberries and fruit syrup, light peach-coloured background, in the style of minimalist, golden hour, kodak porta 800",
"cn_type1": "ImagePrompt",
"cn_type2": "ImagePrompt",
"cn_type3": "ImagePrompt",
"cn_type4": "ImagePrompt",
"sharpness": 2,
"image_seed": -1,
"uov_method": "Disabled",
"image_number": 1,
"guidance_scale": 4,
"refiner_switch": 0.5,
"negative_prompt": "",
"style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph",
"uov_upscale_value": 0,
"inpaint_input_image": "https://replicate.delivery/pbxt/K6DI7wQdpfLPq4MjV6Auzf6lDSKVZAGCkBdxIqshpmhqPOP9/def31524-605c-4288-8581-5daf56039e30.png",
"outpaint_selections": "Left, Top",
"outpaint_distance_top": 0,
"performance_selection": "Quality",
"outpaint_distance_left": 0,
"aspect_ratios_selection": "1024*1024",
"outpaint_distance_right": 0,
"outpaint_distance_bottom": 0,
"inpaint_additional_prompt": ""
},
"logs": "[Predictor Predict] Params: {'prompt': 'Cake layered with blueberry infused cake seperated by blueberry cream cheese frosting, topped with bluberries and fruit syrup, light peach-coloured background, in the style of minimalist, golden hour, kodak porta 800', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1024*1024', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'realvisxlV20_v20Bakedvae.safetensors', 'refiner_model_name': 'None', 'refiner_switch': 0.5, 'loras': [['neg4all_xl_bdsqlsz_V5.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', 'upscale_value': 0.0, 'outpaint_selections': ['Left', 'Top'], 'outpaint_distance_left': 0, 'outpaint_distance_right': 0, 'outpaint_distance_top': 0, 'outpaint_distance_bottom': 0, 'inpaint_input_image': {'image': array([[[184, 134, 122],\n[186, 133, 124],\n[187, 136, 127],\n...,\n[166, 113, 108],\n[168, 114, 109],\n[165, 116, 108]],\n[[186, 133, 123],\n[186, 133, 125],\n[186, 133, 126],\n...,\n[166, 113, 107],\n[168, 113, 107],\n[167, 115, 109]],\n[[186, 134, 126],\n[188, 137, 127],\n[186, 135, 127],\n...,\n[167, 113, 107],\n[169, 115, 108],\n[167, 115, 109]],\n...,\n[[181, 185, 210],\n[181, 186, 211],\n[180, 185, 211],\n...,\n[ 82, 95, 123],\n[ 81, 93, 122],\n[ 80, 93, 123]],\n[[178, 185, 209],\n[178, 183, 209],\n[178, 182, 209],\n...,\n[ 84, 98, 126],\n[ 81, 95, 124],\n[ 81, 94, 124]],\n[[179, 186, 206],\n[180, 185, 211],\n[180, 183, 209],\n...,\n[ 84, 95, 123],\n[ 83, 95, 124],\n[ 83, 96, 124]]], dtype=uint8), 'mask': None}, 'inpaint_additional_prompt': '', 'image_prompts': [], 'advanced_params': [False, 1.5, 0.8, 0.3, 7.0, 'dpmpp_2m_sde_gpu', 'karras', False, -1, -1, -1, -1, -1, -1, False, False, False, False, 0.25, 64, 128, 'joint', False, None, None, None, None, False, False, 'v2.6', 1.0, 0.618]}\n[Task Queue] Task queue is free, start task, seq=2\n[Parameters] Adaptive CFG = 7.0\n[Parameters] Sharpness = 2.0\n[Parameters] ADM Scale = 1.5 : 0.8 : 0.3\n[Parameters] CFG = 4.0\n[Parameters] Seed = 6318761011003138639\n[Fooocus] Downloading inpainter ...\nDownloading: \"https://huggingface.co/lllyasviel/misc/resolve/main/fooocus_upscaler_s409985e5.bin\" to /src/repositories/Fooocus/models/upscale_models/fooocus_upscaler_s409985e5.bin\n 0%| | 0.00/32.1M [00:00<?, ?B/s]\n 0%| | 112k/32.1M [00:00<00:29, 1.14MB/s]\n 2%|▏ | 512k/32.1M [00:00<00:11, 2.86MB/s]\n 6%|▋ | 2.08M/32.1M [00:00<00:03, 9.07MB/s]\n 26%|██▌ | 8.33M/32.1M [00:00<00:00, 31.3MB/s]\n 90%|████████▉ | 28.7M/32.1M [00:00<00:00, 94.9MB/s]\n100%|██████████| 32.1M/32.1M [00:00<00:00, 65.0MB/s]\nDownloading: \"https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/fooocus_inpaint_head.pth\" to /src/repositories/Fooocus/models/inpaint/fooocus_inpaint_head.pth\n 0%| | 0.00/51.4k [00:00<?, ?B/s]\n100%|██████████| 51.4k/51.4k [00:00<00:00, 1.05MB/s]\nDownloading: \"https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/inpaint_v26.fooocus.patch\" to /src/repositories/Fooocus/models/inpaint/inpaint_v26.fooocus.patch\n 0%| | 0.00/1.23G [00:00<?, ?B/s]\n 0%| | 112k/1.23G [00:00<19:14, 1.15MB/s]\n 0%| | 512k/1.23G [00:00<07:44, 2.85MB/s]\n 0%| | 2.01M/1.23G [00:00<02:32, 8.69MB/s]\n 1%| | 8.15M/1.23G [00:00<00:43, 30.5MB/s]\n 2%|▏ | 30.7M/1.23G [00:00<00:12, 104MB/s] \n 4%|▍ | 53.9M/1.23G [00:00<00:08, 150MB/s]\n 6%|▋ | 81.0M/1.23G [00:00<00:06, 194MB/s]\n 8%|▊ | 107M/1.23G [00:00<00:05, 214MB/s] \n 11%|█ | 136M/1.23G [00:00<00:05, 231MB/s]\n 13%|█▎ | 166M/1.23G [00:01<00:04, 247MB/s]\n 15%|█▌ | 190M/1.23G [00:01<00:04, 243MB/s]\n 17%|█▋ | 214M/1.23G [00:01<00:04, 247MB/s]\n 19%|█▉ | 242M/1.23G [00:01<00:04, 253MB/s]\n 22%|██▏ | 272M/1.23G [00:01<00:03, 270MB/s]\n 24%|██▎ | 298M/1.23G [00:01<00:03, 268MB/s]\n 26%|██▌ | 324M/1.23G [00:01<00:03, 270MB/s]\n 28%|██▊ | 350M/1.23G [00:01<00:03, 265MB/s]\n 30%|███ | 379M/1.23G [00:01<00:03, 265MB/s]\n 32%|███▏ | 409M/1.23G [00:01<00:03, 278MB/s]\n 35%|███▍ | 436M/1.23G [00:02<00:03, 270MB/s]\n 37%|███▋ | 461M/1.23G [00:02<00:03, 262MB/s]\n 39%|███▊ | 487M/1.23G [00:02<00:03, 255MB/s]\n 41%|████ | 512M/1.23G [00:02<00:03, 253MB/s]\n 43%|████▎ | 542M/1.23G [00:02<00:02, 256MB/s]\n 45%|████▌ | 572M/1.23G [00:02<00:02, 261MB/s]\n 48%|████▊ | 602M/1.23G [00:02<00:02, 260MB/s]\n 50%|█████ | 632M/1.23G [00:02<00:02, 263MB/s]\n 53%|█████▎ | 663M/1.23G [00:03<00:02, 267MB/s]\n 55%|█████▍ | 693M/1.23G [00:03<00:02, 280MB/s]\n 57%|█████▋ | 720M/1.23G [00:03<00:02, 276MB/s]\n 59%|█████▉ | 746M/1.23G [00:03<00:01, 271MB/s]\n 61%|██████ | 772M/1.23G [00:03<00:01, 268MB/s]\n 63%|██████▎ | 799M/1.23G [00:03<00:01, 266MB/s]\n 66%|██████▌ | 830M/1.23G [00:03<00:01, 269MB/s]\n 68%|██████▊ | 860M/1.23G [00:03<00:01, 271MB/s]\n 71%|███████ | 890M/1.23G [00:03<00:01, 272MB/s]\n 73%|███████▎ | 920M/1.23G [00:04<00:01, 270MB/s]\n 75%|███████▌ | 951M/1.23G [00:04<00:01, 272MB/s]\n 78%|███████▊ | 979M/1.23G [00:04<00:01, 279MB/s]\n 80%|███████▉ | 0.98G/1.23G [00:04<00:00, 275MB/s]\n 82%|████████▏ | 1.01G/1.23G [00:04<00:01, 241MB/s]\n 84%|████████▍ | 1.04G/1.23G [00:04<00:00, 256MB/s]\n 87%|████████▋ | 1.07G/1.23G [00:04<00:00, 262MB/s]\n 89%|████████▉ | 1.10G/1.23G [00:04<00:00, 269MB/s]\n 91%|█████████▏| 1.13G/1.23G [00:04<00:00, 271MB/s]\n 94%|█████████▍| 1.16G/1.23G [00:05<00:00, 274MB/s]\n 96%|█████████▋| 1.19G/1.23G [00:05<00:00, 272MB/s]\n 99%|█████████▊| 1.22G/1.23G [00:05<00:00, 272MB/s]\n100%|██████████| 1.23G/1.23G [00:05<00:00, 248MB/s]\n[Inpaint] Current inpaint model is /src/repositories/Fooocus/models/inpaint/inpaint_v26.fooocus.patch\n[Parameters] Sampler = dpmpp_2m_sde_gpu - karras\n[Parameters] Steps = 60 - 30\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\nSynthetic Refiner Activated\nSynthetic Refiner Activated\nRequest to load LoRAs [['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ('/src/repositories/Fooocus/models/inpaint/inpaint_v26.fooocus.patch', 1.0)] for model [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors] with 648 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/inpaint/inpaint_v26.fooocus.patch] for UNet [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors] with 960 keys at weight 1.0.\nRequest to load LoRAs [['neg4all_xl_bdsqlsz_V5.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors] with 648 keys at weight 0.8.\nRequested to load SDXLClipModel\nLoading 1 new model\nunload clone 1\n[Fooocus Model Management] Moving model(s) has taken 2.35 seconds\n[Fooocus] Processing prompts ...\n[Fooocus] Preparing Fooocus text #1 ...\n[Prompt Expansion] Cake layered with blueberry infused cake seperated by blueberry cream cheese frosting, topped with bluberries and fruit syrup, light peach-coloured background, in the style of minimalist, golden hour, kodak porta 800, highly detailed, sharp focus, advanced cinematic fine composition, elegant, intricate, warm bright colors, perfect, epic, stunning\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\n[Fooocus] Image processing ...\n[Fooocus] VAE Inpaint encoding ...\nRequested to load AutoencoderKL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.68 seconds\n[Fooocus] VAE encoding ...\nFinal resolution is (1331, 1331), latent is (1024, 1024).\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: torch.Size([1, 4, 128, 128])\nPreparation time: 16.50 seconds\n[Sampler] refiner_swap_method = joint\n[Sampler] sigma_min = 0.0291671771556139, sigma_max = 14.614643096923828\nRequested to load SDXL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 2.25 seconds\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:15, 3.76it/s]\n 3%|▎ | 2/60 [00:00<00:15, 3.75it/s]\n 5%|▌ | 3/60 [00:00<00:15, 3.73it/s]\n 7%|▋ | 4/60 [00:01<00:15, 3.73it/s]\n 8%|▊ | 5/60 [00:01<00:14, 3.73it/s]\n 10%|█ | 6/60 [00:01<00:14, 3.72it/s]\n 12%|█▏ | 7/60 [00:01<00:14, 3.72it/s]\n 13%|█▎ | 8/60 [00:02<00:13, 3.73it/s]\n 15%|█▌ | 9/60 [00:02<00:13, 3.73it/s]\n 17%|█▋ | 10/60 [00:02<00:13, 3.73it/s]\n 18%|█▊ | 11/60 [00:02<00:13, 3.73it/s]\n 20%|██ | 12/60 [00:03<00:12, 3.74it/s]\n 22%|██▏ | 13/60 [00:03<00:12, 3.74it/s]\n 23%|██▎ | 14/60 [00:03<00:12, 3.74it/s]\n 25%|██▌ | 15/60 [00:04<00:12, 3.74it/s]\n 27%|██▋ | 16/60 [00:04<00:11, 3.70it/s]\n 28%|██▊ | 17/60 [00:04<00:11, 3.71it/s]\n 30%|███ | 18/60 [00:04<00:11, 3.72it/s]\n 32%|███▏ | 19/60 [00:05<00:11, 3.72it/s]\n 33%|███▎ | 20/60 [00:05<00:10, 3.73it/s]\n 35%|███▌ | 21/60 [00:05<00:10, 3.73it/s]\n 37%|███▋ | 22/60 [00:05<00:10, 3.73it/s]\n 38%|███▊ | 23/60 [00:06<00:09, 3.72it/s]\n 40%|████ | 24/60 [00:06<00:09, 3.73it/s]\n 42%|████▏ | 25/60 [00:06<00:09, 3.73it/s]\n 43%|████▎ | 26/60 [00:06<00:09, 3.74it/s]\n 45%|████▌ | 27/60 [00:07<00:08, 3.73it/s]\n 47%|████▋ | 28/60 [00:07<00:08, 3.74it/s]\n 48%|████▊ | 29/60 [00:07<00:08, 3.74it/s]\nRequested to load SDXL\nLoading 1 new model\nunload clone 0\n[Fooocus Model Management] Moving model(s) has taken 1.48 seconds\nRefiner Swapped\n 50%|█████ | 30/60 [00:08<00:08, 3.74it/s]\n 52%|█████▏ | 31/60 [00:09<00:20, 1.40it/s]\n 53%|█████▎ | 32/60 [00:10<00:16, 1.73it/s]\n 55%|█████▌ | 33/60 [00:10<00:13, 2.06it/s]\n 57%|█████▋ | 34/60 [00:10<00:10, 2.39it/s]\n 58%|█████▊ | 35/60 [00:10<00:09, 2.70it/s]\n 60%|██████ | 36/60 [00:11<00:08, 2.95it/s]\n 62%|██████▏ | 37/60 [00:11<00:07, 3.16it/s]\n 63%|██████▎ | 38/60 [00:11<00:06, 3.32it/s]\n 65%|██████▌ | 39/60 [00:11<00:06, 3.45it/s]\n 67%|██████▋ | 40/60 [00:12<00:05, 3.56it/s]\n 68%|██████▊ | 41/60 [00:12<00:05, 3.62it/s]\n 70%|███████ | 42/60 [00:12<00:04, 3.66it/s]\n 72%|███████▏ | 43/60 [00:12<00:04, 3.70it/s]\n 73%|███████▎ | 44/60 [00:13<00:04, 3.73it/s]\n 75%|███████▌ | 45/60 [00:13<00:04, 3.74it/s]\n 77%|███████▋ | 46/60 [00:13<00:03, 3.75it/s]\n 78%|███████▊ | 47/60 [00:14<00:03, 3.76it/s]\n 80%|████████ | 48/60 [00:14<00:03, 3.75it/s]\n 82%|████████▏ | 49/60 [00:14<00:02, 3.77it/s]\n 83%|████████▎ | 50/60 [00:14<00:02, 3.77it/s]\n 85%|████████▌ | 51/60 [00:15<00:02, 3.76it/s]\n 87%|████████▋ | 52/60 [00:15<00:02, 3.77it/s]\n 88%|████████▊ | 53/60 [00:15<00:01, 3.77it/s]\n 90%|█████████ | 54/60 [00:15<00:01, 3.77it/s]\n 92%|█████████▏| 55/60 [00:16<00:01, 3.77it/s]\n 93%|█████████▎| 56/60 [00:16<00:01, 3.77it/s]\n 95%|█████████▌| 57/60 [00:16<00:00, 3.77it/s]\n 97%|█████████▋| 58/60 [00:16<00:00, 3.78it/s]\n 98%|█████████▊| 59/60 [00:17<00:00, 3.77it/s]\n100%|██████████| 60/60 [00:17<00:00, 3.79it/s]\n100%|██████████| 60/60 [00:17<00:00, 3.44it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 1.06 seconds\nImage generated with private log at: /src/repositories/Fooocus/outputs/2023-12-23/log.html\nGenerating and saving time: 21.74 seconds\n[Task Queue] Finish task, seq=2\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.43 seconds\n[Predictor Predict] Finished with 1 images",
"metrics": {
"predict_time": 41.283918,
"total_time": 41.323194
},
"output": [
"https://replicate.delivery/pbxt/ZUJPpVZWBSazEVsw1dSXvA5a1EYx5pGwINa4cJWYP6BQfkCJA/8ceb8ee9-932a-412e-b37c-9f6f5a8b78f0.png"
],
"started_at": "2023-12-23T14:22:16.113500Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/3oojzodbtgex5sros63he4uoxy",
"cancel": "https://api.replicate.com/v1/predictions/3oojzodbtgex5sros63he4uoxy/cancel"
},
"version": "ba1f4c577d6ee5baef895cb98770dfee0a4cfa778bcf20ad8a7077438b20ac9b"
}
[Predictor Predict] Params: {'prompt': 'Cake layered with blueberry infused cake seperated by blueberry cream cheese frosting, topped with bluberries and fruit syrup, light peach-coloured background, in the style of minimalist, golden hour, kodak porta 800', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1024*1024', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'realvisxlV20_v20Bakedvae.safetensors', 'refiner_model_name': 'None', 'refiner_switch': 0.5, 'loras': [['neg4all_xl_bdsqlsz_V5.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', 'upscale_value': 0.0, 'outpaint_selections': ['Left', 'Top'], 'outpaint_distance_left': 0, 'outpaint_distance_right': 0, 'outpaint_distance_top': 0, 'outpaint_distance_bottom': 0, 'inpaint_input_image': {'image': array([[[184, 134, 122],
[186, 133, 124],
[187, 136, 127],
...,
[166, 113, 108],
[168, 114, 109],
[165, 116, 108]],
[[186, 133, 123],
[186, 133, 125],
[186, 133, 126],
...,
[166, 113, 107],
[168, 113, 107],
[167, 115, 109]],
[[186, 134, 126],
[188, 137, 127],
[186, 135, 127],
...,
[167, 113, 107],
[169, 115, 108],
[167, 115, 109]],
...,
[[181, 185, 210],
[181, 186, 211],
[180, 185, 211],
...,
[ 82, 95, 123],
[ 81, 93, 122],
[ 80, 93, 123]],
[[178, 185, 209],
[178, 183, 209],
[178, 182, 209],
...,
[ 84, 98, 126],
[ 81, 95, 124],
[ 81, 94, 124]],
[[179, 186, 206],
[180, 185, 211],
[180, 183, 209],
...,
[ 84, 95, 123],
[ 83, 95, 124],
[ 83, 96, 124]]], dtype=uint8), 'mask': None}, 'inpaint_additional_prompt': '', 'image_prompts': [], 'advanced_params': [False, 1.5, 0.8, 0.3, 7.0, 'dpmpp_2m_sde_gpu', 'karras', False, -1, -1, -1, -1, -1, -1, False, False, False, False, 0.25, 64, 128, 'joint', False, None, None, None, None, False, False, 'v2.6', 1.0, 0.618]}
[Task Queue] Task queue is free, start task, seq=2
[Parameters] Adaptive CFG = 7.0
[Parameters] Sharpness = 2.0
[Parameters] ADM Scale = 1.5 : 0.8 : 0.3
[Parameters] CFG = 4.0
[Parameters] Seed = 6318761011003138639
[Fooocus] Downloading inpainter ...
Downloading: "https://huggingface.co/lllyasviel/misc/resolve/main/fooocus_upscaler_s409985e5.bin" to /src/repositories/Fooocus/models/upscale_models/fooocus_upscaler_s409985e5.bin
0%| | 0.00/32.1M [00:00<?, ?B/s]
0%| | 112k/32.1M [00:00<00:29, 1.14MB/s]
2%|▏ | 512k/32.1M [00:00<00:11, 2.86MB/s]
6%|▋ | 2.08M/32.1M [00:00<00:03, 9.07MB/s]
26%|██▌ | 8.33M/32.1M [00:00<00:00, 31.3MB/s]
90%|████████▉ | 28.7M/32.1M [00:00<00:00, 94.9MB/s]
100%|██████████| 32.1M/32.1M [00:00<00:00, 65.0MB/s]
Downloading: "https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/fooocus_inpaint_head.pth" to /src/repositories/Fooocus/models/inpaint/fooocus_inpaint_head.pth
0%| | 0.00/51.4k [00:00<?, ?B/s]
100%|██████████| 51.4k/51.4k [00:00<00:00, 1.05MB/s]
Downloading: "https://huggingface.co/lllyasviel/fooocus_inpaint/resolve/main/inpaint_v26.fooocus.patch" to /src/repositories/Fooocus/models/inpaint/inpaint_v26.fooocus.patch
0%| | 0.00/1.23G [00:00<?, ?B/s]
0%| | 112k/1.23G [00:00<19:14, 1.15MB/s]
0%| | 512k/1.23G [00:00<07:44, 2.85MB/s]
0%| | 2.01M/1.23G [00:00<02:32, 8.69MB/s]
1%| | 8.15M/1.23G [00:00<00:43, 30.5MB/s]
2%|▏ | 30.7M/1.23G [00:00<00:12, 104MB/s]
4%|▍ | 53.9M/1.23G [00:00<00:08, 150MB/s]
6%|▋ | 81.0M/1.23G [00:00<00:06, 194MB/s]
8%|▊ | 107M/1.23G [00:00<00:05, 214MB/s]
11%|█ | 136M/1.23G [00:00<00:05, 231MB/s]
13%|█▎ | 166M/1.23G [00:01<00:04, 247MB/s]
15%|█▌ | 190M/1.23G [00:01<00:04, 243MB/s]
17%|█▋ | 214M/1.23G [00:01<00:04, 247MB/s]
19%|█▉ | 242M/1.23G [00:01<00:04, 253MB/s]
22%|██▏ | 272M/1.23G [00:01<00:03, 270MB/s]
24%|██▎ | 298M/1.23G [00:01<00:03, 268MB/s]
26%|██▌ | 324M/1.23G [00:01<00:03, 270MB/s]
28%|██▊ | 350M/1.23G [00:01<00:03, 265MB/s]
30%|███ | 379M/1.23G [00:01<00:03, 265MB/s]
32%|███▏ | 409M/1.23G [00:01<00:03, 278MB/s]
35%|███▍ | 436M/1.23G [00:02<00:03, 270MB/s]
37%|███▋ | 461M/1.23G [00:02<00:03, 262MB/s]
39%|███▊ | 487M/1.23G [00:02<00:03, 255MB/s]
41%|████ | 512M/1.23G [00:02<00:03, 253MB/s]
43%|████▎ | 542M/1.23G [00:02<00:02, 256MB/s]
45%|████▌ | 572M/1.23G [00:02<00:02, 261MB/s]
48%|████▊ | 602M/1.23G [00:02<00:02, 260MB/s]
50%|█████ | 632M/1.23G [00:02<00:02, 263MB/s]
53%|█████▎ | 663M/1.23G [00:03<00:02, 267MB/s]
55%|█████▍ | 693M/1.23G [00:03<00:02, 280MB/s]
57%|█████▋ | 720M/1.23G [00:03<00:02, 276MB/s]
59%|█████▉ | 746M/1.23G [00:03<00:01, 271MB/s]
61%|██████ | 772M/1.23G [00:03<00:01, 268MB/s]
63%|██████▎ | 799M/1.23G [00:03<00:01, 266MB/s]
66%|██████▌ | 830M/1.23G [00:03<00:01, 269MB/s]
68%|██████▊ | 860M/1.23G [00:03<00:01, 271MB/s]
71%|███████ | 890M/1.23G [00:03<00:01, 272MB/s]
73%|███████▎ | 920M/1.23G [00:04<00:01, 270MB/s]
75%|███████▌ | 951M/1.23G [00:04<00:01, 272MB/s]
78%|███████▊ | 979M/1.23G [00:04<00:01, 279MB/s]
80%|███████▉ | 0.98G/1.23G [00:04<00:00, 275MB/s]
82%|████████▏ | 1.01G/1.23G [00:04<00:01, 241MB/s]
84%|████████▍ | 1.04G/1.23G [00:04<00:00, 256MB/s]
87%|████████▋ | 1.07G/1.23G [00:04<00:00, 262MB/s]
89%|████████▉ | 1.10G/1.23G [00:04<00:00, 269MB/s]
91%|█████████▏| 1.13G/1.23G [00:04<00:00, 271MB/s]
94%|█████████▍| 1.16G/1.23G [00:05<00:00, 274MB/s]
96%|█████████▋| 1.19G/1.23G [00:05<00:00, 272MB/s]
99%|█████████▊| 1.22G/1.23G [00:05<00:00, 272MB/s]
100%|██████████| 1.23G/1.23G [00:05<00:00, 248MB/s]
[Inpaint] Current inpaint model is /src/repositories/Fooocus/models/inpaint/inpaint_v26.fooocus.patch
[Parameters] Sampler = dpmpp_2m_sde_gpu - karras
[Parameters] Steps = 60 - 30
[Fooocus] Initializing ...
[Fooocus] Loading models ...
Synthetic Refiner Activated
Synthetic Refiner Activated
Request to load LoRAs [['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ('/src/repositories/Fooocus/models/inpaint/inpaint_v26.fooocus.patch', 1.0)] for model [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors].
Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors] with 648 keys at weight 0.8.
Loaded LoRA [/src/repositories/Fooocus/models/inpaint/inpaint_v26.fooocus.patch] for UNet [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors] with 960 keys at weight 1.0.
Request to load LoRAs [['neg4all_xl_bdsqlsz_V5.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors].
Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/realvisxlV20_v20Bakedvae.safetensors] with 648 keys at weight 0.8.
Requested to load SDXLClipModel
Loading 1 new model
unload clone 1
[Fooocus Model Management] Moving model(s) has taken 2.35 seconds
[Fooocus] Processing prompts ...
[Fooocus] Preparing Fooocus text #1 ...
[Prompt Expansion] Cake layered with blueberry infused cake seperated by blueberry cream cheese frosting, topped with bluberries and fruit syrup, light peach-coloured background, in the style of minimalist, golden hour, kodak porta 800, highly detailed, sharp focus, advanced cinematic fine composition, elegant, intricate, warm bright colors, perfect, epic, stunning
[Fooocus] Encoding positive #1 ...
[Fooocus] Encoding negative #1 ...
[Fooocus] Image processing ...
[Fooocus] VAE Inpaint encoding ...
Requested to load AutoencoderKL
Loading 1 new model
[Fooocus Model Management] Moving model(s) has taken 0.68 seconds
[Fooocus] VAE encoding ...
Final resolution is (1331, 1331), latent is (1024, 1024).
[Parameters] Denoising Strength = 1.0
[Parameters] Initial Latent shape: torch.Size([1, 4, 128, 128])
Preparation time: 16.50 seconds
[Sampler] refiner_swap_method = joint
[Sampler] sigma_min = 0.0291671771556139, sigma_max = 14.614643096923828
Requested to load SDXL
Loading 1 new model
[Fooocus Model Management] Moving model(s) has taken 2.25 seconds
0%| | 0/60 [00:00<?, ?it/s]
2%|▏ | 1/60 [00:00<00:15, 3.76it/s]
3%|▎ | 2/60 [00:00<00:15, 3.75it/s]
5%|▌ | 3/60 [00:00<00:15, 3.73it/s]
7%|▋ | 4/60 [00:01<00:15, 3.73it/s]
8%|▊ | 5/60 [00:01<00:14, 3.73it/s]
10%|█ | 6/60 [00:01<00:14, 3.72it/s]
12%|█▏ | 7/60 [00:01<00:14, 3.72it/s]
13%|█▎ | 8/60 [00:02<00:13, 3.73it/s]
15%|█▌ | 9/60 [00:02<00:13, 3.73it/s]
17%|█▋ | 10/60 [00:02<00:13, 3.73it/s]
18%|█▊ | 11/60 [00:02<00:13, 3.73it/s]
20%|██ | 12/60 [00:03<00:12, 3.74it/s]
22%|██▏ | 13/60 [00:03<00:12, 3.74it/s]
23%|██▎ | 14/60 [00:03<00:12, 3.74it/s]
25%|██▌ | 15/60 [00:04<00:12, 3.74it/s]
27%|██▋ | 16/60 [00:04<00:11, 3.70it/s]
28%|██▊ | 17/60 [00:04<00:11, 3.71it/s]
30%|███ | 18/60 [00:04<00:11, 3.72it/s]
32%|███▏ | 19/60 [00:05<00:11, 3.72it/s]
33%|███▎ | 20/60 [00:05<00:10, 3.73it/s]
35%|███▌ | 21/60 [00:05<00:10, 3.73it/s]
37%|███▋ | 22/60 [00:05<00:10, 3.73it/s]
38%|███▊ | 23/60 [00:06<00:09, 3.72it/s]
40%|████ | 24/60 [00:06<00:09, 3.73it/s]
42%|████▏ | 25/60 [00:06<00:09, 3.73it/s]
43%|████▎ | 26/60 [00:06<00:09, 3.74it/s]
45%|████▌ | 27/60 [00:07<00:08, 3.73it/s]
47%|████▋ | 28/60 [00:07<00:08, 3.74it/s]
48%|████▊ | 29/60 [00:07<00:08, 3.74it/s]
Requested to load SDXL
Loading 1 new model
unload clone 0
[Fooocus Model Management] Moving model(s) has taken 1.48 seconds
Refiner Swapped
50%|█████ | 30/60 [00:08<00:08, 3.74it/s]
52%|█████▏ | 31/60 [00:09<00:20, 1.40it/s]
53%|█████▎ | 32/60 [00:10<00:16, 1.73it/s]
55%|█████▌ | 33/60 [00:10<00:13, 2.06it/s]
57%|█████▋ | 34/60 [00:10<00:10, 2.39it/s]
58%|█████▊ | 35/60 [00:10<00:09, 2.70it/s]
60%|██████ | 36/60 [00:11<00:08, 2.95it/s]
62%|██████▏ | 37/60 [00:11<00:07, 3.16it/s]
63%|██████▎ | 38/60 [00:11<00:06, 3.32it/s]
65%|██████▌ | 39/60 [00:11<00:06, 3.45it/s]
67%|██████▋ | 40/60 [00:12<00:05, 3.56it/s]
68%|██████▊ | 41/60 [00:12<00:05, 3.62it/s]
70%|███████ | 42/60 [00:12<00:04, 3.66it/s]
72%|███████▏ | 43/60 [00:12<00:04, 3.70it/s]
73%|███████▎ | 44/60 [00:13<00:04, 3.73it/s]
75%|███████▌ | 45/60 [00:13<00:04, 3.74it/s]
77%|███████▋ | 46/60 [00:13<00:03, 3.75it/s]
78%|███████▊ | 47/60 [00:14<00:03, 3.76it/s]
80%|████████ | 48/60 [00:14<00:03, 3.75it/s]
82%|████████▏ | 49/60 [00:14<00:02, 3.77it/s]
83%|████████▎ | 50/60 [00:14<00:02, 3.77it/s]
85%|████████▌ | 51/60 [00:15<00:02, 3.76it/s]
87%|████████▋ | 52/60 [00:15<00:02, 3.77it/s]
88%|████████▊ | 53/60 [00:15<00:01, 3.77it/s]
90%|█████████ | 54/60 [00:15<00:01, 3.77it/s]
92%|█████████▏| 55/60 [00:16<00:01, 3.77it/s]
93%|█████████▎| 56/60 [00:16<00:01, 3.77it/s]
95%|█████████▌| 57/60 [00:16<00:00, 3.77it/s]
97%|█████████▋| 58/60 [00:16<00:00, 3.78it/s]
98%|█████████▊| 59/60 [00:17<00:00, 3.77it/s]
100%|██████████| 60/60 [00:17<00:00, 3.79it/s]
100%|██████████| 60/60 [00:17<00:00, 3.44it/s]
Requested to load AutoencoderKL
Loading 1 new model
[Fooocus Model Management] Moving model(s) has taken 1.06 seconds
Image generated with private log at: /src/repositories/Fooocus/outputs/2023-12-23/log.html
Generating and saving time: 21.74 seconds
[Task Queue] Finish task, seq=2
Requested to load SDXLClipModel
Requested to load GPT2LMHeadModel
Loading 2 new models
[Fooocus Model Management] Moving model(s) has taken 0.43 seconds
[Predictor Predict] Finished with 1 images