Bisexual border

PATH: canvas/misc/bisexual
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/bisexual?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/bisexual?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Blur

PATH: canvas/misc/blur
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/blur?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/blur?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Circle crop

PATH: canvas/misc/circle
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/circle?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/circle?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Color viewer

PATH: canvas/misc/colorviewer
METHOD: get
Required queries:
  1. hex - Required (hex value without the #)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/colorviewer?hex=ffffff').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/colorviewer?hex=ffffff'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Heart crop

PATH: canvas/misc/heart
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/heart?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/heart?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Hex

PATH: canvas/misc/hex
METHOD: get
Required queries:
  1. rgb - Required (rgb value splitted by ,)
Status: 200 | Response type: json
Output:
{
hex: 'ffffff'
}
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}

Horny

PATH: canvas/misc/horny
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/horny?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/horny?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Its so stupid

PATH: canvas/misc/its-so-stupid
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/its-so-stupid?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/its-so-stupid?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Jpg

PATH: canvas/misc/jpg
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/jpg?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/jpg?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Lesbian border

PATH: canvas/misc/lesbian
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/lesbian?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/lesbian?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

lgbt border

PATH: canvas/misc/lgbt
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/lgbt?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/lgbt?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Lied

PATH: canvas/misc/lied
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
  2. username - Required (must be less than 20 characters)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/lied?username=Telk&avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/lied?username=Telk&avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Lolice

PATH: canvas/misc/lolice
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/lolice?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/lolice?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Genshin namecard

PATH: canvas/misc/namecard
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
  2. birthday - Required (dd/mm/yyyy)
  3. username - Required (A username)
  4. description - Optional
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/namecard?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/namecard?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

No Bitches

PATH: canvas/misc/nobitches
METHOD: get
Required queries:
  1. no - Required (no bitches?)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/nobitches?no=no+sra+update').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/nobitches?no=no+sra+update'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Nonbinary border

PATH: canvas/misc/nonbinary
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/nonbinary?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/nonbinary?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Oogway

PATH: canvas/misc/oogway
METHOD: get
Required queries:
  1. quote - Required
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/oogway?quote=sra+is+poggers').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/oogway?quote=sra+is+poggers'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Oogway 2

PATH: canvas/misc/oogway2
METHOD: get
Required queries:
  1. quote - Required
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/oogway2?quote=sra+is+poggers').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/oogway2?quote=sra+is+poggers'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Pansexual border

PATH: canvas/misc/pansexual
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/pansexual?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/pansexual?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Pixelate

PATH: canvas/misc/pixelate
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/pixelate?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/pixelate?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

RGB

PATH: canvas/misc/rgb
METHOD: get
Required queries:
  1. hex - Required (hex value without the #)
Status: 200 | Response type: image/png
Output:
{
r: 255,
g: 255,
b: 255
}
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}

Simp card

PATH: canvas/misc/simpcard
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/simpcard?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/simpcard?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Spin

PATH: canvas/misc/spin
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/spin?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/spin?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Tonikawa

PATH: canvas/misc/tonikawa
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/tonikawa?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/tonikawa?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Transgender border

PATH: canvas/misc/transgender
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/transgender?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/transgender?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Tweet

PATH: canvas/misc/tweet
METHOD: get
Required queries:
  1. displayname - Required (Max 32 chars)
  2. username - Required (max 15 characters)
  3. avatar - Required (use png or jpg)
  4. comment - Required (max 1000 characters)
  5. replies - Optional (number of replies)
  6. replies - Optional (number of likes)
  7. retweets - Optional (number of retweets)
  8. theme - Optional (light, dim or dark)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/tweet?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/tweet?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)

Youtube comment

PATH: canvas/misc/youtube-comment
METHOD: get
Required queries:
  1. username - Required (max 25 characters)
  2. avatar - Required (use png or jpg)
  3. comment - Required (max 1000 characters)
Status: 200 | Response type: image/png
Output:
PNG image buffer
Status: 400 | Response type: json
Output:
{
error: "missing x query"
}
Status: 429 | Response type: json
Output:
{
"error": "Too many requests, please try again later."
}
const phin = require('phin')
let fs = require('fs')
phin('https://some-random-api.ml/canvas/blur?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png').then(res => {
if (res.statusCode !== 200) {
    console.log('Bad status code')
    console.log(JSON.parse(res.body))
}
fs.writeFile('./image.png', res.body, (err) => {
    if (err) return console.log('Something went wrong when writing the file')
    console.log('Image has been written')
})
})
from requests import get
from os import getcwd

URL = 'https://some-random-api.ml/canvas/blur?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

if resp.status_code == 200:
    open('image.png', 'wb').write(resp.content)
    print(f'File saved in {getcwd()}')
elif resp.status_code != 200:
    jsonresp = resp.json()
    print(resp.status_code)
    print(jsonresp)