AI图片像素化接口

GET
https://v2.xxapi.cn/api/GeneratePixelImage

接口描述

免费API 提供AI像素画生成服务,只需上传一张图片,即可自动生成经典复古像素风格图像。支持多种分辨率、复古色彩还原与像素格渲染效果,适合二次元爱好者、游戏开发者、像素艺术设计师使用。操作简单,调用接口即可快速实现图片像素化与风格化效果。

请求参数

相关套餐

请求示例

var axios = require('axios')

var config = {
  method: 'get',
  url: 'https://v2.xxapi.cn/api/GeneratePixelImage?url=https://images.xxapi.cn/images/baisi/weS8nXpjdMpXRmGL0C9r5eKp.jpg'
}

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })

返回示例

{
    "code": 200,
    "msg": "数据请求成功",
    "data": "https://leo-online.fbcontent.cn/leo-gallery/199a080c7ebd22b.png",
    "request_id": "9b1f4492e0f8b3403d73cbae"
}