pkuliyi2015 / multidiffusion-upscaler-for-automatic1111

Tiled Diffusion and VAE optimize, licensed under CC BY-NC-SA 4.0
Other
4.77k stars 334 forks source link

在sdapi/v1/txt2img 如何使用Tiled Diffusion 和Region Prompt Control #288

Open KerwinChina opened 1 year ago

KerwinChina commented 1 year ago

sd的docs里面 txt2img参数可以这样传递 { "enable_hr": false, "denoising_strength": 0, "firstphase_width": 0, "firstphase_height": 0, "hr_scale": 2, "hr_upscaler": "string", "hr_second_pass_steps": 0, "hr_resize_x": 0, "hr_resize_y": 0, "hr_sampler_name": "string", "hr_prompt": "", "hr_negative_prompt": "", "prompt": "", "styles": [ "string" ], "seed": -1, "subseed": -1, "subseed_strength": 0, "seed_resize_from_h": -1, "seed_resize_from_w": -1, "sampler_name": "string", "batch_size": 1, "n_iter": 1, "steps": 50, "cfg_scale": 7, "width": 512, "height": 512, "restore_faces": false, "tiling": false, "do_not_save_samples": false, "do_not_save_grid": false, "negative_prompt": "string", "eta": 0, "s_min_uncond": 0, "s_churn": 0, "s_tmax": 0, "s_tmin": 0, "s_noise": 1, "override_settings": {}, "override_settings_restore_afterwards": true, "script_args": [], "sampler_index": "Euler", "script_name": "string", "send_images": true, "save_images": false, "alwayson_scripts": {} }

如果通过api来控制Tiled Diffusion 和Region Prompt Control 参数,感谢

gaibohan commented 1 year ago

一样的问题。。没有人回复。。

Lemniscatas commented 1 year ago

一样的问题。。没有人回复。。

You can use this, in order to know how to use with API: https://github.com/huchenlei/sd-webui-api-payload-display

ysysycyc commented 1 month ago

一样的问题。。没有人回复。。

You can use this, in order to know how to use with API: https://github.com/huchenlei/sd-webui-api-payload-display

awesome