Memelord API
Generate memes, edit images, and more!
Pipelines
Our Memes API provides access to all of our Graphic Pipelines: Text-to-Image, Effect, and Mirage. Read about Authentification if that's your first time using Alphakek API.
Create an image from a text prompt
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
promptstringRequired
seedintegerOptional
widthinteger · min: 512 · max: 1280OptionalDefault:
1280heightinteger · min: 512 · max: 1280OptionalDefault:
800Responses
200
Image file in PNG format
image/png
402
Insufficient or unchargeable credits
422
Validation Error
application/json
500
Failed to apply effect. Your credits were refunded.
post/visuals/create_image
POST /visuals/create_image HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 52
{
"prompt": "text",
"seed": 1,
"width": 1280,
"height": 800
}Sending form-data requests
/visuals/apply_effect and /visuals/appy_mirage are using multipart/form-data format. Imagine you have a file named selfie.png. In this case, you'll need to call the following code:
Chat API Costs
Each API call costs 1 credit. Read more at API Pricing.
Last updated