You can use the URL API to directly embed links to generated images in your content. (These images will be served from our servers.) Once you designed your template in your Placid account, you can build a URL containing infos about your template and the elements you want to dynamically change.
The base URL should look like this:
https://placid.app/u/qsraj // - qsraj = Template ID
..but you can easily change the
title Parameter into something else:
Go ahead and try changing this URL and calling the image to try it out!
You can use URL parameters named like your template layers to change the content of specific elements. If you don't include a parameter, the default value from your template will be taken.
Here's how to use the parameters for different layout elements:
https://placid.app/u/qsraj?image=https://yourwebsite.com // - fills your image element with a screenshot of this URL https://placid.app/u/qsraj?image=$PIC$https://yourwebsite.com/image.png // - fills your image element with the image source
https://placid.app/u/qsraj?browser|url=example-url.com&browser|image=https://yourwebsite.com // - fills a browserframe element with a URL in the address bar and a screenshot of the given URL
We recommend calling the URL of the generated image once (or monthly) so that it's already pre-generated when the social platforms are crawling your page. We are keeping your generated images in our image cache for a limited time. Older images will be re-generated when they are requested again.
If you have the possibility, we would recommend to store the generated images on your own server.