I can see this being quite useful even when I already have a featured image for my blog but want to automatically use that image with the title of the post overlaid on top of it. No impact on the image the reader sees on my blog while still making the social media image more informative with no effort on my part.
Good question! It can be used for example in a blog post application to generate a social card image (=when you share a post on Twitter for example) for each blog post automatically. You can do it e.g. by adding a meta tag with property="og:image" and then assigning for the content property the url to the image generation api route. If you add the post title to be passed for the api route then your social card image generation is fully automatic and dynamic. Dunno if the explanation was good, but vercel has a good example of this here vercel.com/docs/concepts/functions/edge-functions/og-image-examples#dynamic-text-generated-as-image
I can see this being quite useful even when I already have a featured image for my blog but want to automatically use that image with the title of the post overlaid on top of it. No impact on the image the reader sees on my blog while still making the social media image more informative with no effort on my part.
Thats a great idea!
very cool
Indeed!
So video is great
Good question! It can be used for example in a blog post application to generate a social card image (=when you share a post on Twitter for example) for each blog post automatically. You can do it e.g. by adding a meta tag with property="og:image" and then assigning for the content property the url to the image generation api route. If you add the post title to be passed for the api route then your social card image generation is fully automatic and dynamic. Dunno if the explanation was good, but vercel has a good example of this here vercel.com/docs/concepts/functions/edge-functions/og-image-examples#dynamic-text-generated-as-image
@@TuomoKankaanpaa Thanks a lot for answer