I have shared in the image how to use it and there is no documentation on how to use it

If you read the description in the asset this is an asset-based on the HTML to canvas script.
Also, it's probably giving you an error because you installed the demo without installing the asset/component itself. I installed the component and the demo on my side, first the component and then the demo, and it works just fine.
Can you please be more specific, it can be a lot of different use cases and a little difficult to replicate your error.
But the component just receives the container id that you want to pass to the image and then it returns binary data that you can use to download or even save...
