alexgenovese / custom-endpoint
Fooocus API based endpoint
Prediction
alexgenovese/custom-endpoint:c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72IDrstmvw3bzzbpixxxcff6ebd5pmStatusSucceededSourceWebHardwareA40 (Large)Total durationCreatedInput
- prompt
- a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))
- 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
- outpaint_selections
- performance_selection
- Quality
- aspect_ratios_selection
- 1152×896
{ "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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:c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72", { input: { prompt: "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", 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", outpaint_selections: "", performance_selection: "Quality", aspect_ratios_selection: "1152×896" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run 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:c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72", input={ "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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:c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72", "input": { "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-23T16:21:50.285228Z", "created_at": "2023-11-23T16:21:30.594916Z", "data_removed": false, "error": null, "id": "rstmvw3bzzbpixxxcff6ebd5pm", "input": { "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" }, "logs": "[Predictor Predict] Params: {'prompt': 'a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152×896', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'juggernautXL_version6Rundiffusion.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': 'Disabled', 'outpaint_selections': [], 'inpaint_input_image': None, 'inpaint_additional_prompt': None, '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=4\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 = 8354465421749182772\n[Parameters] Sampler = dpmpp_2m_sde_gpu - karras\n[Parameters] Steps = 60 - 30\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\nRefiner unloaded.\n[Fooocus] Processing prompts ...\n[Fooocus] Preparing Fooocus text #1 ...\n[Prompt Expansion] a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view)), elegant, highly detailed, extremely sharp focus, cinematic color, rich deep colors, intricate, very artistic, appealing, magical atmosphere, iconic\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: Image Space (896, 1152)\nPreparation time: 0.60 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 1.27 seconds\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:15, 3.93it/s]\n 3%|▎ | 2/60 [00:00<00:14, 3.92it/s]\n 5%|▌ | 3/60 [00:00<00:14, 3.92it/s]\n 7%|▋ | 4/60 [00:01<00:14, 3.92it/s]\n 8%|▊ | 5/60 [00:01<00:14, 3.91it/s]\n 10%|█ | 6/60 [00:01<00:13, 3.91it/s]\n 12%|█▏ | 7/60 [00:01<00:13, 3.91it/s]\n 13%|█▎ | 8/60 [00:02<00:13, 3.91it/s]\n 15%|█▌ | 9/60 [00:02<00:13, 3.91it/s]\n 17%|█▋ | 10/60 [00:02<00:12, 3.90it/s]\n 18%|█▊ | 11/60 [00:02<00:12, 3.91it/s]\n 20%|██ | 12/60 [00:03<00:12, 3.90it/s]\n 22%|██▏ | 13/60 [00:03<00:12, 3.90it/s]\n 23%|██▎ | 14/60 [00:03<00:11, 3.90it/s]\n 25%|██▌ | 15/60 [00:03<00:11, 3.90it/s]\n 27%|██▋ | 16/60 [00:04<00:11, 3.90it/s]\n 28%|██▊ | 17/60 [00:04<00:11, 3.90it/s]\n 30%|███ | 18/60 [00:04<00:10, 3.90it/s]\n 32%|███▏ | 19/60 [00:04<00:10, 3.87it/s]\n 33%|███▎ | 20/60 [00:05<00:10, 3.88it/s]\n 35%|███▌ | 21/60 [00:05<00:10, 3.88it/s]\n 37%|███▋ | 22/60 [00:05<00:09, 3.89it/s]\n 38%|███▊ | 23/60 [00:05<00:09, 3.89it/s]\n 40%|████ | 24/60 [00:06<00:09, 3.89it/s]\n 42%|████▏ | 25/60 [00:06<00:08, 3.89it/s]\n 43%|████▎ | 26/60 [00:06<00:08, 3.88it/s]\n 45%|████▌ | 27/60 [00:06<00:08, 3.89it/s]\n 47%|████▋ | 28/60 [00:07<00:08, 3.89it/s]\n 48%|████▊ | 29/60 [00:07<00:07, 3.88it/s]\n 50%|█████ | 30/60 [00:07<00:07, 3.89it/s]\n 52%|█████▏ | 31/60 [00:07<00:07, 3.88it/s]\n 53%|█████▎ | 32/60 [00:08<00:07, 3.88it/s]\n 55%|█████▌ | 33/60 [00:08<00:06, 3.88it/s]\n 57%|█████▋ | 34/60 [00:08<00:06, 3.89it/s]\n 58%|█████▊ | 35/60 [00:08<00:06, 3.89it/s]\n 60%|██████ | 36/60 [00:09<00:06, 3.88it/s]\n 62%|██████▏ | 37/60 [00:09<00:05, 3.89it/s]\n 63%|██████▎ | 38/60 [00:09<00:05, 3.87it/s]\n 65%|██████▌ | 39/60 [00:10<00:05, 3.87it/s]\n 67%|██████▋ | 40/60 [00:10<00:05, 3.87it/s]\n 68%|██████▊ | 41/60 [00:10<00:04, 3.88it/s]\n 70%|███████ | 42/60 [00:10<00:04, 3.88it/s]\n 72%|███████▏ | 43/60 [00:11<00:04, 3.88it/s]\n 73%|███████▎ | 44/60 [00:11<00:04, 3.88it/s]\n 75%|███████▌ | 45/60 [00:11<00:03, 3.88it/s]\n 77%|███████▋ | 46/60 [00:11<00:03, 3.87it/s]\n 78%|███████▊ | 47/60 [00:12<00:03, 3.87it/s]\n 80%|████████ | 48/60 [00:12<00:03, 3.87it/s]\n 82%|████████▏ | 49/60 [00:12<00:02, 3.88it/s]\n 83%|████████▎ | 50/60 [00:12<00:02, 3.88it/s]\n 85%|████████▌ | 51/60 [00:13<00:02, 3.87it/s]\n 87%|████████▋ | 52/60 [00:13<00:02, 3.88it/s]\n 88%|████████▊ | 53/60 [00:13<00:01, 3.88it/s]\n 90%|█████████ | 54/60 [00:13<00:01, 3.88it/s]\n 92%|█████████▏| 55/60 [00:14<00:01, 3.88it/s]\n 93%|█████████▎| 56/60 [00:14<00:01, 3.88it/s]\n 95%|█████████▌| 57/60 [00:14<00:00, 3.87it/s]\n 97%|█████████▋| 58/60 [00:14<00:00, 3.88it/s]\n 98%|█████████▊| 59/60 [00:15<00:00, 3.88it/s]\n100%|██████████| 60/60 [00:15<00:00, 3.90it/s]\n100%|██████████| 60/60 [00:15<00:00, 3.89it/s]\nGenerating and saving time: 17.14 seconds\n[Task Queue] Finish task, seq=4\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.40 seconds\n[Predictor Predict] Finished with 1 images", "metrics": { "predict_time": 19.657861, "total_time": 19.690312 }, "output": [ "https://replicate.delivery/pbxt/gD1MwiSMTC7ZKBoxxMSxiH0OftxZ2Eyt8YIaZIayg1lOcp9IA/e72f602a-88cc-4ed5-ad67-1562997c76ee.png" ], "started_at": "2023-11-23T16:21:30.627367Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rstmvw3bzzbpixxxcff6ebd5pm", "cancel": "https://api.replicate.com/v1/predictions/rstmvw3bzzbpixxxcff6ebd5pm/cancel" }, "version": "c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72" }
Generated in[Predictor Predict] Params: {'prompt': 'a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152×896', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'juggernautXL_version6Rundiffusion.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': 'Disabled', 'outpaint_selections': [], 'inpaint_input_image': None, 'inpaint_additional_prompt': None, '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=4 [Parameters] Adaptive CFG = 7.0 [Parameters] Sharpness = 2.0 [Parameters] ADM Scale = 1.5 : 0.8 : 0.3 [Parameters] CFG = 4.0 [Parameters] Seed = 8354465421749182772 [Parameters] Sampler = dpmpp_2m_sde_gpu - karras [Parameters] Steps = 60 - 30 [Fooocus] Initializing ... [Fooocus] Loading models ... Refiner unloaded. [Fooocus] Processing prompts ... [Fooocus] Preparing Fooocus text #1 ... [Prompt Expansion] a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view)), elegant, highly detailed, extremely sharp focus, cinematic color, rich deep colors, intricate, very artistic, appealing, magical atmosphere, iconic [Fooocus] Encoding positive #1 ... [Fooocus] Encoding negative #1 ... [Parameters] Denoising Strength = 1.0 [Parameters] Initial Latent shape: Image Space (896, 1152) Preparation time: 0.60 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 1.27 seconds 0%| | 0/60 [00:00<?, ?it/s] 2%|▏ | 1/60 [00:00<00:15, 3.93it/s] 3%|▎ | 2/60 [00:00<00:14, 3.92it/s] 5%|▌ | 3/60 [00:00<00:14, 3.92it/s] 7%|▋ | 4/60 [00:01<00:14, 3.92it/s] 8%|▊ | 5/60 [00:01<00:14, 3.91it/s] 10%|█ | 6/60 [00:01<00:13, 3.91it/s] 12%|█▏ | 7/60 [00:01<00:13, 3.91it/s] 13%|█▎ | 8/60 [00:02<00:13, 3.91it/s] 15%|█▌ | 9/60 [00:02<00:13, 3.91it/s] 17%|█▋ | 10/60 [00:02<00:12, 3.90it/s] 18%|█▊ | 11/60 [00:02<00:12, 3.91it/s] 20%|██ | 12/60 [00:03<00:12, 3.90it/s] 22%|██▏ | 13/60 [00:03<00:12, 3.90it/s] 23%|██▎ | 14/60 [00:03<00:11, 3.90it/s] 25%|██▌ | 15/60 [00:03<00:11, 3.90it/s] 27%|██▋ | 16/60 [00:04<00:11, 3.90it/s] 28%|██▊ | 17/60 [00:04<00:11, 3.90it/s] 30%|███ | 18/60 [00:04<00:10, 3.90it/s] 32%|███▏ | 19/60 [00:04<00:10, 3.87it/s] 33%|███▎ | 20/60 [00:05<00:10, 3.88it/s] 35%|███▌ | 21/60 [00:05<00:10, 3.88it/s] 37%|███▋ | 22/60 [00:05<00:09, 3.89it/s] 38%|███▊ | 23/60 [00:05<00:09, 3.89it/s] 40%|████ | 24/60 [00:06<00:09, 3.89it/s] 42%|████▏ | 25/60 [00:06<00:08, 3.89it/s] 43%|████▎ | 26/60 [00:06<00:08, 3.88it/s] 45%|████▌ | 27/60 [00:06<00:08, 3.89it/s] 47%|████▋ | 28/60 [00:07<00:08, 3.89it/s] 48%|████▊ | 29/60 [00:07<00:07, 3.88it/s] 50%|█████ | 30/60 [00:07<00:07, 3.89it/s] 52%|█████▏ | 31/60 [00:07<00:07, 3.88it/s] 53%|█████▎ | 32/60 [00:08<00:07, 3.88it/s] 55%|█████▌ | 33/60 [00:08<00:06, 3.88it/s] 57%|█████▋ | 34/60 [00:08<00:06, 3.89it/s] 58%|█████▊ | 35/60 [00:08<00:06, 3.89it/s] 60%|██████ | 36/60 [00:09<00:06, 3.88it/s] 62%|██████▏ | 37/60 [00:09<00:05, 3.89it/s] 63%|██████▎ | 38/60 [00:09<00:05, 3.87it/s] 65%|██████▌ | 39/60 [00:10<00:05, 3.87it/s] 67%|██████▋ | 40/60 [00:10<00:05, 3.87it/s] 68%|██████▊ | 41/60 [00:10<00:04, 3.88it/s] 70%|███████ | 42/60 [00:10<00:04, 3.88it/s] 72%|███████▏ | 43/60 [00:11<00:04, 3.88it/s] 73%|███████▎ | 44/60 [00:11<00:04, 3.88it/s] 75%|███████▌ | 45/60 [00:11<00:03, 3.88it/s] 77%|███████▋ | 46/60 [00:11<00:03, 3.87it/s] 78%|███████▊ | 47/60 [00:12<00:03, 3.87it/s] 80%|████████ | 48/60 [00:12<00:03, 3.87it/s] 82%|████████▏ | 49/60 [00:12<00:02, 3.88it/s] 83%|████████▎ | 50/60 [00:12<00:02, 3.88it/s] 85%|████████▌ | 51/60 [00:13<00:02, 3.87it/s] 87%|████████▋ | 52/60 [00:13<00:02, 3.88it/s] 88%|████████▊ | 53/60 [00:13<00:01, 3.88it/s] 90%|█████████ | 54/60 [00:13<00:01, 3.88it/s] 92%|█████████▏| 55/60 [00:14<00:01, 3.88it/s] 93%|█████████▎| 56/60 [00:14<00:01, 3.88it/s] 95%|█████████▌| 57/60 [00:14<00:00, 3.87it/s] 97%|█████████▋| 58/60 [00:14<00:00, 3.88it/s] 98%|█████████▊| 59/60 [00:15<00:00, 3.88it/s] 100%|██████████| 60/60 [00:15<00:00, 3.90it/s] 100%|██████████| 60/60 [00:15<00:00, 3.89it/s] Generating and saving time: 17.14 seconds [Task Queue] Finish task, seq=4 Requested to load SDXLClipModel Requested to load GPT2LMHeadModel Loading 2 new models [Fooocus Model Management] Moving model(s) has taken 0.40 seconds [Predictor Predict] Finished with 1 images
Prediction
alexgenovese/custom-endpoint:c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72IDkv4h7klbckprqqmguyk2yxvimeStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- prompt
- a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She's smiling and watching the viewer, greeting with one hand
- cn_type1
- ImagePrompt
- cn_type2
- ImagePrompt
- cn_type3
- ImagePrompt
- cn_type4
- ImagePrompt
- sharpness
- 6
- image_seed
- -1
- uov_method
- Disabled
- image_number
- 1
- guidance_scale
- 8
- refiner_switch
- 0.75
- negative_prompt
- (((golden ratio))), bw, (tan skin:1.3),(worst quality:2), (low quality:2), low-res, (nose2), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, motion blur, nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth, closed mouth
- style_selections
- Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph, Fooocus Negative
- outpaint_selections
- performance_selection
- Quality
- aspect_ratios_selection
- 1152×896
{ "prompt": "a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She's smiling and watching the viewer, greeting with one hand", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 6, "image_seed": -1, "uov_method": "Disabled", "image_number": 1, "guidance_scale": 8, "refiner_switch": 0.75, "negative_prompt": "(((golden ratio))), bw, (tan skin:1.3),(worst quality:2), (low quality:2), low-res, (nose2), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, motion blur, nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth, closed mouth", "style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph, Fooocus Negative", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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:c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72", { input: { prompt: "a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She's smiling and watching the viewer, greeting with one hand", cn_type1: "ImagePrompt", cn_type2: "ImagePrompt", cn_type3: "ImagePrompt", cn_type4: "ImagePrompt", sharpness: 6, image_seed: -1, uov_method: "Disabled", image_number: 1, guidance_scale: 8, refiner_switch: 0.75, negative_prompt: "(((golden ratio))), bw, (tan skin:1.3),(worst quality:2), (low quality:2), low-res, (nose2), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, motion blur, nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth, closed mouth", style_selections: "Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph, Fooocus Negative", outpaint_selections: "", performance_selection: "Quality", aspect_ratios_selection: "1152×896" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run 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:c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72", input={ "prompt": "a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She's smiling and watching the viewer, greeting with one hand", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 6, "image_seed": -1, "uov_method": "Disabled", "image_number": 1, "guidance_scale": 8, "refiner_switch": 0.75, "negative_prompt": "(((golden ratio))), bw, (tan skin:1.3),(worst quality:2), (low quality:2), low-res, (nose2), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, motion blur, nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth, closed mouth", "style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph, Fooocus Negative", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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:c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72", "input": { "prompt": "a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She\'s smiling and watching the viewer, greeting with one hand", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 6, "image_seed": -1, "uov_method": "Disabled", "image_number": 1, "guidance_scale": 8, "refiner_switch": 0.75, "negative_prompt": "(((golden ratio))), bw, (tan skin:1.3),(worst quality:2), (low quality:2), low-res, (nose2), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, motion blur, nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth, closed mouth", "style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph, Fooocus Negative", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-11-24T17:32:15.875709Z", "created_at": "2023-11-24T17:32:01.999605Z", "data_removed": false, "error": null, "id": "kv4h7klbckprqqmguyk2yxvime", "input": { "prompt": "a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She's smiling and watching the viewer, greeting with one hand", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 6, "image_seed": -1, "uov_method": "Disabled", "image_number": 1, "guidance_scale": 8, "refiner_switch": 0.75, "negative_prompt": "(((golden ratio))), bw, (tan skin:1.3),(worst quality:2), (low quality:2), low-res, (nose2), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, motion blur, nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth, closed mouth", "style_selections": "Fooocus V2,Fooocus Enhance,Fooocus Sharp, Fooocus Photograph, Fooocus Negative", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" }, "logs": "[Predictor Predict] Params: {'prompt': \"a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She's smiling and watching the viewer, greeting with one hand\", 'negative_prompt': '(((golden ratio))), bw, (tan skin:1.3),(worst quality:2), (low quality:2), low-res, (nose2), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, motion blur, nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth, closed mouth', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph', 'Fooocus Negative'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152×896', 'image_number': 1, 'image_seed': -1, 'sharpness': 6.0, 'guidance_scale': 8.0, 'base_model_name': 'juggernautXL_version6Rundiffusion.safetensors', 'refiner_model_name': 'None', 'refiner_switch': 0.75, 'loras': [['sd_xl_offset_example-lora_1.0.safetensors', 0.1]], 'uov_input_image': None, 'uov_method': 'Disabled', 'outpaint_selections': [], 'inpaint_input_image': None, 'inpaint_additional_prompt': None, '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=8\n[Parameters] Adaptive CFG = 7.0\n[Parameters] Sharpness = 6.0\n[Parameters] ADM Scale = 1.5 : 0.8 : 0.3\n[Parameters] CFG = 8.0\n[Parameters] Seed = 1834752518183248972\n[Parameters] Sampler = dpmpp_2m_sde_gpu - karras\n[Parameters] Steps = 60 - 45\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\nRefiner unloaded.\n[Fooocus] Processing prompts ...\n[Fooocus] Preparing Fooocus text #1 ...\n[Prompt Expansion] a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She's smiling and watching the viewer, greeting with one hand, light reflected, rich deep colors, beautiful ambient, sharp focus, highly detailed, cinematic, great composition, dynamic, atmosphere, merry, mystical, scenic, thought, epic\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: Image Space (896, 1152)\nPreparation time: 0.87 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 1.52 seconds\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:13, 4.32it/s]\n 3%|▎ | 2/60 [00:00<00:10, 5.40it/s]\n 5%|▌ | 3/60 [00:00<00:09, 5.84it/s]\n 7%|▋ | 4/60 [00:00<00:09, 6.00it/s]\n 8%|▊ | 5/60 [00:00<00:09, 6.06it/s]\n 10%|█ | 6/60 [00:01<00:08, 6.07it/s]\n 12%|█▏ | 7/60 [00:01<00:08, 6.05it/s]\n 13%|█▎ | 8/60 [00:01<00:08, 6.05it/s]\n 15%|█▌ | 9/60 [00:01<00:08, 6.03it/s]\n 17%|█▋ | 10/60 [00:01<00:08, 6.04it/s]\n 18%|█▊ | 11/60 [00:01<00:08, 6.03it/s]\n 20%|██ | 12/60 [00:02<00:07, 6.05it/s]\n 22%|██▏ | 13/60 [00:02<00:07, 6.05it/s]\n 23%|██▎ | 14/60 [00:02<00:07, 6.00it/s]\n 25%|██▌ | 15/60 [00:02<00:07, 6.01it/s]\n 27%|██▋ | 16/60 [00:02<00:07, 6.00it/s]\n 28%|██▊ | 17/60 [00:02<00:07, 6.01it/s]\n 30%|███ | 18/60 [00:03<00:07, 5.99it/s]\n 32%|███▏ | 19/60 [00:03<00:06, 5.99it/s]\n 33%|███▎ | 20/60 [00:03<00:06, 5.97it/s]\n 35%|███▌ | 21/60 [00:03<00:06, 5.98it/s]\n 37%|███▋ | 22/60 [00:03<00:06, 5.97it/s]\n 38%|███▊ | 23/60 [00:03<00:06, 5.97it/s]\n 40%|████ | 24/60 [00:04<00:06, 5.97it/s]\n 42%|████▏ | 25/60 [00:04<00:05, 5.97it/s]\n 43%|████▎ | 26/60 [00:04<00:05, 5.96it/s]\n 45%|████▌ | 27/60 [00:04<00:05, 5.96it/s]\n 47%|████▋ | 28/60 [00:04<00:05, 5.97it/s]\n 48%|████▊ | 29/60 [00:04<00:05, 5.96it/s]\n 50%|█████ | 30/60 [00:05<00:05, 5.97it/s]\n 52%|█████▏ | 31/60 [00:05<00:04, 5.96it/s]\n 53%|█████▎ | 32/60 [00:05<00:04, 5.97it/s]\n 55%|█████▌ | 33/60 [00:05<00:04, 5.97it/s]\n 57%|█████▋ | 34/60 [00:05<00:04, 5.99it/s]\n 58%|█████▊ | 35/60 [00:05<00:04, 5.98it/s]\n 60%|██████ | 36/60 [00:06<00:04, 5.96it/s]\n 62%|██████▏ | 37/60 [00:06<00:03, 5.97it/s]\n 63%|██████▎ | 38/60 [00:06<00:03, 5.97it/s]\n 65%|██████▌ | 39/60 [00:06<00:03, 5.95it/s]\n 67%|██████▋ | 40/60 [00:06<00:03, 5.94it/s]\n 68%|██████▊ | 41/60 [00:06<00:03, 5.94it/s]\n 70%|███████ | 42/60 [00:07<00:03, 5.94it/s]\n 72%|███████▏ | 43/60 [00:07<00:02, 5.94it/s]\n 73%|███████▎ | 44/60 [00:07<00:02, 5.95it/s]\n 75%|███████▌ | 45/60 [00:07<00:02, 5.96it/s]\n 77%|███████▋ | 46/60 [00:07<00:02, 5.95it/s]\n 78%|███████▊ | 47/60 [00:07<00:02, 5.95it/s]\n 80%|████████ | 48/60 [00:08<00:02, 5.95it/s]\n 82%|████████▏ | 49/60 [00:08<00:01, 5.95it/s]\n 83%|████████▎ | 50/60 [00:08<00:01, 5.95it/s]\n 85%|████████▌ | 51/60 [00:08<00:01, 5.90it/s]\n 87%|████████▋ | 52/60 [00:08<00:01, 5.92it/s]\n 88%|████████▊ | 53/60 [00:08<00:01, 5.93it/s]\n 90%|█████████ | 54/60 [00:09<00:01, 5.94it/s]\n 92%|█████████▏| 55/60 [00:09<00:00, 5.96it/s]\n 93%|█████████▎| 56/60 [00:09<00:00, 5.97it/s]\n 95%|█████████▌| 57/60 [00:09<00:00, 5.98it/s]\n 97%|█████████▋| 58/60 [00:09<00:00, 5.98it/s]\n 98%|█████████▊| 59/60 [00:09<00:00, 6.01it/s]\n100%|██████████| 60/60 [00:10<00:00, 6.04it/s]\n100%|██████████| 60/60 [00:10<00:00, 5.96it/s]\nGenerating and saving time: 11.89 seconds\n[Task Queue] Finish task, seq=8\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.21 seconds\n[Predictor Predict] Finished with 1 images", "metrics": { "predict_time": 13.857376, "total_time": 13.876104 }, "output": [ "https://replicate.delivery/pbxt/Iz77sc6HCezQVq3o0gcwa4XbINkPEBJFMe2CeinrpSUeBkuHB/472cf78b-afc1-41e6-9b2b-aeaf804e133a.png" ], "started_at": "2023-11-24T17:32:02.018333Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/kv4h7klbckprqqmguyk2yxvime", "cancel": "https://api.replicate.com/v1/predictions/kv4h7klbckprqqmguyk2yxvime/cancel" }, "version": "c8357daea2a52885ef62b5dbaeeb2c71b63c975236791a3e7c7f78f7b9e80b72" }
Generated in[Predictor Predict] Params: {'prompt': "a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She's smiling and watching the viewer, greeting with one hand", 'negative_prompt': '(((golden ratio))), bw, (tan skin:1.3),(worst quality:2), (low quality:2), low-res, (nose2), (((chromatic aberration))), ((blur censor)), ((blurry)), (blurry background), (blurry foreground), bokeh, (chromatic aberration), cosplay photo, eyelashes, motion blur, nose, overexposed, (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, 4 fingers, 3 fingers, too many fingers, long neck, open mouth, closed mouth', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph', 'Fooocus Negative'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152×896', 'image_number': 1, 'image_seed': -1, 'sharpness': 6.0, 'guidance_scale': 8.0, 'base_model_name': 'juggernautXL_version6Rundiffusion.safetensors', 'refiner_model_name': 'None', 'refiner_switch': 0.75, 'loras': [['sd_xl_offset_example-lora_1.0.safetensors', 0.1]], 'uov_input_image': None, 'uov_method': 'Disabled', 'outpaint_selections': [], 'inpaint_input_image': None, 'inpaint_additional_prompt': None, '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=8 [Parameters] Adaptive CFG = 7.0 [Parameters] Sharpness = 6.0 [Parameters] ADM Scale = 1.5 : 0.8 : 0.3 [Parameters] CFG = 8.0 [Parameters] Seed = 1834752518183248972 [Parameters] Sampler = dpmpp_2m_sde_gpu - karras [Parameters] Steps = 60 - 45 [Fooocus] Initializing ... [Fooocus] Loading models ... Refiner unloaded. [Fooocus] Processing prompts ... [Fooocus] Preparing Fooocus text #1 ... [Prompt Expansion] a realistic photo of a 40 yo woman is taking one aeqq bag from the chair, elegant home, luxury, high detail. She's smiling and watching the viewer, greeting with one hand, light reflected, rich deep colors, beautiful ambient, sharp focus, highly detailed, cinematic, great composition, dynamic, atmosphere, merry, mystical, scenic, thought, epic [Fooocus] Encoding positive #1 ... [Fooocus] Encoding negative #1 ... [Parameters] Denoising Strength = 1.0 [Parameters] Initial Latent shape: Image Space (896, 1152) Preparation time: 0.87 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 1.52 seconds 0%| | 0/60 [00:00<?, ?it/s] 2%|▏ | 1/60 [00:00<00:13, 4.32it/s] 3%|▎ | 2/60 [00:00<00:10, 5.40it/s] 5%|▌ | 3/60 [00:00<00:09, 5.84it/s] 7%|▋ | 4/60 [00:00<00:09, 6.00it/s] 8%|▊ | 5/60 [00:00<00:09, 6.06it/s] 10%|█ | 6/60 [00:01<00:08, 6.07it/s] 12%|█▏ | 7/60 [00:01<00:08, 6.05it/s] 13%|█▎ | 8/60 [00:01<00:08, 6.05it/s] 15%|█▌ | 9/60 [00:01<00:08, 6.03it/s] 17%|█▋ | 10/60 [00:01<00:08, 6.04it/s] 18%|█▊ | 11/60 [00:01<00:08, 6.03it/s] 20%|██ | 12/60 [00:02<00:07, 6.05it/s] 22%|██▏ | 13/60 [00:02<00:07, 6.05it/s] 23%|██▎ | 14/60 [00:02<00:07, 6.00it/s] 25%|██▌ | 15/60 [00:02<00:07, 6.01it/s] 27%|██▋ | 16/60 [00:02<00:07, 6.00it/s] 28%|██▊ | 17/60 [00:02<00:07, 6.01it/s] 30%|███ | 18/60 [00:03<00:07, 5.99it/s] 32%|███▏ | 19/60 [00:03<00:06, 5.99it/s] 33%|███▎ | 20/60 [00:03<00:06, 5.97it/s] 35%|███▌ | 21/60 [00:03<00:06, 5.98it/s] 37%|███▋ | 22/60 [00:03<00:06, 5.97it/s] 38%|███▊ | 23/60 [00:03<00:06, 5.97it/s] 40%|████ | 24/60 [00:04<00:06, 5.97it/s] 42%|████▏ | 25/60 [00:04<00:05, 5.97it/s] 43%|████▎ | 26/60 [00:04<00:05, 5.96it/s] 45%|████▌ | 27/60 [00:04<00:05, 5.96it/s] 47%|████▋ | 28/60 [00:04<00:05, 5.97it/s] 48%|████▊ | 29/60 [00:04<00:05, 5.96it/s] 50%|█████ | 30/60 [00:05<00:05, 5.97it/s] 52%|█████▏ | 31/60 [00:05<00:04, 5.96it/s] 53%|█████▎ | 32/60 [00:05<00:04, 5.97it/s] 55%|█████▌ | 33/60 [00:05<00:04, 5.97it/s] 57%|█████▋ | 34/60 [00:05<00:04, 5.99it/s] 58%|█████▊ | 35/60 [00:05<00:04, 5.98it/s] 60%|██████ | 36/60 [00:06<00:04, 5.96it/s] 62%|██████▏ | 37/60 [00:06<00:03, 5.97it/s] 63%|██████▎ | 38/60 [00:06<00:03, 5.97it/s] 65%|██████▌ | 39/60 [00:06<00:03, 5.95it/s] 67%|██████▋ | 40/60 [00:06<00:03, 5.94it/s] 68%|██████▊ | 41/60 [00:06<00:03, 5.94it/s] 70%|███████ | 42/60 [00:07<00:03, 5.94it/s] 72%|███████▏ | 43/60 [00:07<00:02, 5.94it/s] 73%|███████▎ | 44/60 [00:07<00:02, 5.95it/s] 75%|███████▌ | 45/60 [00:07<00:02, 5.96it/s] 77%|███████▋ | 46/60 [00:07<00:02, 5.95it/s] 78%|███████▊ | 47/60 [00:07<00:02, 5.95it/s] 80%|████████ | 48/60 [00:08<00:02, 5.95it/s] 82%|████████▏ | 49/60 [00:08<00:01, 5.95it/s] 83%|████████▎ | 50/60 [00:08<00:01, 5.95it/s] 85%|████████▌ | 51/60 [00:08<00:01, 5.90it/s] 87%|████████▋ | 52/60 [00:08<00:01, 5.92it/s] 88%|████████▊ | 53/60 [00:08<00:01, 5.93it/s] 90%|█████████ | 54/60 [00:09<00:01, 5.94it/s] 92%|█████████▏| 55/60 [00:09<00:00, 5.96it/s] 93%|█████████▎| 56/60 [00:09<00:00, 5.97it/s] 95%|█████████▌| 57/60 [00:09<00:00, 5.98it/s] 97%|█████████▋| 58/60 [00:09<00:00, 5.98it/s] 98%|█████████▊| 59/60 [00:09<00:00, 6.01it/s] 100%|██████████| 60/60 [00:10<00:00, 6.04it/s] 100%|██████████| 60/60 [00:10<00:00, 5.96it/s] Generating and saving time: 11.89 seconds [Task Queue] Finish task, seq=8 Requested to load SDXLClipModel Requested to load GPT2LMHeadModel Loading 2 new models [Fooocus Model Management] Moving model(s) has taken 0.21 seconds [Predictor Predict] Finished with 1 images
Prediction
alexgenovese/custom-endpoint:ba1f4c577d6ee5baef895cb98770dfee0a4cfa778bcf20ad8a7077438b20ac9bIDzsrml4db5up7wj6vvvdyon6qwmStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- 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
- outpaint_selections
- 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
{ "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, "outpaint_selections": "", "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": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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, outpaint_selections: "", 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.
Install Replicate’s Python client library:pip install replicate
Import the client: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, "outpaint_selections": "", "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.
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, "outpaint_selections": "", "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.
Output
{ "completed_at": "2023-12-23T14:21:17.599318Z", "created_at": "2023-12-23T14:17:58.566621Z", "data_removed": false, "error": null, "id": "zsrml4db5up7wj6vvvdyon6qwm", "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, "outpaint_selections": "", "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': [], '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': [], '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=1\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 = 1620698384882328343\n[Parameters] Sampler = dpmpp_2m_sde_gpu - karras\n[Parameters] Steps = 60 - 30\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\nRefiner unloaded.\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 0.80 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, professional fantastic, extremely detailed, very elegant, highly color, intricate, epic composition, great complimentary colors, perfect sharp focus\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: Image Space (1024, 1024)\nPreparation time: 3.02 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 1.19 seconds\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:45, 1.29it/s]\n 3%|▎ | 2/60 [00:01<00:27, 2.12it/s]\n 5%|▌ | 3/60 [00:01<00:21, 2.66it/s]\n 7%|▋ | 4/60 [00:01<00:18, 3.02it/s]\n 8%|▊ | 5/60 [00:01<00:16, 3.27it/s]\n 10%|█ | 6/60 [00:02<00:15, 3.45it/s]\n 12%|█▏ | 7/60 [00:02<00:14, 3.56it/s]\n 13%|█▎ | 8/60 [00:02<00:14, 3.64it/s]\n 15%|█▌ | 9/60 [00:02<00:13, 3.69it/s]\n 17%|█▋ | 10/60 [00:03<00:13, 3.74it/s]\n 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s]\n 20%|██ | 12/60 [00:03<00:12, 3.78it/s]\n 22%|██▏ | 13/60 [00:03<00:12, 3.80it/s]\n 23%|██▎ | 14/60 [00:04<00:12, 3.81it/s]\n 25%|██▌ | 15/60 [00:04<00:11, 3.82it/s]\n 27%|██▋ | 16/60 [00:04<00:11, 3.82it/s]\n 28%|██▊ | 17/60 [00:04<00:11, 3.84it/s]\n 30%|███ | 18/60 [00:05<00:10, 3.84it/s]\n 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s]\n 33%|███▎ | 20/60 [00:05<00:10, 3.83it/s]\n 35%|███▌ | 21/60 [00:05<00:10, 3.84it/s]\n 37%|███▋ | 22/60 [00:06<00:09, 3.84it/s]\n 38%|███▊ | 23/60 [00:06<00:09, 3.84it/s]\n 40%|████ | 24/60 [00:06<00:09, 3.83it/s]\n 42%|████▏ | 25/60 [00:07<00:09, 3.83it/s]\n 43%|████▎ | 26/60 [00:07<00:08, 3.83it/s]\n 45%|████▌ | 27/60 [00:07<00:08, 3.81it/s]\n 47%|████▋ | 28/60 [00:07<00:08, 3.81it/s]\n 48%|████▊ | 29/60 [00:08<00:08, 3.82it/s]\n 50%|█████ | 30/60 [00:08<00:07, 3.82it/s]\n 52%|█████▏ | 31/60 [00:08<00:07, 3.82it/s]\n 53%|█████▎ | 32/60 [00:08<00:07, 3.84it/s]\n 55%|█████▌ | 33/60 [00:09<00:07, 3.84it/s]\n 57%|█████▋ | 34/60 [00:09<00:06, 3.82it/s]\n 58%|█████▊ | 35/60 [00:09<00:06, 3.83it/s]\n 60%|██████ | 36/60 [00:09<00:06, 3.83it/s]\n 62%|██████▏ | 37/60 [00:10<00:05, 3.83it/s]\n 63%|██████▎ | 38/60 [00:10<00:05, 3.84it/s]\n 65%|██████▌ | 39/60 [00:10<00:05, 3.83it/s]\n 67%|██████▋ | 40/60 [00:10<00:05, 3.83it/s]\n 68%|██████▊ | 41/60 [00:11<00:04, 3.83it/s]\n 70%|███████ | 42/60 [00:11<00:04, 3.83it/s]\n 72%|███████▏ | 43/60 [00:11<00:04, 3.83it/s]\n 73%|███████▎ | 44/60 [00:11<00:04, 3.83it/s]\n 75%|███████▌ | 45/60 [00:12<00:03, 3.83it/s]\n 77%|███████▋ | 46/60 [00:12<00:03, 3.82it/s]\n 78%|███████▊ | 47/60 [00:12<00:03, 3.82it/s]\n 80%|████████ | 48/60 [00:13<00:03, 3.82it/s]\n 82%|████████▏ | 49/60 [00:13<00:02, 3.83it/s]\n 83%|████████▎ | 50/60 [00:13<00:02, 3.82it/s]\n 85%|████████▌ | 51/60 [00:13<00:02, 3.82it/s]\n 87%|████████▋ | 52/60 [00:14<00:02, 3.82it/s]\n 88%|████████▊ | 53/60 [00:14<00:01, 3.82it/s]\n 90%|█████████ | 54/60 [00:14<00:01, 3.82it/s]\n 92%|█████████▏| 55/60 [00:14<00:01, 3.83it/s]\n 93%|█████████▎| 56/60 [00:15<00:01, 3.83it/s]\n 95%|█████████▌| 57/60 [00:15<00:00, 3.83it/s]\n 97%|█████████▋| 58/60 [00:15<00:00, 3.83it/s]\n 98%|█████████▊| 59/60 [00:15<00:00, 3.84it/s]\n100%|██████████| 60/60 [00:16<00:00, 3.85it/s]\n100%|██████████| 60/60 [00:16<00:00, 3.71it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 1.38 seconds\nImage generated with private log at: /src/repositories/Fooocus/outputs/2023-12-23/log.html\nGenerating and saving time: 19.38 seconds\n[Task Queue] Finish task, seq=1\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.45 seconds\n[Predictor Predict] Finished with 1 images", "metrics": { "predict_time": 24.432694, "total_time": 199.032697 }, "output": [ "https://replicate.delivery/pbxt/LJH2r2GWiRpeXqU1Crmo3W73d96efzPigAhZC5ntOYfytnUIB/def31524-605c-4288-8581-5daf56039e30.png" ], "started_at": "2023-12-23T14:20:53.166624Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/zsrml4db5up7wj6vvvdyon6qwm", "cancel": "https://api.replicate.com/v1/predictions/zsrml4db5up7wj6vvvdyon6qwm/cancel" }, "version": "ba1f4c577d6ee5baef895cb98770dfee0a4cfa778bcf20ad8a7077438b20ac9b" }
Generated in[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': [], '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': [], '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=1 [Parameters] Adaptive CFG = 7.0 [Parameters] Sharpness = 2.0 [Parameters] ADM Scale = 1.5 : 0.8 : 0.3 [Parameters] CFG = 4.0 [Parameters] Seed = 1620698384882328343 [Parameters] Sampler = dpmpp_2m_sde_gpu - karras [Parameters] Steps = 60 - 30 [Fooocus] Initializing ... [Fooocus] Loading models ... Refiner unloaded. 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 0.80 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, professional fantastic, extremely detailed, very elegant, highly color, intricate, epic composition, great complimentary colors, perfect sharp focus [Fooocus] Encoding positive #1 ... [Fooocus] Encoding negative #1 ... [Parameters] Denoising Strength = 1.0 [Parameters] Initial Latent shape: Image Space (1024, 1024) Preparation time: 3.02 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 1.19 seconds 0%| | 0/60 [00:00<?, ?it/s] 2%|▏ | 1/60 [00:00<00:45, 1.29it/s] 3%|▎ | 2/60 [00:01<00:27, 2.12it/s] 5%|▌ | 3/60 [00:01<00:21, 2.66it/s] 7%|▋ | 4/60 [00:01<00:18, 3.02it/s] 8%|▊ | 5/60 [00:01<00:16, 3.27it/s] 10%|█ | 6/60 [00:02<00:15, 3.45it/s] 12%|█▏ | 7/60 [00:02<00:14, 3.56it/s] 13%|█▎ | 8/60 [00:02<00:14, 3.64it/s] 15%|█▌ | 9/60 [00:02<00:13, 3.69it/s] 17%|█▋ | 10/60 [00:03<00:13, 3.74it/s] 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s] 20%|██ | 12/60 [00:03<00:12, 3.78it/s] 22%|██▏ | 13/60 [00:03<00:12, 3.80it/s] 23%|██▎ | 14/60 [00:04<00:12, 3.81it/s] 25%|██▌ | 15/60 [00:04<00:11, 3.82it/s] 27%|██▋ | 16/60 [00:04<00:11, 3.82it/s] 28%|██▊ | 17/60 [00:04<00:11, 3.84it/s] 30%|███ | 18/60 [00:05<00:10, 3.84it/s] 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s] 33%|███▎ | 20/60 [00:05<00:10, 3.83it/s] 35%|███▌ | 21/60 [00:05<00:10, 3.84it/s] 37%|███▋ | 22/60 [00:06<00:09, 3.84it/s] 38%|███▊ | 23/60 [00:06<00:09, 3.84it/s] 40%|████ | 24/60 [00:06<00:09, 3.83it/s] 42%|████▏ | 25/60 [00:07<00:09, 3.83it/s] 43%|████▎ | 26/60 [00:07<00:08, 3.83it/s] 45%|████▌ | 27/60 [00:07<00:08, 3.81it/s] 47%|████▋ | 28/60 [00:07<00:08, 3.81it/s] 48%|████▊ | 29/60 [00:08<00:08, 3.82it/s] 50%|█████ | 30/60 [00:08<00:07, 3.82it/s] 52%|█████▏ | 31/60 [00:08<00:07, 3.82it/s] 53%|█████▎ | 32/60 [00:08<00:07, 3.84it/s] 55%|█████▌ | 33/60 [00:09<00:07, 3.84it/s] 57%|█████▋ | 34/60 [00:09<00:06, 3.82it/s] 58%|█████▊ | 35/60 [00:09<00:06, 3.83it/s] 60%|██████ | 36/60 [00:09<00:06, 3.83it/s] 62%|██████▏ | 37/60 [00:10<00:05, 3.83it/s] 63%|██████▎ | 38/60 [00:10<00:05, 3.84it/s] 65%|██████▌ | 39/60 [00:10<00:05, 3.83it/s] 67%|██████▋ | 40/60 [00:10<00:05, 3.83it/s] 68%|██████▊ | 41/60 [00:11<00:04, 3.83it/s] 70%|███████ | 42/60 [00:11<00:04, 3.83it/s] 72%|███████▏ | 43/60 [00:11<00:04, 3.83it/s] 73%|███████▎ | 44/60 [00:11<00:04, 3.83it/s] 75%|███████▌ | 45/60 [00:12<00:03, 3.83it/s] 77%|███████▋ | 46/60 [00:12<00:03, 3.82it/s] 78%|███████▊ | 47/60 [00:12<00:03, 3.82it/s] 80%|████████ | 48/60 [00:13<00:03, 3.82it/s] 82%|████████▏ | 49/60 [00:13<00:02, 3.83it/s] 83%|████████▎ | 50/60 [00:13<00:02, 3.82it/s] 85%|████████▌ | 51/60 [00:13<00:02, 3.82it/s] 87%|████████▋ | 52/60 [00:14<00:02, 3.82it/s] 88%|████████▊ | 53/60 [00:14<00:01, 3.82it/s] 90%|█████████ | 54/60 [00:14<00:01, 3.82it/s] 92%|█████████▏| 55/60 [00:14<00:01, 3.83it/s] 93%|█████████▎| 56/60 [00:15<00:01, 3.83it/s] 95%|█████████▌| 57/60 [00:15<00:00, 3.83it/s] 97%|█████████▋| 58/60 [00:15<00:00, 3.83it/s] 98%|█████████▊| 59/60 [00:15<00:00, 3.84it/s] 100%|██████████| 60/60 [00:16<00:00, 3.85it/s] 100%|██████████| 60/60 [00:16<00:00, 3.71it/s] Requested to load AutoencoderKL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 1.38 seconds Image generated with private log at: /src/repositories/Fooocus/outputs/2023-12-23/log.html Generating and saving time: 19.38 seconds [Task Queue] Finish task, seq=1 Requested to load SDXLClipModel Requested to load GPT2LMHeadModel Loading 2 new models [Fooocus Model Management] Moving model(s) has taken 0.45 seconds [Predictor Predict] Finished with 1 images
Prediction
alexgenovese/custom-endpoint:ba1f4c577d6ee5baef895cb98770dfee0a4cfa778bcf20ad8a7077438b20ac9bID3oojzodbtgex5sros63he4uoxyStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- 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
- 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
{ "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": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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.
Install Replicate’s Python client library:pip install replicate
Import the client: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.
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.
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" }
Generated in[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
Prediction
alexgenovese/custom-endpoint:096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6ID4bsfoo3b4kwzgwi3yy3dvdwfyqStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- prompt
- a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))
- 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
- outpaint_selections
- performance_selection
- Quality
- aspect_ratios_selection
- 1152×896
{ "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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:096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6", { input: { prompt: "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", 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", outpaint_selections: "", performance_selection: "Quality", aspect_ratios_selection: "1152×896" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run 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:096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6", input={ "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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:096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6", "input": { "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-12-21T19:22:16.971503Z", "created_at": "2023-12-21T19:15:20.211153Z", "data_removed": false, "error": null, "id": "4bsfoo3b4kwzgwi3yy3dvdwfyq", "input": { "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" }, "logs": "[Predictor Predict] Params: {'prompt': 'a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))', 'negative_prompt': '(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers:1.4), (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, closed-eyes, ugly-eyes, lazy eyes, peopleneg, ziprealism_neg, ziprealism, BadDream, (UnrealisticDream:1.2), JuggernautNegative, JuggernautNegative-neg, nude, ring, rings', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152×896', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'realvisxlV20_v20Bakedvae.safetensors', 'refiner_model_name': 'realisticVisionV60B1_v60B1VAE.safetensors', 'refiner_switch': 0.5, 'loras': [['sdxl_lcm_lora.safetensors', 0.8], ['neg4all_xl_bdsqlsz_V5.safetensors', 1.0], ['DetailedEyes_V3.safetensors', 0.8], ['None', 1.0], ['None', 1.0]], 'uov_input_image': None, 'uov_method': 'Disabled', 'upscale_value': 1.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': None, 'image_prompts': [], 'advanced_params': [False, 1.5, 0.8, 0.3, 7.0, 'dpmpp_3m_sde_gpu', 'lcm', 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=1\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 = 4408221212573236677\n[Parameters] Sampler = dpmpp_3m_sde_gpu - lcm\n[Parameters] Steps = 60 - 30\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\n[Fooocus] Processing prompts ...\n[Fooocus] Preparing Fooocus text #1 ...\n[Prompt Expansion] a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view)), elegant, highly detailed, sharp focus, candid, intricate, very cool, glowing, stylish, draped, creative, ambient background, artistic\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: Image Space (896, 1152)\nPreparation time: 2.00 seconds\nUsing lcm scheduler.\n[Sampler] refiner_swap_method = vae\n[Sampler] sigma_min = 0.1258094757795334, sigma_max = 14.614640235900879\nRequested to load SDXL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 4.17 seconds\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:01<00:29, 1.00s/it]\n 7%|▋ | 2/30 [00:01<00:15, 1.79it/s]\n 10%|█ | 3/30 [00:01<00:11, 2.41it/s]\n 13%|█▎ | 4/30 [00:01<00:09, 2.88it/s]\n 17%|█▋ | 5/30 [00:01<00:07, 3.22it/s]\n 20%|██ | 6/30 [00:02<00:06, 3.48it/s]\n 23%|██▎ | 7/30 [00:02<00:06, 3.66it/s]\n 27%|██▋ | 8/30 [00:02<00:05, 3.77it/s]\n 30%|███ | 9/30 [00:02<00:05, 3.85it/s]\n 33%|███▎ | 10/30 [00:03<00:05, 3.90it/s]\n 37%|███▋ | 11/30 [00:03<00:04, 3.94it/s]\n 40%|████ | 12/30 [00:03<00:04, 3.97it/s]\n 43%|████▎ | 13/30 [00:03<00:04, 3.95it/s]\n 47%|████▋ | 14/30 [00:04<00:04, 3.99it/s]\n 50%|█████ | 15/30 [00:04<00:03, 4.01it/s]\n 53%|█████▎ | 16/30 [00:04<00:03, 4.02it/s]\n 57%|█████▋ | 17/30 [00:04<00:03, 4.00it/s]\n 60%|██████ | 18/30 [00:05<00:02, 4.00it/s]\n 63%|██████▎ | 19/30 [00:05<00:02, 4.01it/s]\n 67%|██████▋ | 20/30 [00:05<00:02, 4.01it/s]\n 70%|███████ | 21/30 [00:05<00:02, 3.98it/s]\n 73%|███████▎ | 22/30 [00:06<00:01, 4.00it/s]\n 77%|███████▋ | 23/30 [00:06<00:01, 4.01it/s]\n 80%|████████ | 24/30 [00:06<00:01, 4.03it/s]\n 83%|████████▎ | 25/30 [00:06<00:01, 4.01it/s]\n 87%|████████▋ | 26/30 [00:07<00:00, 4.01it/s]\n 90%|█████████ | 27/30 [00:07<00:00, 4.02it/s]\n 93%|█████████▎| 28/30 [00:07<00:00, 4.02it/s]\n 97%|█████████▋| 29/30 [00:07<00:00, 4.00it/s]\n100%|██████████| 30/30 [00:08<00:00, 4.03it/s]\n100%|██████████| 30/30 [00:08<00:00, 3.66it/s]\nFooocus VAE-based swap.\nRequested to load Interposer\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.20 seconds\nRequested to load BaseModel\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.74 seconds\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:07, 3.81it/s]\n 7%|▋ | 2/30 [00:00<00:07, 3.85it/s]\n 10%|█ | 3/30 [00:00<00:07, 3.83it/s]\n 13%|█▎ | 4/30 [00:01<00:06, 3.86it/s]\n 17%|█▋ | 5/30 [00:01<00:06, 3.87it/s]\n 20%|██ | 6/30 [00:01<00:06, 3.88it/s]\n 23%|██▎ | 7/30 [00:01<00:05, 3.88it/s]\n 27%|██▋ | 8/30 [00:02<00:05, 3.87it/s]\n 30%|███ | 9/30 [00:02<00:05, 3.87it/s]\n 33%|███▎ | 10/30 [00:02<00:05, 3.88it/s]\n 37%|███▋ | 11/30 [00:02<00:04, 3.87it/s]\n 40%|████ | 12/30 [00:03<00:04, 3.88it/s]\n 43%|████▎ | 13/30 [00:03<00:04, 3.88it/s]\n 47%|████▋ | 14/30 [00:03<00:04, 3.89it/s]\n 50%|█████ | 15/30 [00:03<00:03, 3.89it/s]\n 53%|█████▎ | 16/30 [00:04<00:03, 3.89it/s]\n 57%|█████▋ | 17/30 [00:04<00:03, 3.90it/s]\n 60%|██████ | 18/30 [00:04<00:03, 3.89it/s]\n 63%|██████▎ | 19/30 [00:04<00:02, 3.89it/s]\n 67%|██████▋ | 20/30 [00:05<00:02, 3.89it/s]\n 70%|███████ | 21/30 [00:05<00:02, 3.89it/s]\n 73%|███████▎ | 22/30 [00:05<00:02, 3.89it/s]\n 77%|███████▋ | 23/30 [00:05<00:01, 3.88it/s]\n 80%|████████ | 24/30 [00:06<00:01, 3.88it/s]\n 83%|████████▎ | 25/30 [00:06<00:01, 3.88it/s]\n 87%|████████▋ | 26/30 [00:06<00:01, 3.89it/s]\n 90%|█████████ | 27/30 [00:06<00:00, 3.86it/s]\n 93%|█████████▎| 28/30 [00:07<00:00, 3.87it/s]\n 97%|█████████▋| 29/30 [00:07<00:00, 3.88it/s]\n100%|██████████| 30/30 [00:07<00:00, 3.90it/s]\n100%|██████████| 30/30 [00:07<00:00, 3.88it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.81 seconds\nGenerating and saving time: 22.26 seconds\n[Task Queue] Finish task, seq=1\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.76 seconds\n[Predictor Predict] Finished with 1 images", "metrics": { "predict_time": 26.533518, "total_time": 416.76035 }, "output": [ "https://replicate.delivery/pbxt/Y9UnxTMiezUVJi0ebHzErssYsTG5IkdVFK1YfQYU1v3QTIJkA/a93771b1-f855-4262-9723-12cc97863eb7.png" ], "started_at": "2023-12-21T19:21:50.437985Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/4bsfoo3b4kwzgwi3yy3dvdwfyq", "cancel": "https://api.replicate.com/v1/predictions/4bsfoo3b4kwzgwi3yy3dvdwfyq/cancel" }, "version": "096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6" }
Generated in[Predictor Predict] Params: {'prompt': 'a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))', 'negative_prompt': '(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers:1.4), (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, closed-eyes, ugly-eyes, lazy eyes, peopleneg, ziprealism_neg, ziprealism, BadDream, (UnrealisticDream:1.2), JuggernautNegative, JuggernautNegative-neg, nude, ring, rings', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152×896', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'realvisxlV20_v20Bakedvae.safetensors', 'refiner_model_name': 'realisticVisionV60B1_v60B1VAE.safetensors', 'refiner_switch': 0.5, 'loras': [['sdxl_lcm_lora.safetensors', 0.8], ['neg4all_xl_bdsqlsz_V5.safetensors', 1.0], ['DetailedEyes_V3.safetensors', 0.8], ['None', 1.0], ['None', 1.0]], 'uov_input_image': None, 'uov_method': 'Disabled', 'upscale_value': 1.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': None, 'image_prompts': [], 'advanced_params': [False, 1.5, 0.8, 0.3, 7.0, 'dpmpp_3m_sde_gpu', 'lcm', 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=1 [Parameters] Adaptive CFG = 7.0 [Parameters] Sharpness = 2.0 [Parameters] ADM Scale = 1.5 : 0.8 : 0.3 [Parameters] CFG = 4.0 [Parameters] Seed = 4408221212573236677 [Parameters] Sampler = dpmpp_3m_sde_gpu - lcm [Parameters] Steps = 60 - 30 [Fooocus] Initializing ... [Fooocus] Loading models ... [Fooocus] Processing prompts ... [Fooocus] Preparing Fooocus text #1 ... [Prompt Expansion] a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view)), elegant, highly detailed, sharp focus, candid, intricate, very cool, glowing, stylish, draped, creative, ambient background, artistic [Fooocus] Encoding positive #1 ... [Fooocus] Encoding negative #1 ... [Parameters] Denoising Strength = 1.0 [Parameters] Initial Latent shape: Image Space (896, 1152) Preparation time: 2.00 seconds Using lcm scheduler. [Sampler] refiner_swap_method = vae [Sampler] sigma_min = 0.1258094757795334, sigma_max = 14.614640235900879 Requested to load SDXL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 4.17 seconds 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:01<00:29, 1.00s/it] 7%|▋ | 2/30 [00:01<00:15, 1.79it/s] 10%|█ | 3/30 [00:01<00:11, 2.41it/s] 13%|█▎ | 4/30 [00:01<00:09, 2.88it/s] 17%|█▋ | 5/30 [00:01<00:07, 3.22it/s] 20%|██ | 6/30 [00:02<00:06, 3.48it/s] 23%|██▎ | 7/30 [00:02<00:06, 3.66it/s] 27%|██▋ | 8/30 [00:02<00:05, 3.77it/s] 30%|███ | 9/30 [00:02<00:05, 3.85it/s] 33%|███▎ | 10/30 [00:03<00:05, 3.90it/s] 37%|███▋ | 11/30 [00:03<00:04, 3.94it/s] 40%|████ | 12/30 [00:03<00:04, 3.97it/s] 43%|████▎ | 13/30 [00:03<00:04, 3.95it/s] 47%|████▋ | 14/30 [00:04<00:04, 3.99it/s] 50%|█████ | 15/30 [00:04<00:03, 4.01it/s] 53%|█████▎ | 16/30 [00:04<00:03, 4.02it/s] 57%|█████▋ | 17/30 [00:04<00:03, 4.00it/s] 60%|██████ | 18/30 [00:05<00:02, 4.00it/s] 63%|██████▎ | 19/30 [00:05<00:02, 4.01it/s] 67%|██████▋ | 20/30 [00:05<00:02, 4.01it/s] 70%|███████ | 21/30 [00:05<00:02, 3.98it/s] 73%|███████▎ | 22/30 [00:06<00:01, 4.00it/s] 77%|███████▋ | 23/30 [00:06<00:01, 4.01it/s] 80%|████████ | 24/30 [00:06<00:01, 4.03it/s] 83%|████████▎ | 25/30 [00:06<00:01, 4.01it/s] 87%|████████▋ | 26/30 [00:07<00:00, 4.01it/s] 90%|█████████ | 27/30 [00:07<00:00, 4.02it/s] 93%|█████████▎| 28/30 [00:07<00:00, 4.02it/s] 97%|█████████▋| 29/30 [00:07<00:00, 4.00it/s] 100%|██████████| 30/30 [00:08<00:00, 4.03it/s] 100%|██████████| 30/30 [00:08<00:00, 3.66it/s] Fooocus VAE-based swap. Requested to load Interposer Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 0.20 seconds Requested to load BaseModel Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 0.74 seconds 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:07, 3.81it/s] 7%|▋ | 2/30 [00:00<00:07, 3.85it/s] 10%|█ | 3/30 [00:00<00:07, 3.83it/s] 13%|█▎ | 4/30 [00:01<00:06, 3.86it/s] 17%|█▋ | 5/30 [00:01<00:06, 3.87it/s] 20%|██ | 6/30 [00:01<00:06, 3.88it/s] 23%|██▎ | 7/30 [00:01<00:05, 3.88it/s] 27%|██▋ | 8/30 [00:02<00:05, 3.87it/s] 30%|███ | 9/30 [00:02<00:05, 3.87it/s] 33%|███▎ | 10/30 [00:02<00:05, 3.88it/s] 37%|███▋ | 11/30 [00:02<00:04, 3.87it/s] 40%|████ | 12/30 [00:03<00:04, 3.88it/s] 43%|████▎ | 13/30 [00:03<00:04, 3.88it/s] 47%|████▋ | 14/30 [00:03<00:04, 3.89it/s] 50%|█████ | 15/30 [00:03<00:03, 3.89it/s] 53%|█████▎ | 16/30 [00:04<00:03, 3.89it/s] 57%|█████▋ | 17/30 [00:04<00:03, 3.90it/s] 60%|██████ | 18/30 [00:04<00:03, 3.89it/s] 63%|██████▎ | 19/30 [00:04<00:02, 3.89it/s] 67%|██████▋ | 20/30 [00:05<00:02, 3.89it/s] 70%|███████ | 21/30 [00:05<00:02, 3.89it/s] 73%|███████▎ | 22/30 [00:05<00:02, 3.89it/s] 77%|███████▋ | 23/30 [00:05<00:01, 3.88it/s] 80%|████████ | 24/30 [00:06<00:01, 3.88it/s] 83%|████████▎ | 25/30 [00:06<00:01, 3.88it/s] 87%|████████▋ | 26/30 [00:06<00:01, 3.89it/s] 90%|█████████ | 27/30 [00:06<00:00, 3.86it/s] 93%|█████████▎| 28/30 [00:07<00:00, 3.87it/s] 97%|█████████▋| 29/30 [00:07<00:00, 3.88it/s] 100%|██████████| 30/30 [00:07<00:00, 3.90it/s] 100%|██████████| 30/30 [00:07<00:00, 3.88it/s] Requested to load AutoencoderKL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 0.81 seconds Generating and saving time: 22.26 seconds [Task Queue] Finish task, seq=1 Requested to load SDXLClipModel Requested to load GPT2LMHeadModel Loading 2 new models [Fooocus Model Management] Moving model(s) has taken 0.76 seconds [Predictor Predict] Finished with 1 images
Prediction
alexgenovese/custom-endpoint:096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6IDzvkkv63b5vufxjjwae22mqrkfuStatusSucceededSourceWebHardwareA100 (40GB)Total durationCreatedInput
- prompt
- a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))
- 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
- outpaint_selections
- performance_selection
- Quality
- aspect_ratios_selection
- 1152×896
{ "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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:096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6", { input: { prompt: "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", 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", outpaint_selections: "", performance_selection: "Quality", aspect_ratios_selection: "1152×896" } } ); // To access the file URL: console.log(output[0].url()); //=> "http://example.com" // To write the file to disk: fs.writeFile("my-image.png", output[0]);
To learn more, take a look at the guide on getting started with Node.js.
Install Replicate’s Python client library:pip install replicate
Import the client:import replicate
Run 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:096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6", input={ "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
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:096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6", "input": { "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
Output
{ "completed_at": "2023-12-21T19:09:43.084839Z", "created_at": "2023-12-21T19:09:26.125389Z", "data_removed": false, "error": null, "id": "zvkkv63b5vufxjjwae22mqrkfu", "input": { "prompt": "a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))", "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", "outpaint_selections": "", "performance_selection": "Quality", "aspect_ratios_selection": "1152×896" }, "logs": "[Predictor Predict] Params: {'prompt': 'a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))', 'negative_prompt': '(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers:1.4), (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, closed-eyes, ugly-eyes, lazy eyes, peopleneg, ziprealism_neg, ziprealism, BadDream, (UnrealisticDream:1.2), JuggernautNegative, JuggernautNegative-neg, nude, ring, rings', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152×896', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'realvisxlV20_v20Bakedvae.safetensors', 'refiner_model_name': 'realisticVisionV60B1_v60B1VAE.safetensors', 'refiner_switch': 0.5, 'loras': [['sdxl_lcm_lora.safetensors', 0.8], ['neg4all_xl_bdsqlsz_V5.safetensors', 1.0], ['DetailedEyes_V3.safetensors', 0.8], ['None', 1.0], ['None', 1.0]], 'uov_input_image': None, 'uov_method': 'Disabled', 'upscale_value': 1.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': None, 'image_prompts': [], 'advanced_params': [False, 1.5, 0.8, 0.3, 7.0, 'dpmpp_3m_sde_gpu', 'lcm', 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 = 310756089821004372\n[Parameters] Sampler = dpmpp_3m_sde_gpu - lcm\n[Parameters] Steps = 60 - 30\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\n[Fooocus] Processing prompts ...\n[Fooocus] Preparing Fooocus text #1 ...\n[Prompt Expansion] a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view)), elegant, sharp focus, warm illumination, deep royal complex, highly detailed, sincere colors, artistic, innocent, perfect pretty, fine detail\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: Image Space (896, 1152)\nPreparation time: 1.89 seconds\nUsing lcm scheduler.\n[Sampler] refiner_swap_method = vae\n[Sampler] sigma_min = 0.1258094757795334, sigma_max = 14.614640235900879\nRequested to load SDXL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 1.58 seconds\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:26, 1.10it/s]\n 7%|▋ | 2/30 [00:01<00:13, 2.15it/s]\n 10%|█ | 3/30 [00:01<00:08, 3.07it/s]\n 13%|█▎ | 4/30 [00:01<00:06, 3.86it/s]\n 17%|█▋ | 5/30 [00:01<00:05, 4.50it/s]\n 20%|██ | 6/30 [00:01<00:04, 4.99it/s]\n 23%|██▎ | 7/30 [00:01<00:04, 5.29it/s]\n 27%|██▋ | 8/30 [00:02<00:03, 5.57it/s]\n 30%|███ | 9/30 [00:02<00:03, 5.77it/s]\n 33%|███▎ | 10/30 [00:02<00:03, 5.91it/s]\n 37%|███▋ | 11/30 [00:02<00:03, 6.01it/s]\n 40%|████ | 12/30 [00:02<00:02, 6.08it/s]\n 43%|████▎ | 13/30 [00:02<00:02, 6.13it/s]\n 47%|████▋ | 14/30 [00:02<00:02, 6.17it/s]\n 50%|█████ | 15/30 [00:03<00:02, 6.20it/s]\n 53%|█████▎ | 16/30 [00:03<00:02, 6.22it/s]\n 57%|█████▋ | 17/30 [00:03<00:02, 6.23it/s]\n 60%|██████ | 18/30 [00:03<00:01, 6.23it/s]\n 63%|██████▎ | 19/30 [00:03<00:01, 6.25it/s]\n 67%|██████▋ | 20/30 [00:03<00:01, 6.28it/s]\n 70%|███████ | 21/30 [00:04<00:01, 6.29it/s]\n 73%|███████▎ | 22/30 [00:04<00:01, 6.29it/s]\n 77%|███████▋ | 23/30 [00:04<00:01, 6.30it/s]\n 80%|████████ | 24/30 [00:04<00:00, 6.31it/s]\n 83%|████████▎ | 25/30 [00:04<00:00, 6.32it/s]\n 87%|████████▋ | 26/30 [00:04<00:00, 6.32it/s]\n 90%|█████████ | 27/30 [00:05<00:00, 6.32it/s]\n 93%|█████████▎| 28/30 [00:05<00:00, 6.32it/s]\n 97%|█████████▋| 29/30 [00:05<00:00, 6.33it/s]\n100%|██████████| 30/30 [00:05<00:00, 6.40it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.44it/s]\nFooocus VAE-based swap.\nRequested to load Interposer\nLoading 1 new model\nRequested to load BaseModel\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.46 seconds\n 0%| | 0/30 [00:00<?, ?it/s]\n 3%|▎ | 1/30 [00:00<00:05, 5.64it/s]\n 7%|▋ | 2/30 [00:00<00:04, 5.75it/s]\n 10%|█ | 3/30 [00:00<00:04, 5.75it/s]\n 13%|█▎ | 4/30 [00:00<00:04, 5.77it/s]\n 17%|█▋ | 5/30 [00:00<00:04, 5.78it/s]\n 20%|██ | 6/30 [00:01<00:04, 5.78it/s]\n 23%|██▎ | 7/30 [00:01<00:03, 5.78it/s]\n 27%|██▋ | 8/30 [00:01<00:03, 5.73it/s]\n 30%|███ | 9/30 [00:01<00:03, 5.75it/s]\n 33%|███▎ | 10/30 [00:01<00:03, 5.76it/s]\n 37%|███▋ | 11/30 [00:01<00:03, 5.76it/s]\n 40%|████ | 12/30 [00:02<00:03, 5.78it/s]\n 43%|████▎ | 13/30 [00:02<00:02, 5.77it/s]\n 47%|████▋ | 14/30 [00:02<00:02, 5.79it/s]\n 50%|█████ | 15/30 [00:02<00:02, 5.79it/s]\n 53%|█████▎ | 16/30 [00:02<00:02, 5.78it/s]\n 57%|█████▋ | 17/30 [00:02<00:02, 5.79it/s]\n 60%|██████ | 18/30 [00:03<00:02, 5.79it/s]\n 63%|██████▎ | 19/30 [00:03<00:01, 5.80it/s]\n 67%|██████▋ | 20/30 [00:03<00:01, 5.79it/s]\n 70%|███████ | 21/30 [00:03<00:01, 5.78it/s]\n 73%|███████▎ | 22/30 [00:03<00:01, 5.79it/s]\n 77%|███████▋ | 23/30 [00:03<00:01, 5.78it/s]\n 80%|████████ | 24/30 [00:04<00:01, 5.79it/s]\n 83%|████████▎ | 25/30 [00:04<00:00, 5.79it/s]\n 87%|████████▋ | 26/30 [00:04<00:00, 5.80it/s]\n 90%|█████████ | 27/30 [00:04<00:00, 5.79it/s]\n 93%|█████████▎| 28/30 [00:04<00:00, 5.78it/s]\n 97%|█████████▋| 29/30 [00:05<00:00, 5.78it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.84it/s]\n100%|██████████| 30/30 [00:05<00:00, 5.78it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.71 seconds\nGenerating and saving time: 13.81 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.39 seconds\n[Predictor Predict] Finished with 1 images", "metrics": { "predict_time": 16.94271, "total_time": 16.95945 }, "output": [ "https://replicate.delivery/pbxt/C9e5R9k52cVHHiSecWs5RC53WLxnvgj9tTPlISrzoUZ29jESA/9ce75912-1dcc-4359-9025-f5c49249ec6b.png" ], "started_at": "2023-12-21T19:09:26.142129Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/zvkkv63b5vufxjjwae22mqrkfu", "cancel": "https://api.replicate.com/v1/predictions/zvkkv63b5vufxjjwae22mqrkfu/cancel" }, "version": "096552988e6443d6a624bd105536b98a10ffd142d509b32484f0383b41b7dbb6" }
Generated in[Predictor Predict] Params: {'prompt': 'a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view))', 'negative_prompt': '(deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers:1.4), (deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation, text, close up, cropped, out of frame, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, closed-eyes, ugly-eyes, lazy eyes, peopleneg, ziprealism_neg, ziprealism, BadDream, (UnrealisticDream:1.2), JuggernautNegative, JuggernautNegative-neg, nude, ring, rings', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '1152×896', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'realvisxlV20_v20Bakedvae.safetensors', 'refiner_model_name': 'realisticVisionV60B1_v60B1VAE.safetensors', 'refiner_switch': 0.5, 'loras': [['sdxl_lcm_lora.safetensors', 0.8], ['neg4all_xl_bdsqlsz_V5.safetensors', 1.0], ['DetailedEyes_V3.safetensors', 0.8], ['None', 1.0], ['None', 1.0]], 'uov_input_image': None, 'uov_method': 'Disabled', 'upscale_value': 1.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': None, 'image_prompts': [], 'advanced_params': [False, 1.5, 0.8, 0.3, 7.0, 'dpmpp_3m_sde_gpu', 'lcm', 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 = 310756089821004372 [Parameters] Sampler = dpmpp_3m_sde_gpu - lcm [Parameters] Steps = 60 - 30 [Fooocus] Initializing ... [Fooocus] Loading models ... [Fooocus] Processing prompts ... [Fooocus] Preparing Fooocus text #1 ... [Prompt Expansion] a full body realistic photo of beautiful woman 40 y.o, walking in Madison Square Garden, smile, blue eyes, short hair, dark makeup, hyperdetailed photography, soft light, ((full body)), ((3/4 view)), elegant, sharp focus, warm illumination, deep royal complex, highly detailed, sincere colors, artistic, innocent, perfect pretty, fine detail [Fooocus] Encoding positive #1 ... [Fooocus] Encoding negative #1 ... [Parameters] Denoising Strength = 1.0 [Parameters] Initial Latent shape: Image Space (896, 1152) Preparation time: 1.89 seconds Using lcm scheduler. [Sampler] refiner_swap_method = vae [Sampler] sigma_min = 0.1258094757795334, sigma_max = 14.614640235900879 Requested to load SDXL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 1.58 seconds 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:26, 1.10it/s] 7%|▋ | 2/30 [00:01<00:13, 2.15it/s] 10%|█ | 3/30 [00:01<00:08, 3.07it/s] 13%|█▎ | 4/30 [00:01<00:06, 3.86it/s] 17%|█▋ | 5/30 [00:01<00:05, 4.50it/s] 20%|██ | 6/30 [00:01<00:04, 4.99it/s] 23%|██▎ | 7/30 [00:01<00:04, 5.29it/s] 27%|██▋ | 8/30 [00:02<00:03, 5.57it/s] 30%|███ | 9/30 [00:02<00:03, 5.77it/s] 33%|███▎ | 10/30 [00:02<00:03, 5.91it/s] 37%|███▋ | 11/30 [00:02<00:03, 6.01it/s] 40%|████ | 12/30 [00:02<00:02, 6.08it/s] 43%|████▎ | 13/30 [00:02<00:02, 6.13it/s] 47%|████▋ | 14/30 [00:02<00:02, 6.17it/s] 50%|█████ | 15/30 [00:03<00:02, 6.20it/s] 53%|█████▎ | 16/30 [00:03<00:02, 6.22it/s] 57%|█████▋ | 17/30 [00:03<00:02, 6.23it/s] 60%|██████ | 18/30 [00:03<00:01, 6.23it/s] 63%|██████▎ | 19/30 [00:03<00:01, 6.25it/s] 67%|██████▋ | 20/30 [00:03<00:01, 6.28it/s] 70%|███████ | 21/30 [00:04<00:01, 6.29it/s] 73%|███████▎ | 22/30 [00:04<00:01, 6.29it/s] 77%|███████▋ | 23/30 [00:04<00:01, 6.30it/s] 80%|████████ | 24/30 [00:04<00:00, 6.31it/s] 83%|████████▎ | 25/30 [00:04<00:00, 6.32it/s] 87%|████████▋ | 26/30 [00:04<00:00, 6.32it/s] 90%|█████████ | 27/30 [00:05<00:00, 6.32it/s] 93%|█████████▎| 28/30 [00:05<00:00, 6.32it/s] 97%|█████████▋| 29/30 [00:05<00:00, 6.33it/s] 100%|██████████| 30/30 [00:05<00:00, 6.40it/s] 100%|██████████| 30/30 [00:05<00:00, 5.44it/s] Fooocus VAE-based swap. Requested to load Interposer Loading 1 new model Requested to load BaseModel Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 0.46 seconds 0%| | 0/30 [00:00<?, ?it/s] 3%|▎ | 1/30 [00:00<00:05, 5.64it/s] 7%|▋ | 2/30 [00:00<00:04, 5.75it/s] 10%|█ | 3/30 [00:00<00:04, 5.75it/s] 13%|█▎ | 4/30 [00:00<00:04, 5.77it/s] 17%|█▋ | 5/30 [00:00<00:04, 5.78it/s] 20%|██ | 6/30 [00:01<00:04, 5.78it/s] 23%|██▎ | 7/30 [00:01<00:03, 5.78it/s] 27%|██▋ | 8/30 [00:01<00:03, 5.73it/s] 30%|███ | 9/30 [00:01<00:03, 5.75it/s] 33%|███▎ | 10/30 [00:01<00:03, 5.76it/s] 37%|███▋ | 11/30 [00:01<00:03, 5.76it/s] 40%|████ | 12/30 [00:02<00:03, 5.78it/s] 43%|████▎ | 13/30 [00:02<00:02, 5.77it/s] 47%|████▋ | 14/30 [00:02<00:02, 5.79it/s] 50%|█████ | 15/30 [00:02<00:02, 5.79it/s] 53%|█████▎ | 16/30 [00:02<00:02, 5.78it/s] 57%|█████▋ | 17/30 [00:02<00:02, 5.79it/s] 60%|██████ | 18/30 [00:03<00:02, 5.79it/s] 63%|██████▎ | 19/30 [00:03<00:01, 5.80it/s] 67%|██████▋ | 20/30 [00:03<00:01, 5.79it/s] 70%|███████ | 21/30 [00:03<00:01, 5.78it/s] 73%|███████▎ | 22/30 [00:03<00:01, 5.79it/s] 77%|███████▋ | 23/30 [00:03<00:01, 5.78it/s] 80%|████████ | 24/30 [00:04<00:01, 5.79it/s] 83%|████████▎ | 25/30 [00:04<00:00, 5.79it/s] 87%|████████▋ | 26/30 [00:04<00:00, 5.80it/s] 90%|█████████ | 27/30 [00:04<00:00, 5.79it/s] 93%|█████████▎| 28/30 [00:04<00:00, 5.78it/s] 97%|█████████▋| 29/30 [00:05<00:00, 5.78it/s] 100%|██████████| 30/30 [00:05<00:00, 5.84it/s] 100%|██████████| 30/30 [00:05<00:00, 5.78it/s] Requested to load AutoencoderKL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 0.71 seconds Generating and saving time: 13.81 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.39 seconds [Predictor Predict] Finished with 1 images
Prediction
alexgenovese/custom-endpoint:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4cIDka7yli3bl66fyhylrzkadjnzkyStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- prompt
- Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth
- cn_type1
- ImagePrompt
- cn_type2
- ImagePrompt
- cn_type3
- ImagePrompt
- cn_type4
- ImagePrompt
- sharpness
- 2
- image_seed
- -1
- uov_method
- Disabled
- lora_prompt
- a photo of <YOUR_TOKEN> object
- 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
- outpaint_selections
- outpaint_distance_top
- 0
- performance_selection
- Quality
- outpaint_distance_left
- 0
- aspect_ratios_selection
- 768*1344
- outpaint_distance_right
- 0
- outpaint_distance_bottom
- 0
- inpaint_additional_prompt
{ "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "outpaint_distance_right": 0, "outpaint_distance_bottom": 0, "inpaint_additional_prompt": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", { input: { prompt: "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", cn_type1: "ImagePrompt", cn_type2: "ImagePrompt", cn_type3: "ImagePrompt", cn_type4: "ImagePrompt", sharpness: 2, image_seed: -1, uov_method: "Disabled", lora_prompt: "a photo of <YOUR_TOKEN> object", 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, outpaint_selections: "", outpaint_distance_top: 0, performance_selection: "Quality", outpaint_distance_left: 0, aspect_ratios_selection: "768*1344", 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.
Install Replicate’s Python client library:pip install replicate
Import the client: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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", input={ "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "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.
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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", "input": { "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "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.
Output
{ "completed_at": "2024-01-18T09:00:30.574319Z", "created_at": "2024-01-18T08:56:09.237990Z", "data_removed": false, "error": null, "id": "ka7yli3bl66fyhylrzkadjnzky", "input": { "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "outpaint_distance_right": 0, "outpaint_distance_bottom": 0, "inpaint_additional_prompt": "" }, "logs": "Loading input LORAS-------------\n[Predictor Predict] Params: {'prompt': 'Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '768*1344', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'reica_08_base.safetensors', 'refiner_model_name': 'reica_08_refiner.safetensors', 'refiner_switch': 0.5, 'loras': [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', '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': [], 'advanced_params': [False, 1.5, 1.5, 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', True, 1.01, 1.02, 0.99, 0.95, False, False, 'v2.6', 1.0, 0.618]}\n[Task Queue] Task queue is free, start task, seq=1\n[Parameters] Adaptive CFG = 7.0\n[Parameters] Sharpness = 2.0\n[Parameters] ADM Scale = 1.5 : 1.5 : 0.3\n[Parameters] CFG = 4.0\n[Parameters] Seed = 3452123159767886126\n[Parameters] Sampler = dpmpp_2m_sde_gpu - karras\n[Parameters] Steps = 60 - 30\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\nRequest to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 788 keys at weight 1.0.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 648 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 722 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for CLIP [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 264 keys at weight 0.8.\nRequest to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 788 keys at weight 1.0.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 648 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 722 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 0.97 seconds\n[Fooocus] Processing prompts ...\n[Fooocus] Preparing Fooocus text #1 ...\n[Prompt Expansion] Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth, dramatic color, rich colors, intricate, elegant, highly contrasted, sharp focus, vibrant scenic, artistic\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\nFreeU is enabled!\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: Image Space (1344, 768)\nPreparation time: 8.75 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 3.56 seconds\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:49, 1.20it/s]\n 3%|▎ | 2/60 [00:01<00:28, 2.02it/s]\n 5%|▌ | 3/60 [00:01<00:21, 2.59it/s]\n 7%|▋ | 4/60 [00:01<00:18, 2.98it/s]\n 8%|▊ | 5/60 [00:01<00:16, 3.26it/s]\n 10%|█ | 6/60 [00:02<00:15, 3.45it/s]\n 12%|█▏ | 7/60 [00:02<00:14, 3.58it/s]\n 13%|█▎ | 8/60 [00:02<00:14, 3.67it/s]\n 15%|█▌ | 9/60 [00:02<00:13, 3.73it/s]\n 17%|█▋ | 10/60 [00:03<00:13, 3.78it/s]\n 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s]\n 20%|██ | 12/60 [00:03<00:12, 3.80it/s]\n 22%|██▏ | 13/60 [00:03<00:12, 3.82it/s]\n 23%|██▎ | 14/60 [00:04<00:12, 3.83it/s]\n 25%|██▌ | 15/60 [00:04<00:11, 3.84it/s]\n 27%|██▋ | 16/60 [00:04<00:11, 3.84it/s]\n 28%|██▊ | 17/60 [00:04<00:11, 3.85it/s]\n 30%|███ | 18/60 [00:05<00:10, 3.85it/s]\n 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s]\n 33%|███▎ | 20/60 [00:05<00:10, 3.84it/s]\n 35%|███▌ | 21/60 [00:06<00:10, 3.85it/s]\n 37%|███▋ | 22/60 [00:06<00:09, 3.85it/s]\n 38%|███▊ | 23/60 [00:06<00:09, 3.85it/s]\n 40%|████ | 24/60 [00:06<00:09, 3.79it/s]\n 42%|████▏ | 25/60 [00:07<00:09, 3.80it/s]\n 43%|████▎ | 26/60 [00:07<00:08, 3.81it/s]\n 45%|████▌ | 27/60 [00:07<00:08, 3.82it/s]\n 47%|████▋ | 28/60 [00:07<00:08, 3.82it/s]\n 48%|████▊ | 29/60 [00:08<00:08, 3.83it/s]\nRequested to load SDXL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 3.72 seconds\nRefiner Swapped\n 50%|█████ | 30/60 [00:08<00:07, 3.83it/s]\n 52%|█████▏ | 31/60 [00:12<00:39, 1.38s/it]\n 53%|█████▎ | 32/60 [00:12<00:29, 1.04s/it]\n 55%|█████▌ | 33/60 [00:12<00:21, 1.24it/s]\n 57%|█████▋ | 34/60 [00:13<00:16, 1.57it/s]\n 58%|█████▊ | 35/60 [00:13<00:13, 1.92it/s]\n 60%|██████ | 36/60 [00:13<00:10, 2.27it/s]\n 62%|██████▏ | 37/60 [00:13<00:08, 2.61it/s]\n 63%|██████▎ | 38/60 [00:14<00:07, 2.91it/s]\n 65%|██████▌ | 39/60 [00:14<00:06, 3.16it/s]\n 67%|██████▋ | 40/60 [00:14<00:05, 3.37it/s]\n 68%|██████▊ | 41/60 [00:14<00:05, 3.53it/s]\n 70%|███████ | 42/60 [00:15<00:04, 3.65it/s]\n 72%|███████▏ | 43/60 [00:15<00:04, 3.74it/s]\n 73%|███████▎ | 44/60 [00:15<00:04, 3.81it/s]\n 75%|███████▌ | 45/60 [00:15<00:03, 3.85it/s]\n 77%|███████▋ | 46/60 [00:16<00:03, 3.88it/s]\n 78%|███████▊ | 47/60 [00:16<00:03, 3.90it/s]\n 80%|████████ | 48/60 [00:16<00:03, 3.92it/s]\n 82%|████████▏ | 49/60 [00:16<00:02, 3.93it/s]\n 83%|████████▎ | 50/60 [00:17<00:02, 3.94it/s]\n 85%|████████▌ | 51/60 [00:17<00:02, 3.94it/s]\n 87%|████████▋ | 52/60 [00:17<00:02, 3.94it/s]\n 88%|████████▊ | 53/60 [00:17<00:01, 3.95it/s]\n 90%|█████████ | 54/60 [00:18<00:01, 3.95it/s]\n 92%|█████████▏| 55/60 [00:18<00:01, 3.95it/s]\n 93%|█████████▎| 56/60 [00:18<00:01, 3.95it/s]\n 95%|█████████▌| 57/60 [00:18<00:00, 3.95it/s]\n 97%|█████████▋| 58/60 [00:19<00:00, 3.95it/s]\n 98%|█████████▊| 59/60 [00:19<00:00, 3.96it/s]\n100%|██████████| 60/60 [00:19<00:00, 3.97it/s]\n100%|██████████| 60/60 [00:19<00:00, 3.05it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.19 seconds\nImage generated with private log at: /src/repositories/Fooocus/outputs/2024-01-18/log.html\nGenerating and saving time: 24.10 seconds\n[Task Queue] Finish task, seq=1\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.66 seconds\n[Predictor Predict] Finished with 1 images", "metrics": { "predict_time": 35.07412, "total_time": 261.336329 }, "output": [ "https://replicate.delivery/pbxt/U8srKW2EdPpkGVmSgx3kteR5N4QVGME6pgQePSJAwHKtqpNSA/30866319-2910-4782-8ddf-15c5133c4587.png" ], "started_at": "2024-01-18T08:59:55.500199Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ka7yli3bl66fyhylrzkadjnzky", "cancel": "https://api.replicate.com/v1/predictions/ka7yli3bl66fyhylrzkadjnzky/cancel" }, "version": "92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c" }
Generated inLoading input LORAS------------- [Predictor Predict] Params: {'prompt': 'Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '768*1344', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'reica_08_base.safetensors', 'refiner_model_name': 'reica_08_refiner.safetensors', 'refiner_switch': 0.5, 'loras': [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', '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': [], 'advanced_params': [False, 1.5, 1.5, 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', True, 1.01, 1.02, 0.99, 0.95, False, False, 'v2.6', 1.0, 0.618]} [Task Queue] Task queue is free, start task, seq=1 [Parameters] Adaptive CFG = 7.0 [Parameters] Sharpness = 2.0 [Parameters] ADM Scale = 1.5 : 1.5 : 0.3 [Parameters] CFG = 4.0 [Parameters] Seed = 3452123159767886126 [Parameters] Sampler = dpmpp_2m_sde_gpu - karras [Parameters] Steps = 60 - 30 [Fooocus] Initializing ... [Fooocus] Loading models ... Request to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors]. Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 788 keys at weight 1.0. Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 648 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 722 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for CLIP [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 264 keys at weight 0.8. Request to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors]. Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 788 keys at weight 1.0. Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 648 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 722 keys at weight 0.8. Requested to load SDXLClipModel Loading 1 new model unload clone 1 [Fooocus Model Management] Moving model(s) has taken 0.97 seconds [Fooocus] Processing prompts ... [Fooocus] Preparing Fooocus text #1 ... [Prompt Expansion] Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth, dramatic color, rich colors, intricate, elegant, highly contrasted, sharp focus, vibrant scenic, artistic [Fooocus] Encoding positive #1 ... [Fooocus] Encoding negative #1 ... FreeU is enabled! [Parameters] Denoising Strength = 1.0 [Parameters] Initial Latent shape: Image Space (1344, 768) Preparation time: 8.75 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 3.56 seconds 0%| | 0/60 [00:00<?, ?it/s] 2%|▏ | 1/60 [00:00<00:49, 1.20it/s] 3%|▎ | 2/60 [00:01<00:28, 2.02it/s] 5%|▌ | 3/60 [00:01<00:21, 2.59it/s] 7%|▋ | 4/60 [00:01<00:18, 2.98it/s] 8%|▊ | 5/60 [00:01<00:16, 3.26it/s] 10%|█ | 6/60 [00:02<00:15, 3.45it/s] 12%|█▏ | 7/60 [00:02<00:14, 3.58it/s] 13%|█▎ | 8/60 [00:02<00:14, 3.67it/s] 15%|█▌ | 9/60 [00:02<00:13, 3.73it/s] 17%|█▋ | 10/60 [00:03<00:13, 3.78it/s] 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s] 20%|██ | 12/60 [00:03<00:12, 3.80it/s] 22%|██▏ | 13/60 [00:03<00:12, 3.82it/s] 23%|██▎ | 14/60 [00:04<00:12, 3.83it/s] 25%|██▌ | 15/60 [00:04<00:11, 3.84it/s] 27%|██▋ | 16/60 [00:04<00:11, 3.84it/s] 28%|██▊ | 17/60 [00:04<00:11, 3.85it/s] 30%|███ | 18/60 [00:05<00:10, 3.85it/s] 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s] 33%|███▎ | 20/60 [00:05<00:10, 3.84it/s] 35%|███▌ | 21/60 [00:06<00:10, 3.85it/s] 37%|███▋ | 22/60 [00:06<00:09, 3.85it/s] 38%|███▊ | 23/60 [00:06<00:09, 3.85it/s] 40%|████ | 24/60 [00:06<00:09, 3.79it/s] 42%|████▏ | 25/60 [00:07<00:09, 3.80it/s] 43%|████▎ | 26/60 [00:07<00:08, 3.81it/s] 45%|████▌ | 27/60 [00:07<00:08, 3.82it/s] 47%|████▋ | 28/60 [00:07<00:08, 3.82it/s] 48%|████▊ | 29/60 [00:08<00:08, 3.83it/s] Requested to load SDXL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 3.72 seconds Refiner Swapped 50%|█████ | 30/60 [00:08<00:07, 3.83it/s] 52%|█████▏ | 31/60 [00:12<00:39, 1.38s/it] 53%|█████▎ | 32/60 [00:12<00:29, 1.04s/it] 55%|█████▌ | 33/60 [00:12<00:21, 1.24it/s] 57%|█████▋ | 34/60 [00:13<00:16, 1.57it/s] 58%|█████▊ | 35/60 [00:13<00:13, 1.92it/s] 60%|██████ | 36/60 [00:13<00:10, 2.27it/s] 62%|██████▏ | 37/60 [00:13<00:08, 2.61it/s] 63%|██████▎ | 38/60 [00:14<00:07, 2.91it/s] 65%|██████▌ | 39/60 [00:14<00:06, 3.16it/s] 67%|██████▋ | 40/60 [00:14<00:05, 3.37it/s] 68%|██████▊ | 41/60 [00:14<00:05, 3.53it/s] 70%|███████ | 42/60 [00:15<00:04, 3.65it/s] 72%|███████▏ | 43/60 [00:15<00:04, 3.74it/s] 73%|███████▎ | 44/60 [00:15<00:04, 3.81it/s] 75%|███████▌ | 45/60 [00:15<00:03, 3.85it/s] 77%|███████▋ | 46/60 [00:16<00:03, 3.88it/s] 78%|███████▊ | 47/60 [00:16<00:03, 3.90it/s] 80%|████████ | 48/60 [00:16<00:03, 3.92it/s] 82%|████████▏ | 49/60 [00:16<00:02, 3.93it/s] 83%|████████▎ | 50/60 [00:17<00:02, 3.94it/s] 85%|████████▌ | 51/60 [00:17<00:02, 3.94it/s] 87%|████████▋ | 52/60 [00:17<00:02, 3.94it/s] 88%|████████▊ | 53/60 [00:17<00:01, 3.95it/s] 90%|█████████ | 54/60 [00:18<00:01, 3.95it/s] 92%|█████████▏| 55/60 [00:18<00:01, 3.95it/s] 93%|█████████▎| 56/60 [00:18<00:01, 3.95it/s] 95%|█████████▌| 57/60 [00:18<00:00, 3.95it/s] 97%|█████████▋| 58/60 [00:19<00:00, 3.95it/s] 98%|█████████▊| 59/60 [00:19<00:00, 3.96it/s] 100%|██████████| 60/60 [00:19<00:00, 3.97it/s] 100%|██████████| 60/60 [00:19<00:00, 3.05it/s] Requested to load AutoencoderKL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 0.19 seconds Image generated with private log at: /src/repositories/Fooocus/outputs/2024-01-18/log.html Generating and saving time: 24.10 seconds [Task Queue] Finish task, seq=1 Requested to load SDXLClipModel Requested to load GPT2LMHeadModel Loading 2 new models [Fooocus Model Management] Moving model(s) has taken 0.66 seconds [Predictor Predict] Finished with 1 images
Prediction
alexgenovese/custom-endpoint:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4cIDka7yli3bl66fyhylrzkadjnzkyStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- prompt
- Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth
- cn_type1
- ImagePrompt
- cn_type2
- ImagePrompt
- cn_type3
- ImagePrompt
- cn_type4
- ImagePrompt
- sharpness
- 2
- image_seed
- -1
- uov_method
- Disabled
- lora_prompt
- a photo of <YOUR_TOKEN> object
- 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
- outpaint_selections
- outpaint_distance_top
- 0
- performance_selection
- Quality
- outpaint_distance_left
- 0
- aspect_ratios_selection
- 768*1344
- outpaint_distance_right
- 0
- outpaint_distance_bottom
- 0
- inpaint_additional_prompt
{ "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "outpaint_distance_right": 0, "outpaint_distance_bottom": 0, "inpaint_additional_prompt": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", { input: { prompt: "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", cn_type1: "ImagePrompt", cn_type2: "ImagePrompt", cn_type3: "ImagePrompt", cn_type4: "ImagePrompt", sharpness: 2, image_seed: -1, uov_method: "Disabled", lora_prompt: "a photo of <YOUR_TOKEN> object", 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, outpaint_selections: "", outpaint_distance_top: 0, performance_selection: "Quality", outpaint_distance_left: 0, aspect_ratios_selection: "768*1344", 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.
Install Replicate’s Python client library:pip install replicate
Import the client: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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", input={ "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "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.
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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", "input": { "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "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.
Output
{ "completed_at": "2024-01-18T09:00:30.574319Z", "created_at": "2024-01-18T08:56:09.237990Z", "data_removed": false, "error": null, "id": "ka7yli3bl66fyhylrzkadjnzky", "input": { "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "outpaint_distance_right": 0, "outpaint_distance_bottom": 0, "inpaint_additional_prompt": "" }, "logs": "Loading input LORAS-------------\n[Predictor Predict] Params: {'prompt': 'Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '768*1344', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'reica_08_base.safetensors', 'refiner_model_name': 'reica_08_refiner.safetensors', 'refiner_switch': 0.5, 'loras': [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', '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': [], 'advanced_params': [False, 1.5, 1.5, 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', True, 1.01, 1.02, 0.99, 0.95, False, False, 'v2.6', 1.0, 0.618]}\n[Task Queue] Task queue is free, start task, seq=1\n[Parameters] Adaptive CFG = 7.0\n[Parameters] Sharpness = 2.0\n[Parameters] ADM Scale = 1.5 : 1.5 : 0.3\n[Parameters] CFG = 4.0\n[Parameters] Seed = 3452123159767886126\n[Parameters] Sampler = dpmpp_2m_sde_gpu - karras\n[Parameters] Steps = 60 - 30\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\nRequest to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 788 keys at weight 1.0.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 648 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 722 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for CLIP [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 264 keys at weight 0.8.\nRequest to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 788 keys at weight 1.0.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 648 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 722 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 0.97 seconds\n[Fooocus] Processing prompts ...\n[Fooocus] Preparing Fooocus text #1 ...\n[Prompt Expansion] Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth, dramatic color, rich colors, intricate, elegant, highly contrasted, sharp focus, vibrant scenic, artistic\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\nFreeU is enabled!\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: Image Space (1344, 768)\nPreparation time: 8.75 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 3.56 seconds\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:49, 1.20it/s]\n 3%|▎ | 2/60 [00:01<00:28, 2.02it/s]\n 5%|▌ | 3/60 [00:01<00:21, 2.59it/s]\n 7%|▋ | 4/60 [00:01<00:18, 2.98it/s]\n 8%|▊ | 5/60 [00:01<00:16, 3.26it/s]\n 10%|█ | 6/60 [00:02<00:15, 3.45it/s]\n 12%|█▏ | 7/60 [00:02<00:14, 3.58it/s]\n 13%|█▎ | 8/60 [00:02<00:14, 3.67it/s]\n 15%|█▌ | 9/60 [00:02<00:13, 3.73it/s]\n 17%|█▋ | 10/60 [00:03<00:13, 3.78it/s]\n 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s]\n 20%|██ | 12/60 [00:03<00:12, 3.80it/s]\n 22%|██▏ | 13/60 [00:03<00:12, 3.82it/s]\n 23%|██▎ | 14/60 [00:04<00:12, 3.83it/s]\n 25%|██▌ | 15/60 [00:04<00:11, 3.84it/s]\n 27%|██▋ | 16/60 [00:04<00:11, 3.84it/s]\n 28%|██▊ | 17/60 [00:04<00:11, 3.85it/s]\n 30%|███ | 18/60 [00:05<00:10, 3.85it/s]\n 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s]\n 33%|███▎ | 20/60 [00:05<00:10, 3.84it/s]\n 35%|███▌ | 21/60 [00:06<00:10, 3.85it/s]\n 37%|███▋ | 22/60 [00:06<00:09, 3.85it/s]\n 38%|███▊ | 23/60 [00:06<00:09, 3.85it/s]\n 40%|████ | 24/60 [00:06<00:09, 3.79it/s]\n 42%|████▏ | 25/60 [00:07<00:09, 3.80it/s]\n 43%|████▎ | 26/60 [00:07<00:08, 3.81it/s]\n 45%|████▌ | 27/60 [00:07<00:08, 3.82it/s]\n 47%|████▋ | 28/60 [00:07<00:08, 3.82it/s]\n 48%|████▊ | 29/60 [00:08<00:08, 3.83it/s]\nRequested to load SDXL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 3.72 seconds\nRefiner Swapped\n 50%|█████ | 30/60 [00:08<00:07, 3.83it/s]\n 52%|█████▏ | 31/60 [00:12<00:39, 1.38s/it]\n 53%|█████▎ | 32/60 [00:12<00:29, 1.04s/it]\n 55%|█████▌ | 33/60 [00:12<00:21, 1.24it/s]\n 57%|█████▋ | 34/60 [00:13<00:16, 1.57it/s]\n 58%|█████▊ | 35/60 [00:13<00:13, 1.92it/s]\n 60%|██████ | 36/60 [00:13<00:10, 2.27it/s]\n 62%|██████▏ | 37/60 [00:13<00:08, 2.61it/s]\n 63%|██████▎ | 38/60 [00:14<00:07, 2.91it/s]\n 65%|██████▌ | 39/60 [00:14<00:06, 3.16it/s]\n 67%|██████▋ | 40/60 [00:14<00:05, 3.37it/s]\n 68%|██████▊ | 41/60 [00:14<00:05, 3.53it/s]\n 70%|███████ | 42/60 [00:15<00:04, 3.65it/s]\n 72%|███████▏ | 43/60 [00:15<00:04, 3.74it/s]\n 73%|███████▎ | 44/60 [00:15<00:04, 3.81it/s]\n 75%|███████▌ | 45/60 [00:15<00:03, 3.85it/s]\n 77%|███████▋ | 46/60 [00:16<00:03, 3.88it/s]\n 78%|███████▊ | 47/60 [00:16<00:03, 3.90it/s]\n 80%|████████ | 48/60 [00:16<00:03, 3.92it/s]\n 82%|████████▏ | 49/60 [00:16<00:02, 3.93it/s]\n 83%|████████▎ | 50/60 [00:17<00:02, 3.94it/s]\n 85%|████████▌ | 51/60 [00:17<00:02, 3.94it/s]\n 87%|████████▋ | 52/60 [00:17<00:02, 3.94it/s]\n 88%|████████▊ | 53/60 [00:17<00:01, 3.95it/s]\n 90%|█████████ | 54/60 [00:18<00:01, 3.95it/s]\n 92%|█████████▏| 55/60 [00:18<00:01, 3.95it/s]\n 93%|█████████▎| 56/60 [00:18<00:01, 3.95it/s]\n 95%|█████████▌| 57/60 [00:18<00:00, 3.95it/s]\n 97%|█████████▋| 58/60 [00:19<00:00, 3.95it/s]\n 98%|█████████▊| 59/60 [00:19<00:00, 3.96it/s]\n100%|██████████| 60/60 [00:19<00:00, 3.97it/s]\n100%|██████████| 60/60 [00:19<00:00, 3.05it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.19 seconds\nImage generated with private log at: /src/repositories/Fooocus/outputs/2024-01-18/log.html\nGenerating and saving time: 24.10 seconds\n[Task Queue] Finish task, seq=1\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.66 seconds\n[Predictor Predict] Finished with 1 images", "metrics": { "predict_time": 35.07412, "total_time": 261.336329 }, "output": [ "https://replicate.delivery/pbxt/U8srKW2EdPpkGVmSgx3kteR5N4QVGME6pgQePSJAwHKtqpNSA/30866319-2910-4782-8ddf-15c5133c4587.png" ], "started_at": "2024-01-18T08:59:55.500199Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ka7yli3bl66fyhylrzkadjnzky", "cancel": "https://api.replicate.com/v1/predictions/ka7yli3bl66fyhylrzkadjnzky/cancel" }, "version": "92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c" }
Generated inLoading input LORAS------------- [Predictor Predict] Params: {'prompt': 'Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '768*1344', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'reica_08_base.safetensors', 'refiner_model_name': 'reica_08_refiner.safetensors', 'refiner_switch': 0.5, 'loras': [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', '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': [], 'advanced_params': [False, 1.5, 1.5, 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', True, 1.01, 1.02, 0.99, 0.95, False, False, 'v2.6', 1.0, 0.618]} [Task Queue] Task queue is free, start task, seq=1 [Parameters] Adaptive CFG = 7.0 [Parameters] Sharpness = 2.0 [Parameters] ADM Scale = 1.5 : 1.5 : 0.3 [Parameters] CFG = 4.0 [Parameters] Seed = 3452123159767886126 [Parameters] Sampler = dpmpp_2m_sde_gpu - karras [Parameters] Steps = 60 - 30 [Fooocus] Initializing ... [Fooocus] Loading models ... Request to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors]. Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 788 keys at weight 1.0. Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 648 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 722 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for CLIP [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 264 keys at weight 0.8. Request to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors]. Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 788 keys at weight 1.0. Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 648 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 722 keys at weight 0.8. Requested to load SDXLClipModel Loading 1 new model unload clone 1 [Fooocus Model Management] Moving model(s) has taken 0.97 seconds [Fooocus] Processing prompts ... [Fooocus] Preparing Fooocus text #1 ... [Prompt Expansion] Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth, dramatic color, rich colors, intricate, elegant, highly contrasted, sharp focus, vibrant scenic, artistic [Fooocus] Encoding positive #1 ... [Fooocus] Encoding negative #1 ... FreeU is enabled! [Parameters] Denoising Strength = 1.0 [Parameters] Initial Latent shape: Image Space (1344, 768) Preparation time: 8.75 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 3.56 seconds 0%| | 0/60 [00:00<?, ?it/s] 2%|▏ | 1/60 [00:00<00:49, 1.20it/s] 3%|▎ | 2/60 [00:01<00:28, 2.02it/s] 5%|▌ | 3/60 [00:01<00:21, 2.59it/s] 7%|▋ | 4/60 [00:01<00:18, 2.98it/s] 8%|▊ | 5/60 [00:01<00:16, 3.26it/s] 10%|█ | 6/60 [00:02<00:15, 3.45it/s] 12%|█▏ | 7/60 [00:02<00:14, 3.58it/s] 13%|█▎ | 8/60 [00:02<00:14, 3.67it/s] 15%|█▌ | 9/60 [00:02<00:13, 3.73it/s] 17%|█▋ | 10/60 [00:03<00:13, 3.78it/s] 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s] 20%|██ | 12/60 [00:03<00:12, 3.80it/s] 22%|██▏ | 13/60 [00:03<00:12, 3.82it/s] 23%|██▎ | 14/60 [00:04<00:12, 3.83it/s] 25%|██▌ | 15/60 [00:04<00:11, 3.84it/s] 27%|██▋ | 16/60 [00:04<00:11, 3.84it/s] 28%|██▊ | 17/60 [00:04<00:11, 3.85it/s] 30%|███ | 18/60 [00:05<00:10, 3.85it/s] 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s] 33%|███▎ | 20/60 [00:05<00:10, 3.84it/s] 35%|███▌ | 21/60 [00:06<00:10, 3.85it/s] 37%|███▋ | 22/60 [00:06<00:09, 3.85it/s] 38%|███▊ | 23/60 [00:06<00:09, 3.85it/s] 40%|████ | 24/60 [00:06<00:09, 3.79it/s] 42%|████▏ | 25/60 [00:07<00:09, 3.80it/s] 43%|████▎ | 26/60 [00:07<00:08, 3.81it/s] 45%|████▌ | 27/60 [00:07<00:08, 3.82it/s] 47%|████▋ | 28/60 [00:07<00:08, 3.82it/s] 48%|████▊ | 29/60 [00:08<00:08, 3.83it/s] Requested to load SDXL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 3.72 seconds Refiner Swapped 50%|█████ | 30/60 [00:08<00:07, 3.83it/s] 52%|█████▏ | 31/60 [00:12<00:39, 1.38s/it] 53%|█████▎ | 32/60 [00:12<00:29, 1.04s/it] 55%|█████▌ | 33/60 [00:12<00:21, 1.24it/s] 57%|█████▋ | 34/60 [00:13<00:16, 1.57it/s] 58%|█████▊ | 35/60 [00:13<00:13, 1.92it/s] 60%|██████ | 36/60 [00:13<00:10, 2.27it/s] 62%|██████▏ | 37/60 [00:13<00:08, 2.61it/s] 63%|██████▎ | 38/60 [00:14<00:07, 2.91it/s] 65%|██████▌ | 39/60 [00:14<00:06, 3.16it/s] 67%|██████▋ | 40/60 [00:14<00:05, 3.37it/s] 68%|██████▊ | 41/60 [00:14<00:05, 3.53it/s] 70%|███████ | 42/60 [00:15<00:04, 3.65it/s] 72%|███████▏ | 43/60 [00:15<00:04, 3.74it/s] 73%|███████▎ | 44/60 [00:15<00:04, 3.81it/s] 75%|███████▌ | 45/60 [00:15<00:03, 3.85it/s] 77%|███████▋ | 46/60 [00:16<00:03, 3.88it/s] 78%|███████▊ | 47/60 [00:16<00:03, 3.90it/s] 80%|████████ | 48/60 [00:16<00:03, 3.92it/s] 82%|████████▏ | 49/60 [00:16<00:02, 3.93it/s] 83%|████████▎ | 50/60 [00:17<00:02, 3.94it/s] 85%|████████▌ | 51/60 [00:17<00:02, 3.94it/s] 87%|████████▋ | 52/60 [00:17<00:02, 3.94it/s] 88%|████████▊ | 53/60 [00:17<00:01, 3.95it/s] 90%|█████████ | 54/60 [00:18<00:01, 3.95it/s] 92%|█████████▏| 55/60 [00:18<00:01, 3.95it/s] 93%|█████████▎| 56/60 [00:18<00:01, 3.95it/s] 95%|█████████▌| 57/60 [00:18<00:00, 3.95it/s] 97%|█████████▋| 58/60 [00:19<00:00, 3.95it/s] 98%|█████████▊| 59/60 [00:19<00:00, 3.96it/s] 100%|██████████| 60/60 [00:19<00:00, 3.97it/s] 100%|██████████| 60/60 [00:19<00:00, 3.05it/s] Requested to load AutoencoderKL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 0.19 seconds Image generated with private log at: /src/repositories/Fooocus/outputs/2024-01-18/log.html Generating and saving time: 24.10 seconds [Task Queue] Finish task, seq=1 Requested to load SDXLClipModel Requested to load GPT2LMHeadModel Loading 2 new models [Fooocus Model Management] Moving model(s) has taken 0.66 seconds [Predictor Predict] Finished with 1 images
Prediction
alexgenovese/custom-endpoint:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4cIDka7yli3bl66fyhylrzkadjnzkyStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- prompt
- Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth
- cn_type1
- ImagePrompt
- cn_type2
- ImagePrompt
- cn_type3
- ImagePrompt
- cn_type4
- ImagePrompt
- sharpness
- 2
- image_seed
- -1
- uov_method
- Disabled
- lora_prompt
- a photo of <YOUR_TOKEN> object
- 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
- outpaint_selections
- outpaint_distance_top
- 0
- performance_selection
- Quality
- outpaint_distance_left
- 0
- aspect_ratios_selection
- 768*1344
- outpaint_distance_right
- 0
- outpaint_distance_bottom
- 0
- inpaint_additional_prompt
{ "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "outpaint_distance_right": 0, "outpaint_distance_bottom": 0, "inpaint_additional_prompt": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", { input: { prompt: "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", cn_type1: "ImagePrompt", cn_type2: "ImagePrompt", cn_type3: "ImagePrompt", cn_type4: "ImagePrompt", sharpness: 2, image_seed: -1, uov_method: "Disabled", lora_prompt: "a photo of <YOUR_TOKEN> object", 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, outpaint_selections: "", outpaint_distance_top: 0, performance_selection: "Quality", outpaint_distance_left: 0, aspect_ratios_selection: "768*1344", 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.
Install Replicate’s Python client library:pip install replicate
Import the client: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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", input={ "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "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.
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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", "input": { "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "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.
Output
{ "completed_at": "2024-01-18T09:00:30.574319Z", "created_at": "2024-01-18T08:56:09.237990Z", "data_removed": false, "error": null, "id": "ka7yli3bl66fyhylrzkadjnzky", "input": { "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "outpaint_distance_right": 0, "outpaint_distance_bottom": 0, "inpaint_additional_prompt": "" }, "logs": "Loading input LORAS-------------\n[Predictor Predict] Params: {'prompt': 'Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '768*1344', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'reica_08_base.safetensors', 'refiner_model_name': 'reica_08_refiner.safetensors', 'refiner_switch': 0.5, 'loras': [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', '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': [], 'advanced_params': [False, 1.5, 1.5, 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', True, 1.01, 1.02, 0.99, 0.95, False, False, 'v2.6', 1.0, 0.618]}\n[Task Queue] Task queue is free, start task, seq=1\n[Parameters] Adaptive CFG = 7.0\n[Parameters] Sharpness = 2.0\n[Parameters] ADM Scale = 1.5 : 1.5 : 0.3\n[Parameters] CFG = 4.0\n[Parameters] Seed = 3452123159767886126\n[Parameters] Sampler = dpmpp_2m_sde_gpu - karras\n[Parameters] Steps = 60 - 30\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\nRequest to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 788 keys at weight 1.0.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 648 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 722 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for CLIP [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 264 keys at weight 0.8.\nRequest to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 788 keys at weight 1.0.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 648 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 722 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 0.97 seconds\n[Fooocus] Processing prompts ...\n[Fooocus] Preparing Fooocus text #1 ...\n[Prompt Expansion] Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth, dramatic color, rich colors, intricate, elegant, highly contrasted, sharp focus, vibrant scenic, artistic\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\nFreeU is enabled!\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: Image Space (1344, 768)\nPreparation time: 8.75 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 3.56 seconds\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:49, 1.20it/s]\n 3%|▎ | 2/60 [00:01<00:28, 2.02it/s]\n 5%|▌ | 3/60 [00:01<00:21, 2.59it/s]\n 7%|▋ | 4/60 [00:01<00:18, 2.98it/s]\n 8%|▊ | 5/60 [00:01<00:16, 3.26it/s]\n 10%|█ | 6/60 [00:02<00:15, 3.45it/s]\n 12%|█▏ | 7/60 [00:02<00:14, 3.58it/s]\n 13%|█▎ | 8/60 [00:02<00:14, 3.67it/s]\n 15%|█▌ | 9/60 [00:02<00:13, 3.73it/s]\n 17%|█▋ | 10/60 [00:03<00:13, 3.78it/s]\n 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s]\n 20%|██ | 12/60 [00:03<00:12, 3.80it/s]\n 22%|██▏ | 13/60 [00:03<00:12, 3.82it/s]\n 23%|██▎ | 14/60 [00:04<00:12, 3.83it/s]\n 25%|██▌ | 15/60 [00:04<00:11, 3.84it/s]\n 27%|██▋ | 16/60 [00:04<00:11, 3.84it/s]\n 28%|██▊ | 17/60 [00:04<00:11, 3.85it/s]\n 30%|███ | 18/60 [00:05<00:10, 3.85it/s]\n 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s]\n 33%|███▎ | 20/60 [00:05<00:10, 3.84it/s]\n 35%|███▌ | 21/60 [00:06<00:10, 3.85it/s]\n 37%|███▋ | 22/60 [00:06<00:09, 3.85it/s]\n 38%|███▊ | 23/60 [00:06<00:09, 3.85it/s]\n 40%|████ | 24/60 [00:06<00:09, 3.79it/s]\n 42%|████▏ | 25/60 [00:07<00:09, 3.80it/s]\n 43%|████▎ | 26/60 [00:07<00:08, 3.81it/s]\n 45%|████▌ | 27/60 [00:07<00:08, 3.82it/s]\n 47%|████▋ | 28/60 [00:07<00:08, 3.82it/s]\n 48%|████▊ | 29/60 [00:08<00:08, 3.83it/s]\nRequested to load SDXL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 3.72 seconds\nRefiner Swapped\n 50%|█████ | 30/60 [00:08<00:07, 3.83it/s]\n 52%|█████▏ | 31/60 [00:12<00:39, 1.38s/it]\n 53%|█████▎ | 32/60 [00:12<00:29, 1.04s/it]\n 55%|█████▌ | 33/60 [00:12<00:21, 1.24it/s]\n 57%|█████▋ | 34/60 [00:13<00:16, 1.57it/s]\n 58%|█████▊ | 35/60 [00:13<00:13, 1.92it/s]\n 60%|██████ | 36/60 [00:13<00:10, 2.27it/s]\n 62%|██████▏ | 37/60 [00:13<00:08, 2.61it/s]\n 63%|██████▎ | 38/60 [00:14<00:07, 2.91it/s]\n 65%|██████▌ | 39/60 [00:14<00:06, 3.16it/s]\n 67%|██████▋ | 40/60 [00:14<00:05, 3.37it/s]\n 68%|██████▊ | 41/60 [00:14<00:05, 3.53it/s]\n 70%|███████ | 42/60 [00:15<00:04, 3.65it/s]\n 72%|███████▏ | 43/60 [00:15<00:04, 3.74it/s]\n 73%|███████▎ | 44/60 [00:15<00:04, 3.81it/s]\n 75%|███████▌ | 45/60 [00:15<00:03, 3.85it/s]\n 77%|███████▋ | 46/60 [00:16<00:03, 3.88it/s]\n 78%|███████▊ | 47/60 [00:16<00:03, 3.90it/s]\n 80%|████████ | 48/60 [00:16<00:03, 3.92it/s]\n 82%|████████▏ | 49/60 [00:16<00:02, 3.93it/s]\n 83%|████████▎ | 50/60 [00:17<00:02, 3.94it/s]\n 85%|████████▌ | 51/60 [00:17<00:02, 3.94it/s]\n 87%|████████▋ | 52/60 [00:17<00:02, 3.94it/s]\n 88%|████████▊ | 53/60 [00:17<00:01, 3.95it/s]\n 90%|█████████ | 54/60 [00:18<00:01, 3.95it/s]\n 92%|█████████▏| 55/60 [00:18<00:01, 3.95it/s]\n 93%|█████████▎| 56/60 [00:18<00:01, 3.95it/s]\n 95%|█████████▌| 57/60 [00:18<00:00, 3.95it/s]\n 97%|█████████▋| 58/60 [00:19<00:00, 3.95it/s]\n 98%|█████████▊| 59/60 [00:19<00:00, 3.96it/s]\n100%|██████████| 60/60 [00:19<00:00, 3.97it/s]\n100%|██████████| 60/60 [00:19<00:00, 3.05it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.19 seconds\nImage generated with private log at: /src/repositories/Fooocus/outputs/2024-01-18/log.html\nGenerating and saving time: 24.10 seconds\n[Task Queue] Finish task, seq=1\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.66 seconds\n[Predictor Predict] Finished with 1 images", "metrics": { "predict_time": 35.07412, "total_time": 261.336329 }, "output": [ "https://replicate.delivery/pbxt/U8srKW2EdPpkGVmSgx3kteR5N4QVGME6pgQePSJAwHKtqpNSA/30866319-2910-4782-8ddf-15c5133c4587.png" ], "started_at": "2024-01-18T08:59:55.500199Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ka7yli3bl66fyhylrzkadjnzky", "cancel": "https://api.replicate.com/v1/predictions/ka7yli3bl66fyhylrzkadjnzky/cancel" }, "version": "92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c" }
Generated inLoading input LORAS------------- [Predictor Predict] Params: {'prompt': 'Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '768*1344', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'reica_08_base.safetensors', 'refiner_model_name': 'reica_08_refiner.safetensors', 'refiner_switch': 0.5, 'loras': [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', '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': [], 'advanced_params': [False, 1.5, 1.5, 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', True, 1.01, 1.02, 0.99, 0.95, False, False, 'v2.6', 1.0, 0.618]} [Task Queue] Task queue is free, start task, seq=1 [Parameters] Adaptive CFG = 7.0 [Parameters] Sharpness = 2.0 [Parameters] ADM Scale = 1.5 : 1.5 : 0.3 [Parameters] CFG = 4.0 [Parameters] Seed = 3452123159767886126 [Parameters] Sampler = dpmpp_2m_sde_gpu - karras [Parameters] Steps = 60 - 30 [Fooocus] Initializing ... [Fooocus] Loading models ... Request to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors]. Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 788 keys at weight 1.0. Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 648 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 722 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for CLIP [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 264 keys at weight 0.8. Request to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors]. Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 788 keys at weight 1.0. Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 648 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 722 keys at weight 0.8. Requested to load SDXLClipModel Loading 1 new model unload clone 1 [Fooocus Model Management] Moving model(s) has taken 0.97 seconds [Fooocus] Processing prompts ... [Fooocus] Preparing Fooocus text #1 ... [Prompt Expansion] Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth, dramatic color, rich colors, intricate, elegant, highly contrasted, sharp focus, vibrant scenic, artistic [Fooocus] Encoding positive #1 ... [Fooocus] Encoding negative #1 ... FreeU is enabled! [Parameters] Denoising Strength = 1.0 [Parameters] Initial Latent shape: Image Space (1344, 768) Preparation time: 8.75 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 3.56 seconds 0%| | 0/60 [00:00<?, ?it/s] 2%|▏ | 1/60 [00:00<00:49, 1.20it/s] 3%|▎ | 2/60 [00:01<00:28, 2.02it/s] 5%|▌ | 3/60 [00:01<00:21, 2.59it/s] 7%|▋ | 4/60 [00:01<00:18, 2.98it/s] 8%|▊ | 5/60 [00:01<00:16, 3.26it/s] 10%|█ | 6/60 [00:02<00:15, 3.45it/s] 12%|█▏ | 7/60 [00:02<00:14, 3.58it/s] 13%|█▎ | 8/60 [00:02<00:14, 3.67it/s] 15%|█▌ | 9/60 [00:02<00:13, 3.73it/s] 17%|█▋ | 10/60 [00:03<00:13, 3.78it/s] 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s] 20%|██ | 12/60 [00:03<00:12, 3.80it/s] 22%|██▏ | 13/60 [00:03<00:12, 3.82it/s] 23%|██▎ | 14/60 [00:04<00:12, 3.83it/s] 25%|██▌ | 15/60 [00:04<00:11, 3.84it/s] 27%|██▋ | 16/60 [00:04<00:11, 3.84it/s] 28%|██▊ | 17/60 [00:04<00:11, 3.85it/s] 30%|███ | 18/60 [00:05<00:10, 3.85it/s] 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s] 33%|███▎ | 20/60 [00:05<00:10, 3.84it/s] 35%|███▌ | 21/60 [00:06<00:10, 3.85it/s] 37%|███▋ | 22/60 [00:06<00:09, 3.85it/s] 38%|███▊ | 23/60 [00:06<00:09, 3.85it/s] 40%|████ | 24/60 [00:06<00:09, 3.79it/s] 42%|████▏ | 25/60 [00:07<00:09, 3.80it/s] 43%|████▎ | 26/60 [00:07<00:08, 3.81it/s] 45%|████▌ | 27/60 [00:07<00:08, 3.82it/s] 47%|████▋ | 28/60 [00:07<00:08, 3.82it/s] 48%|████▊ | 29/60 [00:08<00:08, 3.83it/s] Requested to load SDXL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 3.72 seconds Refiner Swapped 50%|█████ | 30/60 [00:08<00:07, 3.83it/s] 52%|█████▏ | 31/60 [00:12<00:39, 1.38s/it] 53%|█████▎ | 32/60 [00:12<00:29, 1.04s/it] 55%|█████▌ | 33/60 [00:12<00:21, 1.24it/s] 57%|█████▋ | 34/60 [00:13<00:16, 1.57it/s] 58%|█████▊ | 35/60 [00:13<00:13, 1.92it/s] 60%|██████ | 36/60 [00:13<00:10, 2.27it/s] 62%|██████▏ | 37/60 [00:13<00:08, 2.61it/s] 63%|██████▎ | 38/60 [00:14<00:07, 2.91it/s] 65%|██████▌ | 39/60 [00:14<00:06, 3.16it/s] 67%|██████▋ | 40/60 [00:14<00:05, 3.37it/s] 68%|██████▊ | 41/60 [00:14<00:05, 3.53it/s] 70%|███████ | 42/60 [00:15<00:04, 3.65it/s] 72%|███████▏ | 43/60 [00:15<00:04, 3.74it/s] 73%|███████▎ | 44/60 [00:15<00:04, 3.81it/s] 75%|███████▌ | 45/60 [00:15<00:03, 3.85it/s] 77%|███████▋ | 46/60 [00:16<00:03, 3.88it/s] 78%|███████▊ | 47/60 [00:16<00:03, 3.90it/s] 80%|████████ | 48/60 [00:16<00:03, 3.92it/s] 82%|████████▏ | 49/60 [00:16<00:02, 3.93it/s] 83%|████████▎ | 50/60 [00:17<00:02, 3.94it/s] 85%|████████▌ | 51/60 [00:17<00:02, 3.94it/s] 87%|████████▋ | 52/60 [00:17<00:02, 3.94it/s] 88%|████████▊ | 53/60 [00:17<00:01, 3.95it/s] 90%|█████████ | 54/60 [00:18<00:01, 3.95it/s] 92%|█████████▏| 55/60 [00:18<00:01, 3.95it/s] 93%|█████████▎| 56/60 [00:18<00:01, 3.95it/s] 95%|█████████▌| 57/60 [00:18<00:00, 3.95it/s] 97%|█████████▋| 58/60 [00:19<00:00, 3.95it/s] 98%|█████████▊| 59/60 [00:19<00:00, 3.96it/s] 100%|██████████| 60/60 [00:19<00:00, 3.97it/s] 100%|██████████| 60/60 [00:19<00:00, 3.05it/s] Requested to load AutoencoderKL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 0.19 seconds Image generated with private log at: /src/repositories/Fooocus/outputs/2024-01-18/log.html Generating and saving time: 24.10 seconds [Task Queue] Finish task, seq=1 Requested to load SDXLClipModel Requested to load GPT2LMHeadModel Loading 2 new models [Fooocus Model Management] Moving model(s) has taken 0.66 seconds [Predictor Predict] Finished with 1 images
Prediction
alexgenovese/custom-endpoint:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4cIDka7yli3bl66fyhylrzkadjnzkyStatusSucceededSourceWebHardwareA40Total durationCreatedInput
- prompt
- Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth
- cn_type1
- ImagePrompt
- cn_type2
- ImagePrompt
- cn_type3
- ImagePrompt
- cn_type4
- ImagePrompt
- sharpness
- 2
- image_seed
- -1
- uov_method
- Disabled
- lora_prompt
- a photo of <YOUR_TOKEN> object
- 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
- outpaint_selections
- outpaint_distance_top
- 0
- performance_selection
- Quality
- outpaint_distance_left
- 0
- aspect_ratios_selection
- 768*1344
- outpaint_distance_right
- 0
- outpaint_distance_bottom
- 0
- inpaint_additional_prompt
{ "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "outpaint_distance_right": 0, "outpaint_distance_bottom": 0, "inpaint_additional_prompt": "" }
Install Replicate’s Node.js client library:npm install replicate
Import and set up the client:import Replicate from "replicate"; 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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", { input: { prompt: "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", cn_type1: "ImagePrompt", cn_type2: "ImagePrompt", cn_type3: "ImagePrompt", cn_type4: "ImagePrompt", sharpness: 2, image_seed: -1, uov_method: "Disabled", lora_prompt: "a photo of <YOUR_TOKEN> object", 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, outpaint_selections: "", outpaint_distance_top: 0, performance_selection: "Quality", outpaint_distance_left: 0, aspect_ratios_selection: "768*1344", 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.
Install Replicate’s Python client library:pip install replicate
Import the client: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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", input={ "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "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.
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:92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c", "input": { "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "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.
Output
{ "completed_at": "2024-01-18T09:00:30.574319Z", "created_at": "2024-01-18T08:56:09.237990Z", "data_removed": false, "error": null, "id": "ka7yli3bl66fyhylrzkadjnzky", "input": { "prompt": "Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth", "cn_type1": "ImagePrompt", "cn_type2": "ImagePrompt", "cn_type3": "ImagePrompt", "cn_type4": "ImagePrompt", "sharpness": 2, "image_seed": -1, "uov_method": "Disabled", "lora_prompt": "a photo of <YOUR_TOKEN> object", "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, "outpaint_selections": "", "outpaint_distance_top": 0, "performance_selection": "Quality", "outpaint_distance_left": 0, "aspect_ratios_selection": "768*1344", "outpaint_distance_right": 0, "outpaint_distance_bottom": 0, "inpaint_additional_prompt": "" }, "logs": "Loading input LORAS-------------\n[Predictor Predict] Params: {'prompt': 'Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '768*1344', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'reica_08_base.safetensors', 'refiner_model_name': 'reica_08_refiner.safetensors', 'refiner_switch': 0.5, 'loras': [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', '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': [], 'advanced_params': [False, 1.5, 1.5, 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', True, 1.01, 1.02, 0.99, 0.95, False, False, 'v2.6', 1.0, 0.618]}\n[Task Queue] Task queue is free, start task, seq=1\n[Parameters] Adaptive CFG = 7.0\n[Parameters] Sharpness = 2.0\n[Parameters] ADM Scale = 1.5 : 1.5 : 0.3\n[Parameters] CFG = 4.0\n[Parameters] Seed = 3452123159767886126\n[Parameters] Sampler = dpmpp_2m_sde_gpu - karras\n[Parameters] Steps = 60 - 30\n[Fooocus] Initializing ...\n[Fooocus] Loading models ...\nRequest to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 788 keys at weight 1.0.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 648 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 722 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for CLIP [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 264 keys at weight 0.8.\nRequest to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors].\nLoaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 788 keys at weight 1.0.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 648 keys at weight 0.8.\nLoaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 722 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 0.97 seconds\n[Fooocus] Processing prompts ...\n[Fooocus] Preparing Fooocus text #1 ...\n[Prompt Expansion] Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth, dramatic color, rich colors, intricate, elegant, highly contrasted, sharp focus, vibrant scenic, artistic\n[Fooocus] Encoding positive #1 ...\n[Fooocus] Encoding negative #1 ...\nFreeU is enabled!\n[Parameters] Denoising Strength = 1.0\n[Parameters] Initial Latent shape: Image Space (1344, 768)\nPreparation time: 8.75 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 3.56 seconds\n 0%| | 0/60 [00:00<?, ?it/s]\n 2%|▏ | 1/60 [00:00<00:49, 1.20it/s]\n 3%|▎ | 2/60 [00:01<00:28, 2.02it/s]\n 5%|▌ | 3/60 [00:01<00:21, 2.59it/s]\n 7%|▋ | 4/60 [00:01<00:18, 2.98it/s]\n 8%|▊ | 5/60 [00:01<00:16, 3.26it/s]\n 10%|█ | 6/60 [00:02<00:15, 3.45it/s]\n 12%|█▏ | 7/60 [00:02<00:14, 3.58it/s]\n 13%|█▎ | 8/60 [00:02<00:14, 3.67it/s]\n 15%|█▌ | 9/60 [00:02<00:13, 3.73it/s]\n 17%|█▋ | 10/60 [00:03<00:13, 3.78it/s]\n 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s]\n 20%|██ | 12/60 [00:03<00:12, 3.80it/s]\n 22%|██▏ | 13/60 [00:03<00:12, 3.82it/s]\n 23%|██▎ | 14/60 [00:04<00:12, 3.83it/s]\n 25%|██▌ | 15/60 [00:04<00:11, 3.84it/s]\n 27%|██▋ | 16/60 [00:04<00:11, 3.84it/s]\n 28%|██▊ | 17/60 [00:04<00:11, 3.85it/s]\n 30%|███ | 18/60 [00:05<00:10, 3.85it/s]\n 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s]\n 33%|███▎ | 20/60 [00:05<00:10, 3.84it/s]\n 35%|███▌ | 21/60 [00:06<00:10, 3.85it/s]\n 37%|███▋ | 22/60 [00:06<00:09, 3.85it/s]\n 38%|███▊ | 23/60 [00:06<00:09, 3.85it/s]\n 40%|████ | 24/60 [00:06<00:09, 3.79it/s]\n 42%|████▏ | 25/60 [00:07<00:09, 3.80it/s]\n 43%|████▎ | 26/60 [00:07<00:08, 3.81it/s]\n 45%|████▌ | 27/60 [00:07<00:08, 3.82it/s]\n 47%|████▋ | 28/60 [00:07<00:08, 3.82it/s]\n 48%|████▊ | 29/60 [00:08<00:08, 3.83it/s]\nRequested to load SDXL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 3.72 seconds\nRefiner Swapped\n 50%|█████ | 30/60 [00:08<00:07, 3.83it/s]\n 52%|█████▏ | 31/60 [00:12<00:39, 1.38s/it]\n 53%|█████▎ | 32/60 [00:12<00:29, 1.04s/it]\n 55%|█████▌ | 33/60 [00:12<00:21, 1.24it/s]\n 57%|█████▋ | 34/60 [00:13<00:16, 1.57it/s]\n 58%|█████▊ | 35/60 [00:13<00:13, 1.92it/s]\n 60%|██████ | 36/60 [00:13<00:10, 2.27it/s]\n 62%|██████▏ | 37/60 [00:13<00:08, 2.61it/s]\n 63%|██████▎ | 38/60 [00:14<00:07, 2.91it/s]\n 65%|██████▌ | 39/60 [00:14<00:06, 3.16it/s]\n 67%|██████▋ | 40/60 [00:14<00:05, 3.37it/s]\n 68%|██████▊ | 41/60 [00:14<00:05, 3.53it/s]\n 70%|███████ | 42/60 [00:15<00:04, 3.65it/s]\n 72%|███████▏ | 43/60 [00:15<00:04, 3.74it/s]\n 73%|███████▎ | 44/60 [00:15<00:04, 3.81it/s]\n 75%|███████▌ | 45/60 [00:15<00:03, 3.85it/s]\n 77%|███████▋ | 46/60 [00:16<00:03, 3.88it/s]\n 78%|███████▊ | 47/60 [00:16<00:03, 3.90it/s]\n 80%|████████ | 48/60 [00:16<00:03, 3.92it/s]\n 82%|████████▏ | 49/60 [00:16<00:02, 3.93it/s]\n 83%|████████▎ | 50/60 [00:17<00:02, 3.94it/s]\n 85%|████████▌ | 51/60 [00:17<00:02, 3.94it/s]\n 87%|████████▋ | 52/60 [00:17<00:02, 3.94it/s]\n 88%|████████▊ | 53/60 [00:17<00:01, 3.95it/s]\n 90%|█████████ | 54/60 [00:18<00:01, 3.95it/s]\n 92%|█████████▏| 55/60 [00:18<00:01, 3.95it/s]\n 93%|█████████▎| 56/60 [00:18<00:01, 3.95it/s]\n 95%|█████████▌| 57/60 [00:18<00:00, 3.95it/s]\n 97%|█████████▋| 58/60 [00:19<00:00, 3.95it/s]\n 98%|█████████▊| 59/60 [00:19<00:00, 3.96it/s]\n100%|██████████| 60/60 [00:19<00:00, 3.97it/s]\n100%|██████████| 60/60 [00:19<00:00, 3.05it/s]\nRequested to load AutoencoderKL\nLoading 1 new model\n[Fooocus Model Management] Moving model(s) has taken 0.19 seconds\nImage generated with private log at: /src/repositories/Fooocus/outputs/2024-01-18/log.html\nGenerating and saving time: 24.10 seconds\n[Task Queue] Finish task, seq=1\nRequested to load SDXLClipModel\nRequested to load GPT2LMHeadModel\nLoading 2 new models\n[Fooocus Model Management] Moving model(s) has taken 0.66 seconds\n[Predictor Predict] Finished with 1 images", "metrics": { "predict_time": 35.07412, "total_time": 261.336329 }, "output": [ "https://replicate.delivery/pbxt/U8srKW2EdPpkGVmSgx3kteR5N4QVGME6pgQePSJAwHKtqpNSA/30866319-2910-4782-8ddf-15c5133c4587.png" ], "started_at": "2024-01-18T08:59:55.500199Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/ka7yli3bl66fyhylrzkadjnzky", "cancel": "https://api.replicate.com/v1/predictions/ka7yli3bl66fyhylrzkadjnzky/cancel" }, "version": "92853d0d3744a8dc60918363d3cc3607f56529450c6fd48c30b095596067ea4c" }
Generated inLoading input LORAS------------- [Predictor Predict] Params: {'prompt': 'Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth', 'negative_prompt': '', 'style_selections': ['Fooocus V2', 'Fooocus Enhance', 'Fooocus Sharp', 'Fooocus Photograph'], 'performance_selection': 'Quality', 'aspect_ratios_selection': '768*1344', 'image_number': 1, 'image_seed': -1, 'sharpness': 2.0, 'guidance_scale': 4.0, 'base_model_name': 'reica_08_base.safetensors', 'refiner_model_name': 'reica_08_refiner.safetensors', 'refiner_switch': 0.5, 'loras': [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]], 'uov_input_image': None, 'uov_method': 'Disabled', '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': [], 'advanced_params': [False, 1.5, 1.5, 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', True, 1.01, 1.02, 0.99, 0.95, False, False, 'v2.6', 1.0, 0.618]} [Task Queue] Task queue is free, start task, seq=1 [Parameters] Adaptive CFG = 7.0 [Parameters] Sharpness = 2.0 [Parameters] ADM Scale = 1.5 : 1.5 : 0.3 [Parameters] CFG = 4.0 [Parameters] Seed = 3452123159767886126 [Parameters] Sampler = dpmpp_2m_sde_gpu - karras [Parameters] Steps = 60 - 30 [Fooocus] Initializing ... [Fooocus] Loading models ... Request to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors]. Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 788 keys at weight 1.0. Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 648 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 722 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for CLIP [/src/repositories/Fooocus/models/checkpoints/reica_08_base.safetensors] with 264 keys at weight 0.8. Request to load LoRAs [['sd_xl_dpo_lora_v1.safetensors', 1.0], ['neg4all_xl_bdsqlsz_V5.safetensors', 0.8], ['faces_v3.safetensors', 0.8]] for model [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors]. Loaded LoRA [/src/repositories/Fooocus/models/loras/sd_xl_dpo_lora_v1.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 788 keys at weight 1.0. Loaded LoRA [/src/repositories/Fooocus/models/loras/neg4all_xl_bdsqlsz_V5.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 648 keys at weight 0.8. Loaded LoRA [/src/repositories/Fooocus/models/loras/faces_v3.safetensors] for UNet [/src/repositories/Fooocus/models/checkpoints/reica_08_refiner.safetensors] with 722 keys at weight 0.8. Requested to load SDXLClipModel Loading 1 new model unload clone 1 [Fooocus Model Management] Moving model(s) has taken 0.97 seconds [Fooocus] Processing prompts ... [Fooocus] Preparing Fooocus text #1 ... [Prompt Expansion] Photo portrait of a pensive young brunette woman with sparkling eyes, detailed skin, (half her face concealed in shadow:1.4), tight close up on face, dark background, side lighting revealing her gaze, eye level, in the style of Nathan Wirth, dramatic color, rich colors, intricate, elegant, highly contrasted, sharp focus, vibrant scenic, artistic [Fooocus] Encoding positive #1 ... [Fooocus] Encoding negative #1 ... FreeU is enabled! [Parameters] Denoising Strength = 1.0 [Parameters] Initial Latent shape: Image Space (1344, 768) Preparation time: 8.75 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 3.56 seconds 0%| | 0/60 [00:00<?, ?it/s] 2%|▏ | 1/60 [00:00<00:49, 1.20it/s] 3%|▎ | 2/60 [00:01<00:28, 2.02it/s] 5%|▌ | 3/60 [00:01<00:21, 2.59it/s] 7%|▋ | 4/60 [00:01<00:18, 2.98it/s] 8%|▊ | 5/60 [00:01<00:16, 3.26it/s] 10%|█ | 6/60 [00:02<00:15, 3.45it/s] 12%|█▏ | 7/60 [00:02<00:14, 3.58it/s] 13%|█▎ | 8/60 [00:02<00:14, 3.67it/s] 15%|█▌ | 9/60 [00:02<00:13, 3.73it/s] 17%|█▋ | 10/60 [00:03<00:13, 3.78it/s] 18%|█▊ | 11/60 [00:03<00:13, 3.77it/s] 20%|██ | 12/60 [00:03<00:12, 3.80it/s] 22%|██▏ | 13/60 [00:03<00:12, 3.82it/s] 23%|██▎ | 14/60 [00:04<00:12, 3.83it/s] 25%|██▌ | 15/60 [00:04<00:11, 3.84it/s] 27%|██▋ | 16/60 [00:04<00:11, 3.84it/s] 28%|██▊ | 17/60 [00:04<00:11, 3.85it/s] 30%|███ | 18/60 [00:05<00:10, 3.85it/s] 32%|███▏ | 19/60 [00:05<00:10, 3.84it/s] 33%|███▎ | 20/60 [00:05<00:10, 3.84it/s] 35%|███▌ | 21/60 [00:06<00:10, 3.85it/s] 37%|███▋ | 22/60 [00:06<00:09, 3.85it/s] 38%|███▊ | 23/60 [00:06<00:09, 3.85it/s] 40%|████ | 24/60 [00:06<00:09, 3.79it/s] 42%|████▏ | 25/60 [00:07<00:09, 3.80it/s] 43%|████▎ | 26/60 [00:07<00:08, 3.81it/s] 45%|████▌ | 27/60 [00:07<00:08, 3.82it/s] 47%|████▋ | 28/60 [00:07<00:08, 3.82it/s] 48%|████▊ | 29/60 [00:08<00:08, 3.83it/s] Requested to load SDXL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 3.72 seconds Refiner Swapped 50%|█████ | 30/60 [00:08<00:07, 3.83it/s] 52%|█████▏ | 31/60 [00:12<00:39, 1.38s/it] 53%|█████▎ | 32/60 [00:12<00:29, 1.04s/it] 55%|█████▌ | 33/60 [00:12<00:21, 1.24it/s] 57%|█████▋ | 34/60 [00:13<00:16, 1.57it/s] 58%|█████▊ | 35/60 [00:13<00:13, 1.92it/s] 60%|██████ | 36/60 [00:13<00:10, 2.27it/s] 62%|██████▏ | 37/60 [00:13<00:08, 2.61it/s] 63%|██████▎ | 38/60 [00:14<00:07, 2.91it/s] 65%|██████▌ | 39/60 [00:14<00:06, 3.16it/s] 67%|██████▋ | 40/60 [00:14<00:05, 3.37it/s] 68%|██████▊ | 41/60 [00:14<00:05, 3.53it/s] 70%|███████ | 42/60 [00:15<00:04, 3.65it/s] 72%|███████▏ | 43/60 [00:15<00:04, 3.74it/s] 73%|███████▎ | 44/60 [00:15<00:04, 3.81it/s] 75%|███████▌ | 45/60 [00:15<00:03, 3.85it/s] 77%|███████▋ | 46/60 [00:16<00:03, 3.88it/s] 78%|███████▊ | 47/60 [00:16<00:03, 3.90it/s] 80%|████████ | 48/60 [00:16<00:03, 3.92it/s] 82%|████████▏ | 49/60 [00:16<00:02, 3.93it/s] 83%|████████▎ | 50/60 [00:17<00:02, 3.94it/s] 85%|████████▌ | 51/60 [00:17<00:02, 3.94it/s] 87%|████████▋ | 52/60 [00:17<00:02, 3.94it/s] 88%|████████▊ | 53/60 [00:17<00:01, 3.95it/s] 90%|█████████ | 54/60 [00:18<00:01, 3.95it/s] 92%|█████████▏| 55/60 [00:18<00:01, 3.95it/s] 93%|█████████▎| 56/60 [00:18<00:01, 3.95it/s] 95%|█████████▌| 57/60 [00:18<00:00, 3.95it/s] 97%|█████████▋| 58/60 [00:19<00:00, 3.95it/s] 98%|█████████▊| 59/60 [00:19<00:00, 3.96it/s] 100%|██████████| 60/60 [00:19<00:00, 3.97it/s] 100%|██████████| 60/60 [00:19<00:00, 3.05it/s] Requested to load AutoencoderKL Loading 1 new model [Fooocus Model Management] Moving model(s) has taken 0.19 seconds Image generated with private log at: /src/repositories/Fooocus/outputs/2024-01-18/log.html Generating and saving time: 24.10 seconds [Task Queue] Finish task, seq=1 Requested to load SDXLClipModel Requested to load GPT2LMHeadModel Loading 2 new models [Fooocus Model Management] Moving model(s) has taken 0.66 seconds [Predictor Predict] Finished with 1 images
Want to make some of these yourself?
Run this model