Comrade

PATH: canvas/overlay/comrade
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/comrade?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/comrade?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)

Gay

PATH: canvas/overlay/gay
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/gay?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/gay?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)

Glass

PATH: canvas/overlay/glass
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/glass?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/glass?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)

Jail

PATH: canvas/overlay/jail
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/jail?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/jail?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)

Passed

PATH: canvas/overlay/passed
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/passed?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/passed?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)

Triggered

PATH: canvas/overlay/triggered
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/triggered?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.gif', 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/triggered?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png'
resp = get(URL)

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

Wasted

PATH: canvas/overlay/wasted
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/wasted?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/wasted?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)