Readme
This model doesn't have a readme.
Image generation, Inpaint Strength, loras custom_urls and enhancer.
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";
const replicate = new Replicate({
auth: process.env.REPLICATE_API_TOKEN,
});
Run skytells-research/focus using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run(
"skytells-research/focus:b10ff975d21fcc846be90dd57d4c7a99003b064116ef2b667b78d435421387d6",
{
input: {
prompt: "A photo of a girl sitting in a private jet",
cn_type1: "ImagePrompt",
cn_type2: "ImagePrompt",
cn_type3: "ImagePrompt",
cn_type4: "ImagePrompt",
sharpness: 3,
image_seed: -1,
uov_method: "Upscale (2x)",
image_number: 1,
guidance_scale: 7,
refiner_switch: 0.5,
negative_prompt: "",
inpaint_strength: 0.5,
style_selections: "Fooocus V2,Fooocus Enhance,Fooocus Sharp",
loras_custom_urls: "",
uov_upscale_value: 0,
use_default_loras: true,
outpaint_selections: "",
outpaint_distance_top: 0,
performance_selection: "Quality",
outpaint_distance_left: 0,
aspect_ratios_selection: "1152*896",
outpaint_distance_right: 0,
outpaint_distance_bottom: 0,
inpaint_additional_prompt: ""
}
}
);
console.log(output);
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 skytells-research/focus using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
output = replicate.run(
"skytells-research/focus:b10ff975d21fcc846be90dd57d4c7a99003b064116ef2b667b78d435421387d6",
input={
"prompt": "A photo of a girl sitting in a private jet",
"cn_type1": "ImagePrompt",
"cn_type2": "ImagePrompt",
"cn_type3": "ImagePrompt",
"cn_type4": "ImagePrompt",
"sharpness": 3,
"image_seed": -1,
"uov_method": "Upscale (2x)",
"image_number": 1,
"guidance_scale": 7,
"refiner_switch": 0.5,
"negative_prompt": "",
"inpaint_strength": 0.5,
"style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp",
"loras_custom_urls": "",
"uov_upscale_value": 0,
"use_default_loras": True,
"outpaint_selections": "",
"outpaint_distance_top": 0,
"performance_selection": "Quality",
"outpaint_distance_left": 0,
"aspect_ratios_selection": "1152*896",
"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 skytells-research/focus 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": "skytells-research/focus:b10ff975d21fcc846be90dd57d4c7a99003b064116ef2b667b78d435421387d6",
"input": {
"prompt": "A photo of a girl sitting in a private jet",
"cn_type1": "ImagePrompt",
"cn_type2": "ImagePrompt",
"cn_type3": "ImagePrompt",
"cn_type4": "ImagePrompt",
"sharpness": 3,
"image_seed": -1,
"uov_method": "Upscale (2x)",
"image_number": 1,
"guidance_scale": 7,
"refiner_switch": 0.5,
"negative_prompt": "",
"inpaint_strength": 0.5,
"style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp",
"loras_custom_urls": "",
"uov_upscale_value": 0,
"use_default_loras": true,
"outpaint_selections": "",
"outpaint_distance_top": 0,
"performance_selection": "Quality",
"outpaint_distance_left": 0,
"aspect_ratios_selection": "1152*896",
"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
{
"completed_at": "2024-06-30T19:55:53.362629Z",
"created_at": "2024-06-30T19:50:00.150000Z",
"data_removed": false,
"error": null,
"id": "m1fva3bttsrgp0cgdas99xb2xw",
"input": {
"prompt": "A photo of a girl sitting in a private jet",
"cn_type1": "ImagePrompt",
"cn_type2": "ImagePrompt",
"cn_type3": "ImagePrompt",
"cn_type4": "ImagePrompt",
"sharpness": 3,
"image_seed": -1,
"uov_method": "Upscale (2x)",
"image_number": 1,
"guidance_scale": 7,
"refiner_switch": 0.5,
"negative_prompt": "",
"inpaint_strength": 0.5,
"style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp",
"loras_custom_urls": "",
"uov_upscale_value": 0,
"use_default_loras": true,
"outpaint_selections": "",
"outpaint_distance_top": 0,
"performance_selection": "Quality",
"outpaint_distance_left": 0,
"aspect_ratios_selection": "1152*896",
"outpaint_distance_right": 0,
"outpaint_distance_bottom": 0,
"inpaint_additional_prompt": ""
},
"logs": "[Predictor Predict] Params: {'prompt': 'A photo of a girl sitting in a private jet', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152*896', 'image_number': 1, 'image_seed': -1, 'sharpness': 3.0, 'guidance_scale': 7.0, 'base_model_name': 'juggernautXL_v8Rundiffusion.safetensors', 'refiner_model_name': 'None', 'refiner_switch': 0.5, 'loras': [['sd_xl_offset_example-lora_1.0.safetensors', 0.1]], 'uov_input_image': None, 'uov_method': 'Upscale (2x)', 'upscale_value': 0.0, 'outpaint_selections': [], 'outpaint_distance_left': 0, 'outpaint_distance_right': 0, 'outpaint_distance_top': 0, 'outpaint_distance_bottom': 0, 'inpaint_input_image': None, 'inpaint_additional_prompt': '', 'image_prompts': [], 'save_extension': 'png', 'require_base64': False, 'advanced_params': AdvancedParams(disable_preview=False, disable_intermediate_results=False, disable_seed_increment=False, adm_scaler_positive=1.5, adm_scaler_negative=0.8, adm_scaler_end=0.3, adaptive_cfg=7.0, sampler_name='dpmpp_2m_sde_gpu', scheduler_name='karras', overwrite_step=-1, overwrite_switch=-1, overwrite_width=-1, overwrite_height=-1, overwrite_vary_strength=-1, overwrite_upscale_strength=-1, mixing_image_prompt_and_vary_upscale=False, mixing_image_prompt_and_inpaint=False, debugging_cn_preprocessor=False, skipping_cn_preprocessor=False, canny_low_threshold=64, canny_high_threshold=128, refiner_swap_method='joint', controlnet_softness=0.25, freeu_enabled=False, freeu_b1=1.01, freeu_b2=1.02, freeu_s1=0.99, freeu_s2=0.95, debugging_inpaint_preprocessor=False, inpaint_disable_initial_latent=False, inpaint_engine='v2.6', inpaint_strength=0.5, inpaint_respective_field=1.0, inpaint_mask_upload_checkbox=False, invert_mask_checkbox=False, inpaint_erode_or_dilate=0)}\n\u001b[32m[2024-06-30 19:55:25] INFO \u001b[0m \u001b[34m[Task Queue] Waiting for task finished, job_id=7480956d-f903-447e-a90c-99a4c587aabd\u001b[0m\nRefiner unloaded.\nmodel_type EPS\nUNet ADM Dimension 2816\nUsing pytorch attention in VAE\nWorking with z of shape (1, 4, 32, 32) = 4096 dimensions.\nUsing pytorch attention in VAE\nextra {'cond_stage_model.clip_l.logit_scale', 'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids', 'cond_stage_model.clip_l.text_projection'}\nBase model loaded: /src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors\nRequest to load LoRAs [['sd_xl_offset_example-lora_1.0.safetensors', 0.1], ['None', 1.0], ['None', 1.0], ['None', 1.0], ['None', 1.0]] for model [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_offset_example-lora_1.0.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors] with 788 keys at weight 0.1.\nFooocus V2 Expansion: Vocab with 642 words.\nFooocus Expansion engine loaded for cuda:0, use_fp16 = True.\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.30 seconds\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Task Queue] Task queue start task, job_id=7480956d-f903-447e-a90c-99a4c587aabd\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Parameters] Adaptive CFG = 7.0\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Parameters] Sharpness = 3.0\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Parameters] ControlNet Softness = 0.25\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Parameters] ADM Scale = 1.5 : 0.8 : 0.3\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Parameters] CFG = 7.0\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Parameters] Seed = 4633194370594277476\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Parameters] Sampler = dpmpp_2m_sde_gpu - karras\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Parameters] Steps = 60 - 30\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Fooocus] Initializing ...\u001b[0m\n\u001b[32m[2024-06-30 19:55:32] INFO \u001b[0m \u001b[34m[Fooocus] Loading models ...\u001b[0m\nRefiner unloaded.\nRequest to load LoRAs [['sd_xl_offset_example-lora_1.0.safetensors', 0.1]] for model [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_offset_example-lora_1.0.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors] with 788 keys at weight 0.1.\nRequested to load SDXLClipModel\nLoading 1 new model\nunload clone 1\n[Fooocus Model Management] Moving model(s) has taken 0.53 seconds\n\u001b[32m[2024-06-30 19:55:33] INFO \u001b[0m \u001b[34m[Fooocus] Processing prompts ...\u001b[0m\n\u001b[32m[2024-06-30 19:55:33] INFO \u001b[0m \u001b[34m[Fooocus] Preparing Fooocus text #1 ...\u001b[0m\n\u001b[32m[2024-06-30 19:55:34] INFO \u001b[0m \u001b[34m[Prompt Expansion] A photo of a girl sitting in a private jet, complex artistic color composition, proportional beautiful, gentle, detailed, focus, innocent, pretty, attractive, dramatic cinematic, intricate, elegant, sharp, rich deep light, amazing, highly detail, fancy, clear professional, extremely cute, great, symmetry, sincere, best, creative, positive, cheerful, unique, vibrant colors\u001b[0m\n\u001b[32m[2024-06-30 19:55:34] INFO \u001b[0m \u001b[34m[Fooocus] Encoding positive #1 ...\u001b[0m\n\u001b[32m[2024-06-30 19:55:34] INFO \u001b[0m \u001b[34m[Fooocus] Encoding negative #1 ...\u001b[0m\n\u001b[32m[2024-06-30 19:55:34] INFO \u001b[0m \u001b[34m[Parameters] Denoising Strength = 1.0\u001b[0m\n\u001b[32m[2024-06-30 19:55:34] INFO \u001b[0m \u001b[34m[Parameters] Initial Latent shape: Image Space (896, 1152)\u001b[0m\n\u001b[32m[2024-06-30 19:55:34] INFO \u001b[0m \u001b[34m[Fooocus] Preparation time: 2.76 seconds\u001b[0m\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 0.80 seconds\n\u001b[32m[2024-06-30 19:55:35] INFO \u001b[0m \u001b[34m[Task Queue] Already waiting for 10.6 seconds, job_id=7480956d-f903-447e-a90c-99a4c587aabd\u001b[0m\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:22, 2.65it/s]\n 3%|▎ | 2/60 [00:00<00:17, 3.38it/s]\n 5%|▌ | 3/60 [00:00<00:15, 3.74it/s]\n 7%|▋ | 4/60 [00:01<00:14, 3.93it/s]\n 8%|▊ | 5/60 [00:01<00:13, 4.03it/s]\n 10%|█ | 6/60 [00:01<00:13, 4.10it/s]\n 12%|█▏ | 7/60 [00:01<00:12, 4.14it/s]\n 13%|█▎ | 8/60 [00:02<00:12, 4.18it/s]\n 15%|█▌ | 9/60 [00:02<00:12, 4.20it/s]\n 17%|█▋ | 10/60 [00:02<00:11, 4.22it/s]\n 18%|█▊ | 11/60 [00:02<00:11, 4.22it/s]\n 20%|██ | 12/60 [00:02<00:11, 4.23it/s]\n 22%|██▏ | 13/60 [00:03<00:11, 4.23it/s]\n 23%|██▎ | 14/60 [00:03<00:10, 4.22it/s]\n 25%|██▌ | 15/60 [00:03<00:10, 4.21it/s]\n 27%|██▋ | 16/60 [00:03<00:10, 4.21it/s]\n 28%|██▊ | 17/60 [00:04<00:10, 4.21it/s]\n 30%|███ | 18/60 [00:04<00:09, 4.21it/s]\n 32%|███▏ | 19/60 [00:04<00:09, 4.20it/s]\n 33%|███▎ | 20/60 [00:04<00:09, 4.19it/s]\n 35%|███▌ | 21/60 [00:05<00:09, 4.20it/s]\n 37%|███▋ | 22/60 [00:05<00:09, 4.19it/s]\n 38%|███▊ | 23/60 [00:05<00:08, 4.14it/s]\n 40%|████ | 24/60 [00:05<00:08, 4.15it/s]\n 42%|████▏ | 25/60 [00:06<00:08, 4.16it/s]\n 43%|████▎ | 26/60 [00:06<00:08, 4.16it/s]\n 45%|████▌ | 27/60 [00:06<00:07, 4.16it/s]\n 47%|████▋ | 28/60 [00:06<00:07, 4.16it/s]\n 48%|████▊ | 29/60 [00:07<00:07, 4.16it/s]\n 50%|█████ | 30/60 [00:07<00:07, 4.17it/s]\n 52%|█████▏ | 31/60 [00:07<00:07, 4.05it/s]\n 53%|█████▎ | 32/60 [00:07<00:06, 4.09it/s]\n 55%|█████▌ | 33/60 [00:08<00:06, 4.12it/s]\n 57%|█████▋ | 34/60 [00:08<00:06, 4.15it/s]\n 58%|█████▊ | 35/60 [00:08<00:06, 4.17it/s]\n 60%|██████ | 36/60 [00:08<00:05, 4.17it/s]\n 62%|██████▏ | 37/60 [00:08<00:05, 4.18it/s]\n 63%|██████▎ | 38/60 [00:09<00:05, 4.19it/s]\n 65%|██████▌ | 39/60 [00:09<00:05, 4.19it/s]\n 67%|██████▋ | 40/60 [00:09<00:04, 4.20it/s]\n 68%|██████▊ | 41/60 [00:09<00:04, 4.20it/s]\n\u001b[32m[2024-06-30 19:55:45] INFO \u001b[0m \u001b[34m[Task Queue] Already waiting for 20.6 seconds, job_id=7480956d-f903-447e-a90c-99a4c587aabd\u001b[0m\n 70%|███████ | 42/60 [00:10<00:04, 4.20it/s]\n 72%|███████▏ | 43/60 [00:10<00:04, 4.21it/s]\n 73%|███████▎ | 44/60 [00:10<00:03, 4.20it/s]\n 75%|███████▌ | 45/60 [00:10<00:03, 4.20it/s]\n 77%|███████▋ | 46/60 [00:11<00:03, 4.20it/s]\n 78%|███████▊ | 47/60 [00:11<00:03, 4.20it/s]\n 80%|████████ | 48/60 [00:11<00:02, 4.19it/s]\n 82%|████████▏ | 49/60 [00:11<00:02, 4.19it/s]\n 83%|████████▎ | 50/60 [00:12<00:02, 4.19it/s]\n 85%|████████▌ | 51/60 [00:12<00:02, 4.19it/s]\n 87%|████████▋ | 52/60 [00:12<00:01, 4.20it/s]\n 88%|████████▊ | 53/60 [00:12<00:01, 4.19it/s]\n 90%|█████████ | 54/60 [00:13<00:01, 4.20it/s]\n 92%|█████████▏| 55/60 [00:13<00:01, 4.21it/s]\n 93%|█████████▎| 56/60 [00:13<00:00, 4.21it/s]\n 95%|█████████▌| 57/60 [00:13<00:00, 4.21it/s]\n 97%|█████████▋| 58/60 [00:13<00:00, 4.21it/s]\n 98%|█████████▊| 59/60 [00:14<00:00, 4.22it/s]\n100%|██████████| 60/60 [00:14<00:00, 4.23it/s]\n100%|██████████| 60/60 [00:14<00:00, 4.16it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n\u001b[32m[2024-06-30 19:55:50] INFO \u001b[0m \u001b[34m[Fooocus] Generating and saving time: 15.58 seconds\u001b[0m\n\u001b[32m[2024-06-30 19:55:51] INFO \u001b[0m \u001b[34m[Task Queue] Finish task, job_id=7480956d-f903-447e-a90c-99a4c587aabd\u001b[0m\n[Predictor Predict] Finished with 1 images",
"metrics": {
"predict_time": 28.089912202,
"total_time": 353.212629
},
"output": {
"paths": [
"https://replicate.delivery/pbxt/2wHvfZcAXj0FYKxvKTlmgDPN35ufKRro8r0xXqQWSVPIp2DTA/4c2a2f4c-d364-4a70-b496-01c8c54a0f29.png"
],
"seeds": [
"4633194370594277476"
]
},
"started_at": "2024-06-30T19:55:25.272717Z",
"status": "succeeded",
"urls": {
"get": "https://api.replicate.com/v1/predictions/m1fva3bttsrgp0cgdas99xb2xw",
"cancel": "https://api.replicate.com/v1/predictions/m1fva3bttsrgp0cgdas99xb2xw/cancel"
},
"version": "b10ff975d21fcc846be90dd57d4c7a99003b064116ef2b667b78d435421387d6"
}
[Predictor Predict] Params: {'prompt': 'A photo of a girl sitting in a private jet', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152*896', 'image_number': 1, 'image_seed': -1, 'sharpness': 3.0, 'guidance_scale': 7.0, 'base_model_name': 'juggernautXL_v8Rundiffusion.safetensors', 'refiner_model_name': 'None', 'refiner_switch': 0.5, 'loras': [['sd_xl_offset_example-lora_1.0.safetensors', 0.1]], 'uov_input_image': None, 'uov_method': 'Upscale (2x)', 'upscale_value': 0.0, 'outpaint_selections': [], 'outpaint_distance_left': 0, 'outpaint_distance_right': 0, 'outpaint_distance_top': 0, 'outpaint_distance_bottom': 0, 'inpaint_input_image': None, 'inpaint_additional_prompt': '', 'image_prompts': [], 'save_extension': 'png', 'require_base64': False, 'advanced_params': AdvancedParams(disable_preview=False, disable_intermediate_results=False, disable_seed_increment=False, adm_scaler_positive=1.5, adm_scaler_negative=0.8, adm_scaler_end=0.3, adaptive_cfg=7.0, sampler_name='dpmpp_2m_sde_gpu', scheduler_name='karras', overwrite_step=-1, overwrite_switch=-1, overwrite_width=-1, overwrite_height=-1, overwrite_vary_strength=-1, overwrite_upscale_strength=-1, mixing_image_prompt_and_vary_upscale=False, mixing_image_prompt_and_inpaint=False, debugging_cn_preprocessor=False, skipping_cn_preprocessor=False, canny_low_threshold=64, canny_high_threshold=128, refiner_swap_method='joint', controlnet_softness=0.25, freeu_enabled=False, freeu_b1=1.01, freeu_b2=1.02, freeu_s1=0.99, freeu_s2=0.95, debugging_inpaint_preprocessor=False, inpaint_disable_initial_latent=False, inpaint_engine='v2.6', inpaint_strength=0.5, inpaint_respective_field=1.0, inpaint_mask_upload_checkbox=False, invert_mask_checkbox=False, inpaint_erode_or_dilate=0)}
[2024-06-30 19:55:25] INFO [Task Queue] Waiting for task finished, job_id=7480956d-f903-447e-a90c-99a4c587aabd
Refiner unloaded.
model_type EPS
UNet ADM Dimension 2816
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
extra {'cond_stage_model.clip_l.logit_scale', 'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids', 'cond_stage_model.clip_l.text_projection'}
Base model loaded: /src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors
Request to load LoRAs [['sd_xl_offset_example-lora_1.0.safetensors', 0.1], ['None', 1.0], ['None', 1.0], ['None', 1.0], ['None', 1.0]] for model [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors].
Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_offset_example-lora_1.0.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors] with 788 keys at weight 0.1.
Fooocus V2 Expansion: Vocab with 642 words.
Fooocus Expansion engine loaded for cuda:0, use_fp16 = True.
Requested to load SDXLClipModel
Requested to load GPT2LMHeadModel
Loading 2 new models
[Fooocus Model Management] Moving model(s) has taken 0.30 seconds
[2024-06-30 19:55:32] INFO [Task Queue] Task queue start task, job_id=7480956d-f903-447e-a90c-99a4c587aabd
[2024-06-30 19:55:32] INFO [Parameters] Adaptive CFG = 7.0
[2024-06-30 19:55:32] INFO [Parameters] Sharpness = 3.0
[2024-06-30 19:55:32] INFO [Parameters] ControlNet Softness = 0.25
[2024-06-30 19:55:32] INFO [Parameters] ADM Scale = 1.5 : 0.8 : 0.3
[2024-06-30 19:55:32] INFO [Parameters] CFG = 7.0
[2024-06-30 19:55:32] INFO [Parameters] Seed = 4633194370594277476
[2024-06-30 19:55:32] INFO [Parameters] Sampler = dpmpp_2m_sde_gpu - karras
[2024-06-30 19:55:32] INFO [Parameters] Steps = 60 - 30
[2024-06-30 19:55:32] INFO [Fooocus] Initializing ...
[2024-06-30 19:55:32] INFO [Fooocus] Loading models ...
Refiner unloaded.
Request to load LoRAs [['sd_xl_offset_example-lora_1.0.safetensors', 0.1]] for model [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors].
Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_offset_example-lora_1.0.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors] with 788 keys at weight 0.1.
Requested to load SDXLClipModel
Loading 1 new model
unload clone 1
[Fooocus Model Management] Moving model(s) has taken 0.53 seconds
[2024-06-30 19:55:33] INFO [Fooocus] Processing prompts ...
[2024-06-30 19:55:33] INFO [Fooocus] Preparing Fooocus text #1 ...
[2024-06-30 19:55:34] INFO [Prompt Expansion] A photo of a girl sitting in a private jet, complex artistic color composition, proportional beautiful, gentle, detailed, focus, innocent, pretty, attractive, dramatic cinematic, intricate, elegant, sharp, rich deep light, amazing, highly detail, fancy, clear professional, extremely cute, great, symmetry, sincere, best, creative, positive, cheerful, unique, vibrant colors
[2024-06-30 19:55:34] INFO [Fooocus] Encoding positive #1 ...
[2024-06-30 19:55:34] INFO [Fooocus] Encoding negative #1 ...
[2024-06-30 19:55:34] INFO [Parameters] Denoising Strength = 1.0
[2024-06-30 19:55:34] INFO [Parameters] Initial Latent shape: Image Space (896, 1152)
[2024-06-30 19:55:34] INFO [Fooocus] Preparation time: 2.76 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 0.80 seconds
[2024-06-30 19:55:35] INFO [Task Queue] Already waiting for 10.6 seconds, job_id=7480956d-f903-447e-a90c-99a4c587aabd
0%| | 0/60 [00:00<?, ?it/s]
2%|▏ | 1/60 [00:00<00:22, 2.65it/s]
3%|▎ | 2/60 [00:00<00:17, 3.38it/s]
5%|▌ | 3/60 [00:00<00:15, 3.74it/s]
7%|▋ | 4/60 [00:01<00:14, 3.93it/s]
8%|▊ | 5/60 [00:01<00:13, 4.03it/s]
10%|█ | 6/60 [00:01<00:13, 4.10it/s]
12%|█▏ | 7/60 [00:01<00:12, 4.14it/s]
13%|█▎ | 8/60 [00:02<00:12, 4.18it/s]
15%|█▌ | 9/60 [00:02<00:12, 4.20it/s]
17%|█▋ | 10/60 [00:02<00:11, 4.22it/s]
18%|█▊ | 11/60 [00:02<00:11, 4.22it/s]
20%|██ | 12/60 [00:02<00:11, 4.23it/s]
22%|██▏ | 13/60 [00:03<00:11, 4.23it/s]
23%|██▎ | 14/60 [00:03<00:10, 4.22it/s]
25%|██▌ | 15/60 [00:03<00:10, 4.21it/s]
27%|██▋ | 16/60 [00:03<00:10, 4.21it/s]
28%|██▊ | 17/60 [00:04<00:10, 4.21it/s]
30%|███ | 18/60 [00:04<00:09, 4.21it/s]
32%|███▏ | 19/60 [00:04<00:09, 4.20it/s]
33%|███▎ | 20/60 [00:04<00:09, 4.19it/s]
35%|███▌ | 21/60 [00:05<00:09, 4.20it/s]
37%|███▋ | 22/60 [00:05<00:09, 4.19it/s]
38%|███▊ | 23/60 [00:05<00:08, 4.14it/s]
40%|████ | 24/60 [00:05<00:08, 4.15it/s]
42%|████▏ | 25/60 [00:06<00:08, 4.16it/s]
43%|████▎ | 26/60 [00:06<00:08, 4.16it/s]
45%|████▌ | 27/60 [00:06<00:07, 4.16it/s]
47%|████▋ | 28/60 [00:06<00:07, 4.16it/s]
48%|████▊ | 29/60 [00:07<00:07, 4.16it/s]
50%|█████ | 30/60 [00:07<00:07, 4.17it/s]
52%|█████▏ | 31/60 [00:07<00:07, 4.05it/s]
53%|█████▎ | 32/60 [00:07<00:06, 4.09it/s]
55%|█████▌ | 33/60 [00:08<00:06, 4.12it/s]
57%|█████▋ | 34/60 [00:08<00:06, 4.15it/s]
58%|█████▊ | 35/60 [00:08<00:06, 4.17it/s]
60%|██████ | 36/60 [00:08<00:05, 4.17it/s]
62%|██████▏ | 37/60 [00:08<00:05, 4.18it/s]
63%|██████▎ | 38/60 [00:09<00:05, 4.19it/s]
65%|██████▌ | 39/60 [00:09<00:05, 4.19it/s]
67%|██████▋ | 40/60 [00:09<00:04, 4.20it/s]
68%|██████▊ | 41/60 [00:09<00:04, 4.20it/s]
[2024-06-30 19:55:45] INFO [Task Queue] Already waiting for 20.6 seconds, job_id=7480956d-f903-447e-a90c-99a4c587aabd
70%|███████ | 42/60 [00:10<00:04, 4.20it/s]
72%|███████▏ | 43/60 [00:10<00:04, 4.21it/s]
73%|███████▎ | 44/60 [00:10<00:03, 4.20it/s]
75%|███████▌ | 45/60 [00:10<00:03, 4.20it/s]
77%|███████▋ | 46/60 [00:11<00:03, 4.20it/s]
78%|███████▊ | 47/60 [00:11<00:03, 4.20it/s]
80%|████████ | 48/60 [00:11<00:02, 4.19it/s]
82%|████████▏ | 49/60 [00:11<00:02, 4.19it/s]
83%|████████▎ | 50/60 [00:12<00:02, 4.19it/s]
85%|████████▌ | 51/60 [00:12<00:02, 4.19it/s]
87%|████████▋ | 52/60 [00:12<00:01, 4.20it/s]
88%|████████▊ | 53/60 [00:12<00:01, 4.19it/s]
90%|█████████ | 54/60 [00:13<00:01, 4.20it/s]
92%|█████████▏| 55/60 [00:13<00:01, 4.21it/s]
93%|█████████▎| 56/60 [00:13<00:00, 4.21it/s]
95%|█████████▌| 57/60 [00:13<00:00, 4.21it/s]
97%|█████████▋| 58/60 [00:13<00:00, 4.21it/s]
98%|█████████▊| 59/60 [00:14<00:00, 4.22it/s]
100%|██████████| 60/60 [00:14<00:00, 4.23it/s]
100%|██████████| 60/60 [00:14<00:00, 4.16it/s]
Requested to load AutoencoderKL
Loading 1 new model
[2024-06-30 19:55:50] INFO [Fooocus] Generating and saving time: 15.58 seconds
[2024-06-30 19:55:51] INFO [Task Queue] Finish task, job_id=7480956d-f903-447e-a90c-99a4c587aabd
[Predictor Predict] Finished with 1 images
This model costs approximately $0.18 to run on Replicate, or 5 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.
This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 4 minutes. The predict time for this model varies significantly based on the inputs.
This model doesn't have a readme.
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
Choose a file from your machine
Hint: you can also drag files onto the input
[Predictor Predict] Params: {'prompt': 'A photo of a girl sitting in a private jet', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152*896', 'image_number': 1, 'image_seed': -1, 'sharpness': 3.0, 'guidance_scale': 7.0, 'base_model_name': 'juggernautXL_v8Rundiffusion.safetensors', 'refiner_model_name': 'None', 'refiner_switch': 0.5, 'loras': [['sd_xl_offset_example-lora_1.0.safetensors', 0.1]], 'uov_input_image': None, 'uov_method': 'Upscale (2x)', 'upscale_value': 0.0, 'outpaint_selections': [], 'outpaint_distance_left': 0, 'outpaint_distance_right': 0, 'outpaint_distance_top': 0, 'outpaint_distance_bottom': 0, 'inpaint_input_image': None, 'inpaint_additional_prompt': '', 'image_prompts': [], 'save_extension': 'png', 'require_base64': False, 'advanced_params': AdvancedParams(disable_preview=False, disable_intermediate_results=False, disable_seed_increment=False, adm_scaler_positive=1.5, adm_scaler_negative=0.8, adm_scaler_end=0.3, adaptive_cfg=7.0, sampler_name='dpmpp_2m_sde_gpu', scheduler_name='karras', overwrite_step=-1, overwrite_switch=-1, overwrite_width=-1, overwrite_height=-1, overwrite_vary_strength=-1, overwrite_upscale_strength=-1, mixing_image_prompt_and_vary_upscale=False, mixing_image_prompt_and_inpaint=False, debugging_cn_preprocessor=False, skipping_cn_preprocessor=False, canny_low_threshold=64, canny_high_threshold=128, refiner_swap_method='joint', controlnet_softness=0.25, freeu_enabled=False, freeu_b1=1.01, freeu_b2=1.02, freeu_s1=0.99, freeu_s2=0.95, debugging_inpaint_preprocessor=False, inpaint_disable_initial_latent=False, inpaint_engine='v2.6', inpaint_strength=0.5, inpaint_respective_field=1.0, inpaint_mask_upload_checkbox=False, invert_mask_checkbox=False, inpaint_erode_or_dilate=0)}
[2024-06-30 19:55:25] INFO [Task Queue] Waiting for task finished, job_id=7480956d-f903-447e-a90c-99a4c587aabd
Refiner unloaded.
model_type EPS
UNet ADM Dimension 2816
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
extra {'cond_stage_model.clip_l.logit_scale', 'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids', 'cond_stage_model.clip_l.text_projection'}
Base model loaded: /src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors
Request to load LoRAs [['sd_xl_offset_example-lora_1.0.safetensors', 0.1], ['None', 1.0], ['None', 1.0], ['None', 1.0], ['None', 1.0]] for model [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors].
Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_offset_example-lora_1.0.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors] with 788 keys at weight 0.1.
Fooocus V2 Expansion: Vocab with 642 words.
Fooocus Expansion engine loaded for cuda:0, use_fp16 = True.
Requested to load SDXLClipModel
Requested to load GPT2LMHeadModel
Loading 2 new models
[Fooocus Model Management] Moving model(s) has taken 0.30 seconds
[2024-06-30 19:55:32] INFO [Task Queue] Task queue start task, job_id=7480956d-f903-447e-a90c-99a4c587aabd
[2024-06-30 19:55:32] INFO [Parameters] Adaptive CFG = 7.0
[2024-06-30 19:55:32] INFO [Parameters] Sharpness = 3.0
[2024-06-30 19:55:32] INFO [Parameters] ControlNet Softness = 0.25
[2024-06-30 19:55:32] INFO [Parameters] ADM Scale = 1.5 : 0.8 : 0.3
[2024-06-30 19:55:32] INFO [Parameters] CFG = 7.0
[2024-06-30 19:55:32] INFO [Parameters] Seed = 4633194370594277476
[2024-06-30 19:55:32] INFO [Parameters] Sampler = dpmpp_2m_sde_gpu - karras
[2024-06-30 19:55:32] INFO [Parameters] Steps = 60 - 30
[2024-06-30 19:55:32] INFO [Fooocus] Initializing ...
[2024-06-30 19:55:32] INFO [Fooocus] Loading models ...
Refiner unloaded.
Request to load LoRAs [['sd_xl_offset_example-lora_1.0.safetensors', 0.1]] for model [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors].
Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_offset_example-lora_1.0.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors] with 788 keys at weight 0.1.
Requested to load SDXLClipModel
Loading 1 new model
unload clone 1
[Fooocus Model Management] Moving model(s) has taken 0.53 seconds
[2024-06-30 19:55:33] INFO [Fooocus] Processing prompts ...
[2024-06-30 19:55:33] INFO [Fooocus] Preparing Fooocus text #1 ...
[2024-06-30 19:55:34] INFO [Prompt Expansion] A photo of a girl sitting in a private jet, complex artistic color composition, proportional beautiful, gentle, detailed, focus, innocent, pretty, attractive, dramatic cinematic, intricate, elegant, sharp, rich deep light, amazing, highly detail, fancy, clear professional, extremely cute, great, symmetry, sincere, best, creative, positive, cheerful, unique, vibrant colors
[2024-06-30 19:55:34] INFO [Fooocus] Encoding positive #1 ...
[2024-06-30 19:55:34] INFO [Fooocus] Encoding negative #1 ...
[2024-06-30 19:55:34] INFO [Parameters] Denoising Strength = 1.0
[2024-06-30 19:55:34] INFO [Parameters] Initial Latent shape: Image Space (896, 1152)
[2024-06-30 19:55:34] INFO [Fooocus] Preparation time: 2.76 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 0.80 seconds
[2024-06-30 19:55:35] INFO [Task Queue] Already waiting for 10.6 seconds, job_id=7480956d-f903-447e-a90c-99a4c587aabd
0%| | 0/60 [00:00<?, ?it/s]
2%|▏ | 1/60 [00:00<00:22, 2.65it/s]
3%|▎ | 2/60 [00:00<00:17, 3.38it/s]
5%|▌ | 3/60 [00:00<00:15, 3.74it/s]
7%|▋ | 4/60 [00:01<00:14, 3.93it/s]
8%|▊ | 5/60 [00:01<00:13, 4.03it/s]
10%|█ | 6/60 [00:01<00:13, 4.10it/s]
12%|█▏ | 7/60 [00:01<00:12, 4.14it/s]
13%|█▎ | 8/60 [00:02<00:12, 4.18it/s]
15%|█▌ | 9/60 [00:02<00:12, 4.20it/s]
17%|█▋ | 10/60 [00:02<00:11, 4.22it/s]
18%|█▊ | 11/60 [00:02<00:11, 4.22it/s]
20%|██ | 12/60 [00:02<00:11, 4.23it/s]
22%|██▏ | 13/60 [00:03<00:11, 4.23it/s]
23%|██▎ | 14/60 [00:03<00:10, 4.22it/s]
25%|██▌ | 15/60 [00:03<00:10, 4.21it/s]
27%|██▋ | 16/60 [00:03<00:10, 4.21it/s]
28%|██▊ | 17/60 [00:04<00:10, 4.21it/s]
30%|███ | 18/60 [00:04<00:09, 4.21it/s]
32%|███▏ | 19/60 [00:04<00:09, 4.20it/s]
33%|███▎ | 20/60 [00:04<00:09, 4.19it/s]
35%|███▌ | 21/60 [00:05<00:09, 4.20it/s]
37%|███▋ | 22/60 [00:05<00:09, 4.19it/s]
38%|███▊ | 23/60 [00:05<00:08, 4.14it/s]
40%|████ | 24/60 [00:05<00:08, 4.15it/s]
42%|████▏ | 25/60 [00:06<00:08, 4.16it/s]
43%|████▎ | 26/60 [00:06<00:08, 4.16it/s]
45%|████▌ | 27/60 [00:06<00:07, 4.16it/s]
47%|████▋ | 28/60 [00:06<00:07, 4.16it/s]
48%|████▊ | 29/60 [00:07<00:07, 4.16it/s]
50%|█████ | 30/60 [00:07<00:07, 4.17it/s]
52%|█████▏ | 31/60 [00:07<00:07, 4.05it/s]
53%|█████▎ | 32/60 [00:07<00:06, 4.09it/s]
55%|█████▌ | 33/60 [00:08<00:06, 4.12it/s]
57%|█████▋ | 34/60 [00:08<00:06, 4.15it/s]
58%|█████▊ | 35/60 [00:08<00:06, 4.17it/s]
60%|██████ | 36/60 [00:08<00:05, 4.17it/s]
62%|██████▏ | 37/60 [00:08<00:05, 4.18it/s]
63%|██████▎ | 38/60 [00:09<00:05, 4.19it/s]
65%|██████▌ | 39/60 [00:09<00:05, 4.19it/s]
67%|██████▋ | 40/60 [00:09<00:04, 4.20it/s]
68%|██████▊ | 41/60 [00:09<00:04, 4.20it/s]
[2024-06-30 19:55:45] INFO [Task Queue] Already waiting for 20.6 seconds, job_id=7480956d-f903-447e-a90c-99a4c587aabd
70%|███████ | 42/60 [00:10<00:04, 4.20it/s]
72%|███████▏ | 43/60 [00:10<00:04, 4.21it/s]
73%|███████▎ | 44/60 [00:10<00:03, 4.20it/s]
75%|███████▌ | 45/60 [00:10<00:03, 4.20it/s]
77%|███████▋ | 46/60 [00:11<00:03, 4.20it/s]
78%|███████▊ | 47/60 [00:11<00:03, 4.20it/s]
80%|████████ | 48/60 [00:11<00:02, 4.19it/s]
82%|████████▏ | 49/60 [00:11<00:02, 4.19it/s]
83%|████████▎ | 50/60 [00:12<00:02, 4.19it/s]
85%|████████▌ | 51/60 [00:12<00:02, 4.19it/s]
87%|████████▋ | 52/60 [00:12<00:01, 4.20it/s]
88%|████████▊ | 53/60 [00:12<00:01, 4.19it/s]
90%|█████████ | 54/60 [00:13<00:01, 4.20it/s]
92%|█████████▏| 55/60 [00:13<00:01, 4.21it/s]
93%|█████████▎| 56/60 [00:13<00:00, 4.21it/s]
95%|█████████▌| 57/60 [00:13<00:00, 4.21it/s]
97%|█████████▋| 58/60 [00:13<00:00, 4.21it/s]
98%|█████████▊| 59/60 [00:14<00:00, 4.22it/s]
100%|██████████| 60/60 [00:14<00:00, 4.23it/s]
100%|██████████| 60/60 [00:14<00:00, 4.16it/s]
Requested to load AutoencoderKL
Loading 1 new model
[2024-06-30 19:55:50] INFO [Fooocus] Generating and saving time: 15.58 seconds
[2024-06-30 19:55:51] INFO [Task Queue] Finish task, job_id=7480956d-f903-447e-a90c-99a4c587aabd
[Predictor Predict] Finished with 1 images