Skip to content
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

Open
yangyiming opened this issue Feb 18, 2021 · 1 comment
Open

没有图像风格迁移接口 #30

yangyiming opened this issue Feb 18, 2021 · 1 comment

Comments

@yangyiming
Copy link

// 传入可选字段
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);
});
官方文档不是说有吗

@SiZapPaaiGwat
Copy link

人像动漫化也没有,官方文档一堆错误,不想吐槽了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants