Use the Bannerbear REST API or SDKs to auto generate social media posts
With the Bannerbear API it is easy to auto generate social media posts 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 social media posts 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.
Streamline asset creation by generating and saving images directly in Airtable. In this article, learn how to set up this simple, on-demand workflow with Bannerbear and Airtable's Scripting extension.
Start a free trial with 30 API credits,
no credit card required