函数计算FC的stable diffusion生成图片接口报错,怎么回事呢?

函数计算FC的stable diffusion生成图片接口报错,怎么回事呢?80f1860baaaec5f0293d9307652a07fa.png
sdapi/v1/txt2img 这个接口返回报错{
"enable_hr": false,
"denoising_strength": 0,
"firstphase_width": 0,
"firstphase_height": 0,
"hr_scale": 2,
"hr_upscaler": "",
"hr_second_pass_steps": 0,
"hr_resize_x": 0,
"hr_resize_y": 0,
"hr_sampler_name": "",
"hr_prompt": "",
"hr_negative_prompt": "",
"prompt": "dog,cat",
"styles": [
""
],
"seed": -1,
"subseed": -1,
"subseed_strength": 0,
"seed_resize_from_h": -1,
"seed_resize_from_w": -1,
"sampler_name": "",
"batch_size": 1,
"n_iter": 1,
"steps": 5,
"cfg_scale": 7,
"width": 512,
"height": 512,
"restore_faces": false,
"tiling": false,
"do_not_save_samples": false,
"do_not_save_grid": false,
"negative_prompt": "",
"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": "",
"send_images": true,
"save_images": false,
"alwayson_scripts": {}
}
这个是发送的参数

展开
收起
三分钟热度的鱼 2023-09-13 19:32:54 137 分享 版权
1 条回答
写回答
取消 提交回答
  • 先启动webui,再请求。
    或者禁用webui。bbdc41e326fcc22de32e8e123601ceae.png加上 --nowebui
    lQLPJxTVIBlAUzzM4c0E9rBDE_HpQTGx2gTpdlDwQAwA_1270_225.png改成这样。不行那就改成 --api --nowebui。
    此回答整理自钉群“【答疑群】函数计算 AIGC 场景技术交流”

    2023-09-13 19:39:36
    赞同 展开评论

快速交付实现商业价值。

还有其他疑问?
咨询AI助理