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
没有图像风格迁移接口 #30
Comments
人像动漫化也没有,官方文档一堆错误,不想吐槽了。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// 传入可选字段
options = {"option": "cartoon"}
var fs = require('fs');
var image = fs.readFileSync("assets/example.jpg").toString("base64");
// 调用图像无损放大
client.styleTrans(image, options).then(function(result) {
console.log(JSON.stringify(result));
}).catch(function(err) {
// 如果发生网络错误
console.log(err);
});
官方文档不是说有吗
The text was updated successfully, but these errors were encountered: