Back to Autogpt

Bannerbear Text Overlay

docs/integrations/block-integrations/bannerbear/text_overlay.md

0.6.442.1 KB
Original Source

Bannerbear Text Overlay

<!-- MANUAL: file_description -->

Blocks for generating dynamic images with text overlays using Bannerbear templates.

<!-- END MANUAL -->

Bannerbear Text Overlay

What it is

Add text overlay to images using Bannerbear templates. Perfect for creating social media graphics, marketing materials, and dynamic image content.

How it works

<!-- MANUAL: how_it_works -->

This block uses Bannerbear's API to generate images by populating templates with dynamic text and images. Create templates in Bannerbear with text layers, then modify layer content programmatically.

Webhooks can notify you when asynchronous generation completes. Include custom metadata for tracking generated images.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
template_idThe unique ID of your Bannerbear templatestrYes
project_idOptional: Project ID (required when using Master API Key)strNo
text_modificationsList of text layers to modify in the templateList[TextModification]Yes
image_urlOptional: URL of an image to use in the templatestrNo
image_layer_nameOptional: Name of the image layer in the templatestrNo
webhook_urlOptional: URL to receive webhook notification when image is readystrNo
metadataOptional: Custom metadata to attach to the imagestrNo

Outputs

OutputDescriptionType
errorError message if the operation failedstr
successWhether the image generation was successfully initiatedbool
image_urlURL of the generated image (if synchronous) or placeholderstr
uidUnique identifier for the generated imagestr
statusStatus of the image generationstr

Possible use case

<!-- MANUAL: use_case -->

Social Media Graphics: Generate personalized social posts with dynamic quotes, stats, or headlines.

Marketing Banners: Create ad banners with different product names, prices, or offers.

Certificates & Cards: Generate personalized certificates, invitations, or greeting cards.

<!-- END MANUAL -->