Skip to main content
POST
Create a meme generation

Authorizations

Authorization
string
header
default:ag_your_api_key
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

sourceUrl
string<uri>
required
sourceText
string
Maximum string length: 8000
sourceImage
string

PNG, JPG, or WebP data URI used as the primary source.

brandUrl
string<uri>
brandProfileId
string<uuid>
aspectRatio
enum<string>
default:1:1
Available options:
9:16,
1:1,
4:5,
16:9
outputFormat
enum<string>
default:png
Available options:
png,
jpeg,
webp
audienceNote
string
Maximum string length: 800
avoidNote
string
Maximum string length: 800
styleNotes
string
Maximum string length: 800

Response

Meme generation queued.

jobId
string<uuid>
required
status
enum<string>
required
Available options:
queued
stages
string[]
required