Meme Generator

FREEMIUM
By ronreiter
Updated 5 months ago
Entertainment
8.6/10
Popularity Score
153ms
Latency
95%
Success Rate

Meme Generator API Documentation

A simple meme generator that generates memes by choosing a preloaded images, and short top and bottom text sentences. Memes are served in the JPEG image file format.

View API Details
GETGenerate meme
GETGet fonts
POSTUpload image
POSTUpload font
GETGet images
GETGenerate meme

Simple meme generator that uses a predefined set of images.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
memeSTRING
REQUIREDIndicates which image to use.
topSTRING
REQUIREDThe text to write at the top of the image.
bottomSTRING
REQUIREDThe text to write at the bottom of the image.
Optional Parameters
fontSTRING
OPTIONALThe font used to generate the text
font_sizeSTRING
OPTIONALOverride the font size used instead of trying to fit the text into a line
Code Snippet
unirest.get("https://ronreiter-meme-generator.p.rapidapi.com/meme?font=Impact&font_size=50&meme=Condescending-Wonka&top=Top+text&bottom=Bottom+text")
.header("X-RapidAPI-Host", "ronreiter-meme-generator.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://ronreiter-meme-generator.p.rapidapi.com/meme
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://ronreiter-meme-generator.p.rapidapi.com/meme?font=Impact&font_size=50&meme=Condescending-Wonka&top=Top+text&bottom=Bottom+text")
.header("X-RapidAPI-Host", "ronreiter-meme-generator.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication