- Added emoji support.
- Removed support for legacy
alt
query parameter for custom backgrounds.
- Added template
keywords
to improve search results.
- Added support for
.webp
animated images.
- Added support for
color=<str>,<str>
query parameter to control the color of text.
- Updated
/images/custom
and/templates/custom
to accept template IDs asbackground
.
- Added support for
layout=<str>
to request text be positioned at the top of the image.
- Added support for
scale=<float>
query parameter to control the size of the overlay image. - Added support for
center=<float>,<float>
query parameter to control the position of the overlay image.
- Added support for adding overlays on top of GIF backgrounds.
- Updated APIs to default to
.gif
if available andextension
not specified.
- Added support for
start=<int,int>
/stop=<int,int>
query parameters to control text animation. - Added text animation to static backgrounds when
gif
is requested.
- Added
text[]
as as alias forline[]
(preview) andtext_lines[]
(create).
- Added
font
parameter to override a template's font. - Added a
/fonts
API to list the available fonts.
- Added
frames
parameter to manually reduce GIF sizes.
- Added support to
start
/stop
text in GIFs.
- Added support for rotated overlay images.
- Added support for multiple overlays via comma-separated URLs in the
style
parameter. - Added
overlays
count in/templates
responses.
- Replaced
example
field in/templates
responses with{ "text": [str] , "url": str }
.
- Added
confidence
ratio to results from/images/automatic
.
- Added redirect to
.gif
format whenstyle=animated
parameter is present. - Added
animated
parameter to/templates
to find templates supporting animation.
- Added escape characters for
<
and>
as~l
and~g
, respectively.
- Renamed
image_url
body parameter tobackground
to match the URL value.
- Added support for custom overlays when the
style
parameter is included in image URLs.
- Updated
/images/custom
to return previous results withGET
requests.
- Added
filter
parameter to/images
and/templates
to query for matching names and examples.
- Added
/images/custom
as an alias for/templates/custom
. - Removed
POST /templates/*
from the documentation to clarify routes.
- Updated APIs that accept
text_lines[]
to support/
as a placeholder for blank lines.
- Renamed
template_key
totemplate_id
in APIs.
- Added support for the
X-API-KEY
header to disable watermarks.
- Renamed
sample
toexample
in template API responses.
- Added
lines
to/templates/<key>
responses to indicate the maximum number of supported lines of text.
- Added
/images/preview.jpg
route for quicker responses when clients want to show live previews of a custom meme.
- Added
extension
parameter to specify image format when using POST endpoints.
- Initial release of the API rewrite using Sanic.