- Guide
Generate a share image for every post when it is published, with a Sanity Function
A Sanity Function renders a 1200x630 share image from HTML when a post is published, uploads it as an asset and sets the post's ogImage field. Tested end to end in a real project. Requires a thirds.ai account and API key.
Carus