sd-webui-hook's People
Forkers
tvbboy2015 zhangyanlin2022 uipark25 mzhren kingja manongguai renfengyi yao2927355 yqty songfang ancientlegend crl228 zwh821 feier88 bianbiandashen vipbbosd-webui-hook's Issues
关于技术路线和一些需求方面的探讨
你好,我是在b站上看到你的视频的,觉得你的想法很不错,我之前也在做一个类似的项目,自己玩玩。
不过我使用的是gradio,请问你为什么没使用gradio,或者说gradio有什么弊端吗?
另外,我想实现,固化一些特定效果的功能,比如选择二次元效果,api执行的是特定的提示词+lora+contornet预处理器和模型,不知道这个应该如何实现,
希望你的项目也有可能实现这方面定制的功能
加油,去给你三连了 :)
Txt2img指定模型文件
想问下,有了解过如何在调用txt2img的api的时候指定checkpoint文件吗
其他插件的API调用
您好,我最近也在研究SD后端部署并通过API调用,但是我发现官网只支持controlnet插件的API调用,如果我想要实现其他插件(与controlnet在同级目录下)的API调用,我应该怎么做呢?可以给予我一些指点吗?非常感谢!
请问如果使用img2img的局部重绘功能,调用api的mask参数怎么得到呢
#缺mask
img2img = {
"init_images": [
img_str
],
"prompt": "DB21-551<lora:DB21-551:1>",
"steps": 30,
"sampler_name": "Euler a",
"cfg_scale": 7,
"seed": -1,
"width": 720,
"height": 512,
"denoising_strength": 0.75,
"batch_size": 1,
"send_images": True,
"save_images": False,
"controlnet_units": [
{
"input_image": img_str,
"module": "mlsd",
"model": "control_v11p_sd15_mlsd [aca30ff0]",
}
]
}
headers = {
"Authorization": "Basic c2Q6c2Qx"
}
#response = requests.post(url=f'{url}/controlnet/img2img', json=img2img, headers=headers)
response = requests.post(url=f'{url}/sdapi/v1/img2img', json=img2img, headers=headers)
就比如这一段代码,如果做inpainting,这个json文件其实是缺一个mask字段的,这个mask字段怎么得到呢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.