256art-images 中文文档教程
256ART
使生成艺术家可以访问所有 256ART 作品。
请注意这是一个巨大的包。
npm install --save 256art-images
const TwoFiveSixImages = require("256art-images");
Examples
获取 base64 格式的全分辨率图像
let image = TwoFiveSixImages.getFullResBase64FromId(1);
获取 base64 格式的缩略图
let thumb = TwoFiveSixImages.getThumbBase64FromId(1);
256ART
Gives generative artists access to all 256ART pieces.
Please note this is a huge package.
npm install --save 256art-images
const TwoFiveSixImages = require("256art-images");
Examples
Get full res image in base64 format
let image = TwoFiveSixImages.getFullResBase64FromId(1);
Get thumbnail in base64 format
let thumb = TwoFiveSixImages.getThumbBase64FromId(1);