1. Create a key
Open/app/api-keys, create a key, and store it as an environment variable.
2. Queue a generation
Send exactly one primary source. This example uses a URL.docs-example: queued-response
sourceUrl, sourceText, a JSON sourceImage data URI, or a
multipart sourcePdf/sourcePptx/sourceImage upload to POST /api/meme
instead. Meme jobs use the same 202 response shape and polling endpoint,
support 1:1, 4:5, 9:16, and 16:9, and cost 2 credits because they
include live culture scouting and creative selection before image generation.
3. Poll the job
imageUrl.
docs-example: completed-job-response