How to use the API

DubstepMad is an image manipulation/generation API. No authorization is required.
Base URL: https://api.dubstepmad.com/api/endpoints/<endpoint>?params

JavaScript

With the dubstepmad-api-wrapper package:
import dm from 'dubstepmad-api-wrapper';
const img = await dm.lisastage('Hello!');
/* img is a Buffer (PNG). Handle errors via try/catch. */
Or direct fetch:
const res = await fetch('https://api.dubstepmad.com/api/endpoints/lisastage?text=' + encodeURIComponent('Hello'));
if (!res.ok) console.log(await res.json());
const buf = Buffer.from(await res.arrayBuffer());

Quota

  • Free: 1 r/s, 50 r/h, 250 r/d
  • Hobby (£3): 2 r/s, 80 r/h, 380 r/d
  • Standard (£7): 3 r/s, 200 r/h, 800 r/d

Contact us on Discord to upgrade tiers.

Endpoints

View all endpoints (Swagger)

Note: If you don’t receive an image, you’ll receive a JSON error; log it to debug.