Amogus

PATH: premium/amongus
METHOD: get
Required queries:
  1. avatar - Required (use png or jpg)
  2. username - Required (maximum 30 characters)
  3. key - Required (At least tier 1)
  4. custom - Optional (Custom text rather than ejecting the user)
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/premium/amongus?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png&username=Telk&key=hello').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/premium/amongus?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png&username=Telk&key=hello'
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)

Petpet

PATH: premium/petpet
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/premium/petpet?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png&key=hello').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/premium/petpet?avatar=https://cdn.discordapp.com/avatars/560789882738573324/bc220b0eeeabbe234026e4881f3c3b9c.png&key=hello'
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)

Rank card

PATH: premium/rankcard/:template
METHOD: get
Required queries:
  1. username - Required (maximum 32 characters)
  2. avatar - Required (use png or jpg)
  3. discriminator - Required
  4. level - Required
  5. cxp - Required (Current XP)
  6. nxp - Required (Needed XP)
  7. key - Required
  8. bg - Optional (Custom background url, requires tier 2 key)
  9. cbg - Optional (Custom background color, requires tier 1 key)
  10. ctext - Optional (Text color)
  11. ccxp - Optional (Current XP color)
  12. cbar - Optional (XP bar color)
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."
}

For template pick a number from 1-8

Welcome images

PATH: premium/welcome/:template
METHOD: get
Required queries:
  1. type - Required
  2. username - Required
  3. avatar - Required (use png or jpg)
  4. discriminator - Required
  5. guildName - Required
  6. memberCount - Required
  7. textcolor - Required (red, orange, yellow, green, blue, indigo, purple, pink, black, or white)
  8. key - Required (Tier 2 for this endpoint, use the free endpoint if you do not have a tier 2 key)
  9. bg - Required (Custom background url, requires tier 2 key)
  10. font - Optional (Choose a custom font from our predetermined list, use a number from 1-10)
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."
}

For template pick a number from 1-7