Use the Bannerbear REST API or SDKs to auto generate images
With the Bannerbear API it is easy to auto generate images in your app or script.
Simply send a JSON payload of text, external file urls and other attributes to our API and we do the rest. There are also official libraries in Node, Ruby and PHP to make integration even faster.
API Reference

Knowledge Base articles on how to auto generate images via API
In this tutorial, you’ll learn how to add a screenshot of your webpage to your dynamic Open Graph image to make social previews more eye-catching.
In this tutorial, learn how to automatically generate branded OG images for every page and make your links stand out on social media using Bannerbear. We’ll guide you step-by-step on how to integrate Bannerbear with your Next.js project.
If you’re looking to build a Telegram chatbot that can automatically generate images for social media, blogs, marketing, and more based on user’s input text and image, this step-by-step Node.js guide will show you exactly how to do it.
Start a free trial with 30 API credits,
no credit card required