This free embeddable widget provides your website with a free and powerful AI portrait generator. Any visitor to your website can use the generator to create a hot portrait without leaving your website. They are redirected to www.aihotportrait.com in a new tab to generate more images or if our queue is full.
Copy and paste the following HTML code to add the AI Portrait Generator to your website.
<div id="aihp-embed"></div> <script defer src="https://www.aihotportrait.com/embed/aihp-embed-v1.js"</script>
You can add <div id="aihp-embed"></div> anywhere in your HTML body. Script should pasted in the <head> tag of your website.
The script has defer attribute so it won't block the loading of your website.
It's also very lightweight: ~10kB including styles.
data-affiliate-id:
Your affiliate ID for tracking.
Get in touch
to get one once you're confident you can send us traffic.data-theme: "dark" (default) or "light"data-cta-text: Text for the call-to-action when and after generating an imagedata-cta-generate-button-text: Text for the generate buttondata-aihp-element-id: ID of the target container (defaults to "aihp-embed")/* Somewhere in your HTML <body> */ <div id="my-custom-embed-container"></div> /* In <head> */ <script defer src="https://www.aihotportrait.com/embed/aihp-embed-v1.js" data-affiliate-id="widget-demo" data-theme="light" data-cta-text="Create more amazing images" data-cta-generate-button-text="Create my Hot Portrait" data-aihp-element-id="my-custom-embed-container"> </script>