getCldOgImageUrl Examples
The below examples use the CldImage component to render the images. This is not required, you can use the URL returned by getCldOgImageUrl in any way you like.
Basic Image
src
: The public ID of the image to use as a Social Card
Change Background
replaceBackground
: Uses generative AI to replace a background
Text Overlay
text
: Adds basic text to the image