-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
通过api生成白底的证件照问题 #197
Comments
我用cursor生成了一个方法,本地测试可用,方便的话,可以加到api中 添加新的接口: 生成带背景图的证件照@app.post("/idphoto_with_background")
|
是的,目前接口是解耦提供的。 其实不用这么麻烦,你可以
就像调用函数一样就可以了 |
通过api生成白底的证件照是不是需要调用2次api?
1.调用接口 生成证件照(底透明)
2.调用接口 添加白色背景色
我的问题是这个在网页上面这么操作的话无可厚非,但是通过接口的话,就要考虑保持接口1返回的值,再post到接口2中,不知道后面能否再增加一个新的接口,实现1+2的功能
The text was updated successfully, but these errors were encountered: