<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Dhairya Chheda</title>
    <description>The latest articles on DEV Community by Dhairya Chheda (@dhairya_chheda).</description>
    <link>https://dev.to/dhairya_chheda</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1778434%2F78f638fa-c2a8-4982-8675-8eaa207411e0.png</url>
      <title>DEV Community: Dhairya Chheda</title>
      <link>https://dev.to/dhairya_chheda</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dhairya_chheda"/>
    <language>en</language>
    <item>
      <title>PrintAI - A Print on Demand E-com website powered with Wix and AI</title>
      <dc:creator>Dhairya Chheda</dc:creator>
      <pubDate>Sun, 14 Jul 2024 11:00:43 +0000</pubDate>
      <link>https://dev.to/dhairya_chheda/printai-a-print-on-demand-e-com-website-powered-with-wix-and-ai-538l</link>
      <guid>https://dev.to/dhairya_chheda/printai-a-print-on-demand-e-com-website-powered-with-wix-and-ai-538l</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/wix"&gt;Wix Studio Challenge &lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;We’ve innovatively combined print-on-demand with AI to create a custom product configurator. This advanced solution allows users to enter a prompt and choose from four design options for their t-shirts. Users can opt to remove the background and add designs to both the front and back of the shirt.&lt;/p&gt;

&lt;p&gt;Utilizing a custom element, we implemented a color picker, enabling users to select any t-shirt color they desire. Additionally, users have the option to upload their own images. Once satisfied with their selections, they can easily add the product to their cart.&lt;/p&gt;

&lt;p&gt;This integration of AI with print-on-demand showcases our commitment to providing a personalized and engaging user experience, leveraging cutting-edge technology to meet modern consumer demands.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://wixfreaks.wixstudio.io/printai" rel="noopener noreferrer"&gt;https://wixfreaks.wixstudio.io/printai&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;
&lt;div&gt;
  &lt;iframe src="https://loom.com/embed/2d6dbb1c73bc44c884da23fac111fa9f"&gt;
  &lt;/iframe&gt;
&lt;/div&gt;


&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7cpgpx5au64ilq7knn76.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7cpgpx5au64ilq7knn76.png" alt="Image description" width="800" height="622"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyowh861rsdrqm6jwbg5h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyowh861rsdrqm6jwbg5h.png" alt="Image description" width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftf35ngwz9gcm9yaow9fk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftf35ngwz9gcm9yaow9fk.png" alt="Image description" width="800" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Development Journey
&lt;/h2&gt;

&lt;p&gt;Leveraging Wix Studio’s robust APIs has enabled us to develop an innovative and trendsetting solution in the age of AI. By utilizing backend file capabilities, we securely store and retrieve API keys, ensuring the utmost security. This infrastructure allows us to seamlessly call and test OpenAI and background removal APIs, enhancing our product’s functionality.&lt;/p&gt;

&lt;p&gt;Additionally, with the wix-ecomm API, we crafted a custom product integration that dynamically adjusts to user specifications. This ensures both the admin and the user receive precise order details, enhancing transparency and accuracy.&lt;/p&gt;

&lt;p&gt;The element API calls further enabled us to elevate the user experience, providing a seamless and intuitive interface. Wix Studio’s comprehensive API toolkit has been instrumental in creating this cutting-edge product, showcasing the platform’s potential to support advanced, AI-driven applications.&lt;/p&gt;

&lt;h2&gt;
  
  
  APIs and Library we utilised
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;We used the openAI API to generate Images&lt;/li&gt;
&lt;li&gt;Bg.remove API to remove the background from an Image&lt;/li&gt;
&lt;li&gt;wixEcom API to add the specifcations of the product to the cart using addToCart()&lt;/li&gt;
&lt;li&gt;We also have used a Custom Element, that acts as a color picker for the t-shirt. &lt;/li&gt;
&lt;li&gt;Wix Secrets Manager to store and get the API&lt;/li&gt;
&lt;li&gt;Wix-Fetch to call and get the API &lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>wixstudiochallenge</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
