ℹī¸/canvas

This is complete documentation about how to edit Images using Random Stuff API (This Endpoint is accessible using free plan as well as Paid plan)

Since this API is only accessible using RapidAPI, you need to change the base URL to https://random-stuff-api.p.rapidapi.com

This endpoint allows you to manipulate images

GET https://api.pgamerx.com/reddit

Path Parameters

NameTypeDescription

method*

String

What type of edit do you want to perform

Query Parameters

NameTypeDescription

img1

String

First Image URL (If Needed)

img2

String

Second Image URL (If Needed)

img3

String

Third Image URL (If Needed)

txt

String

Text string (If Needed)

Headers

NameTypeDescription

Authorizaion*

String

x-rapidapi-key*

String

The API key you received from RapidApi

x-rapidapi-host*

String

It should always be:

"random-stuff-api.p.rapidapi.com"

{
  "base64": "BASE_64_HERE"
}

Available Methods:

  • METHOD(S) IN WHICH ONLY 1 IMAGE IS REQUIRED:

    affect, beautiful, wanted, delete, trigger, facepalm, blur, hitler, kiss, jail, invert, jokeOverHead

  • METHOD(S) IN WHICH 2 IMAGES ARE REQUIRED:

    bed, fuse, kiss, slap, spank

  • METHOD(S) IN WHICH 3 IMAGES ARE REQUIRED:

    distracted

  • METHOD(S) IN WHICH ONLY TEXT IS REQUIRED:

    changemymind

var axios = require("axios").default;

var options = {
  method: 'GET',
  url: 'https://random-stuff-api.p.rapidapi.com/canvas/wanted',
  params: {img1: '',img2:'',img3:'',txt:''},
  headers: {
    authorization: 'Random Stuff API',
    'x-rapidapi-host': 'random-stuff-api.p.rapidapi.com',
    'x-rapidapi-key': 'RapidAPI key'
  }
};

axios.request(options).then(function (response) {
	console.log(response.data);
}).catch(function (error) {
	console.error(error);
});

For examples in all languages, checkout RapidAPI Page

Last updated