Skip to content

Results from Fooocus-API do not match with Fooocus #418

@Artorias2049

Description

@Artorias2049

The images being generated from Fooocus-API do not match the images which are generated from https://github.com/lllyasviel/Fooocus even though the settings are matched.

Payload for Fooocus:

{ "parameters": { "adm_guidance": "(1.5, 0.8, 0.3)", "base_model": "juggernautXL_juggXIByRundiffusion", "base_model_hash": "33e58e8668", "clip_skip": 2, "full_negative_prompt": {"0": "blurry"}, "full_prompt": { "0": "White button-down shirt, Front soft lighting, bright, diffused, flattering.Male walking confidently with hands in pockets, displaying relaxed and casual posture.Lush green park with tall leafy trees, sunlight filtering through foliage creating warm natural glow, soft illumination from above.Asian face has fair skin, brown wavy hair, large round brown eyes, soft pink lips, and a neutral expression, age 15 (natural skin texture:1.3), (best quality:1.3), (masterpiece:1.3), (detailed:1.5), ((real)), ((real-life)), (real life photo), (reality), ((natural)), (true-to-life), (good-quality), (top-quality), (high-quality), (high-resolution), (high-definition), (high-detail), ((detailed)), (intricate, raw), photo, photograph, photography, high-res, sharp, 4k, 8k, life-size" }, "guidance_scale": 4, "lora_combined_1": "sd_xl_offset_example-lora_1.0 : 0.1", "lora_combined_2": "SOAP_LoRA : 0.6", "loras": { "0": { "0": "sd_xl_offset_example-lora_1.0", "1": 0.1, "2": "4852686128", }, "1": {"0": "SOAP_LoRA", "1": 0.6, "2": "8816476b4a"}, }, "metadata_scheme": "fooocus", "negative_prompt": "blurry", "performance": "Quality", "prompt": "White button-down shirt, Front soft lighting, bright, diffused, flattering.Male walking confidently with hands in pockets, displaying relaxed and casual posture.Lush green park with tall leafy trees, sunlight filtering through foliage creating warm natural glow, soft illumination from above.Asian face has fair skin, brown wavy hair, large round brown eyes, soft pink lips, and a neutral expression, age 15 (natural skin texture:1.3), (best quality:1.3), (masterpiece:1.3), (detailed:1.5), ((real)), ((real-life)), (real life photo), (reality), ((natural)), (true-to-life), (good-quality), (top-quality), (high-quality), (high-resolution), (high-definition), (high-detail), ((detailed)), (intricate, raw), photo, photograph, photography, high-res, sharp, 4k, 8k, life-size", "prompt_expansion": "", "refiner_model": "realisticVisionV60B1_v51VAE", "refiner_model_hash": "ef76aa2332", "refiner_switch": 0.5, "resolution": "(832, 1216)", "sampler": "dpmpp_2m_sde_gpu", "scheduler": "karras", "seed": "2935786962", "sharpness": 2, "steps": 60, "styles": "[]", "vae": "Default (model)", "version": "Fooocus v2.5.5", }, "metadata_scheme": "fooocus", }

Payload Fooocus-API

{ "seed": "2935786962", "performance_selection": "Quality", "require_base64": True, "base_model_name": "juggernautXL_juggXIByRundiffusion.safetensors", "sharpness": 2, "save_meta": True, "meta_scheme": "fooocus", "prompt": "White button-down shirt, Front soft lighting, bright, diffused, flattering.Male walking confidently with hands in pockets, displaying relaxed and casual posture.Lush green park with tall leafy trees, sunlight filtering through foliage creating warm natural glow, soft illumination from above.Asian face has fair skin, brown wavy hair, large round brown eyes, soft pink lips, and a neutral expression, age 15 (natural skin texture:1.3), (best quality:1.3), (masterpiece:1.3), (detailed:1.5), ((real)), ((real-life)), (real life photo), (reality), ((natural)), (true-to-life), (good-quality), (top-quality), (high-quality), (high-resolution), (high-definition), (high-detail), ((detailed)), (intricate, raw), photo, photograph, photography, high-res, sharp, 4k, 8k, life-size", "negative_prompt": "blurry", "image_prompts": [ { "cn_img": "canny_image", "cn_stop": "0.9", "cn_weight": "0.9", "cn_type": "PyraCanny", }, { "cn_img": "face_image", "cn_stop": "0.9", "cn_weight": "0.9", "cn_type": "FaceSwap", }, { "cn_img": "grid_image", "cn_stop": 0.8, "cn_weight": 0.8, "cn_type": "FaceSwap", }, { "cn_img": "ref_image", "cn_stop": "0.9", "cn_weight": 0.9, "cn_type": "ImagePrompt", }, ], "input_image": "input_image", "advanced_params": { "inpaint_disable_initial_latent": True, "inpaint_strength": 1.0, "inpaint_respective_field": 0.0, "inpaint_erode_or_dilate": 0, "sampler_name": "dpmpp_2m_sde_gpu", "scheduler_name": "karras", }, "loras": [ {"model_name": "SOAP_LoRA.safetensors", "weight": 0.6, "enabled": True}, { "model_name": "sd_xl_offset_example-lora_1.0.safetensors", "weight": 0.1, "enabled": True, }, ], "refiner_model": "realisticVisionV60B1_v51VAE.safetensors", "refiner_switch": 0.5, "input_mask": "mask_image", }

I have attached the images which were used in the generation of the final images labeled as Fooocus-UI for https://github.com/lllyasviel/Fooocus and Fooocus-API for this repository.

Image
Image
Image
Image
Image
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions