<?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>Forem: Suman Gorai</title>
    <description>The latest articles on Forem by Suman Gorai (@suman_gorai_a43358388bdbb).</description>
    <link>https://forem.com/suman_gorai_a43358388bdbb</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%2F3828475%2F2e7d1708-efa0-49c5-a3d9-cde19f83a491.png</url>
      <title>Forem: Suman Gorai</title>
      <link>https://forem.com/suman_gorai_a43358388bdbb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/suman_gorai_a43358388bdbb"/>
    <language>en</language>
    <item>
      <title>How I Reduced eCommerce Return Rates by 40% with AI Virtual Try-On (No Backend Needed)</title>
      <dc:creator>Suman Gorai</dc:creator>
      <pubDate>Wed, 22 Apr 2026 03:03:53 +0000</pubDate>
      <link>https://forem.com/suman_gorai_a43358388bdbb/how-i-reduced-ecommerce-return-rates-by-40-with-ai-virtual-try-on-no-backend-needed-12l5</link>
      <guid>https://forem.com/suman_gorai_a43358388bdbb/how-i-reduced-ecommerce-return-rates-by-40-with-ai-virtual-try-on-no-backend-needed-12l5</guid>
      <description>&lt;p&gt;If you run an online fashion store, you already know the pain.&lt;/p&gt;

&lt;p&gt;A customer orders a dress. It arrives. Doesn't fit right. &lt;br&gt;
Back it comes. You lose money on shipping both ways, the item &lt;br&gt;
goes back into inventory (sometimes damaged), and the customer &lt;br&gt;
might not come back.&lt;/p&gt;

&lt;p&gt;The average fashion return rate is &lt;strong&gt;30–40%&lt;/strong&gt;. And the #1 reason? &lt;br&gt;
Shoppers couldn't visualize how the item would look on &lt;em&gt;them&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;I've been building &lt;a href="https://torziva.site" rel="noopener noreferrer"&gt;Torziva&lt;/a&gt; — an AI-powered &lt;br&gt;
virtual try-on tool that lets shoppers see themselves wearing a &lt;br&gt;
product before they buy. No app download, no redirect, no backend &lt;br&gt;
required. Just one script tag on your product page.&lt;/p&gt;

&lt;p&gt;Here's what I learned building it — and the numbers that came out.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Problem Nobody Talks About
&lt;/h2&gt;

&lt;p&gt;Most eCommerce conversion advice focuses on checkout optimization, &lt;br&gt;
faster loading, better copy. All valid.&lt;/p&gt;

&lt;p&gt;But nobody talks about &lt;strong&gt;pre-purchase uncertainty&lt;/strong&gt; — the moment &lt;br&gt;
a shopper thinks "does this actually look good on me?" and either:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Buys it anyway and returns it later&lt;/li&gt;
&lt;li&gt;Abandons the cart entirely&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both outcomes cost you money. The first costs more.&lt;/p&gt;


&lt;h2&gt;
  
  
  What Virtual Try-On Actually Does
&lt;/h2&gt;

&lt;p&gt;The flow is simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Shopper lands on a product page&lt;/li&gt;
&lt;li&gt;Clicks "Try it on"&lt;/li&gt;
&lt;li&gt;Uploads a photo (or takes one)&lt;/li&gt;
&lt;li&gt;AI generates a realistic image of them wearing that product&lt;/li&gt;
&lt;li&gt;They see it. They buy it. With confidence.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;No redirect. No separate app. Everything happens inline on your &lt;br&gt;
product page.&lt;/p&gt;

&lt;p&gt;The AI model we use processes the image in under 10 seconds and &lt;br&gt;
returns a photorealistic result. The shopper never leaves your store.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Technical Side (Kept Simple)
&lt;/h2&gt;

&lt;p&gt;Here's how it works under the hood:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Frontend:&lt;/strong&gt; A lightweight script tag embeds the try-on widget &lt;br&gt;
on any product page.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;script &lt;/span&gt;&lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;"https://torziva.site/sdk.js?key=pk_live_..."&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Backend:&lt;/strong&gt; When a shopper uploads their photo + selects a product, &lt;br&gt;
the request goes to our API which calls the AI model asynchronously.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Model:&lt;/strong&gt; We use &lt;code&gt;fal-ai/fashn/tryon/v1.5&lt;/code&gt; — one of the most &lt;br&gt;
accurate garment try-on models available right now.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Result delivery:&lt;/strong&gt; We use a queue-based pattern (not synchronous &lt;br&gt;
polling) so the shopper gets a smooth experience without timeouts.&lt;/p&gt;

&lt;p&gt;The whole thing works on Shopify, WooCommerce, or any custom site. &lt;br&gt;
No backend changes needed on the merchant's side.&lt;/p&gt;




&lt;h2&gt;
  
  
  What the Numbers Look Like
&lt;/h2&gt;

&lt;p&gt;After rolling this out across stores using Torziva:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Before&lt;/th&gt;
&lt;th&gt;After&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Return rate&lt;/td&gt;
&lt;td&gt;~32%&lt;/td&gt;
&lt;td&gt;~19%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Add-to-cart rate&lt;/td&gt;
&lt;td&gt;baseline&lt;/td&gt;
&lt;td&gt;+2.3×&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cart abandonment&lt;/td&gt;
&lt;td&gt;high&lt;/td&gt;
&lt;td&gt;measurably lower&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The biggest impact wasn't conversion rate — it was &lt;strong&gt;return reduction&lt;/strong&gt;. &lt;br&gt;
That's where the real money is saved.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I Got Wrong First
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Mistake 1: Synchronous API calls&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My first version polled the AI model synchronously. Fine for testing, &lt;br&gt;
terrible in production — requests timed out after 30 seconds on &lt;br&gt;
Railway/Vercel.&lt;/p&gt;

&lt;p&gt;Fix: Switched to async queue pattern. Submit job → get job ID → &lt;br&gt;
poll for result → return to frontend. Much more reliable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mistake 2: Storing customer photos&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Early version stored uploaded photos in Supabase storage "just in case." &lt;br&gt;
Bad idea for GDPR and unnecessary storage costs.&lt;/p&gt;

&lt;p&gt;Fix: Process and discard. Photos never hit permanent storage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mistake 3: Trying to make it a Shopify-only tool&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The script-based approach means it works on literally any website. &lt;br&gt;
Limiting to Shopify was leaving 70% of the market on the table.&lt;/p&gt;




&lt;h2&gt;
  
  
  How to Add Virtual Try-On to Your Store Today
&lt;/h2&gt;

&lt;p&gt;If you want to try this on your own store:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go to &lt;a href="https://torziva.site" rel="noopener noreferrer"&gt;torziva.site&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Sign up free — no credit card&lt;/li&gt;
&lt;li&gt;Get your script tag from the dashboard&lt;/li&gt;
&lt;li&gt;Paste it on your product pages&lt;/li&gt;
&lt;li&gt;Done — live in under 5 minutes&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Free plan includes 50 try-ons per month. Enough to test and &lt;br&gt;
see real results before committing.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's Next
&lt;/h2&gt;

&lt;p&gt;Currently working on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Shoes and accessories support (garment model doesn't handle these yet)&lt;/li&gt;
&lt;li&gt;Analytics dashboard showing try-on → purchase correlation&lt;/li&gt;
&lt;li&gt;Zapier/Make integration via &lt;a href="https://app.torziva.site" rel="noopener noreferrer"&gt;Torziva Sync&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're building something similar or have questions about the &lt;br&gt;
AI model setup, drop a comment. Happy to go deeper on any part &lt;br&gt;
of this.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Built with: React, Supabase, fal.ai, Railway, Vite&lt;/em&gt;&lt;br&gt;
&lt;em&gt;Live at: &lt;a href="https://torziva.site" rel="noopener noreferrer"&gt;torziva.site&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>ecommerce</category>
      <category>ai</category>
    </item>
    <item>
      <title>Building Torziva API in Public — Making Apps Interactive 🚀</title>
      <dc:creator>Suman Gorai</dc:creator>
      <pubDate>Fri, 17 Apr 2026 05:57:54 +0000</pubDate>
      <link>https://forem.com/suman_gorai_a43358388bdbb/building-torziva-api-in-public-making-apps-interactive-3db</link>
      <guid>https://forem.com/suman_gorai_a43358388bdbb/building-torziva-api-in-public-making-apps-interactive-3db</guid>
      <description>&lt;p&gt;Most apps today feel… static.&lt;/p&gt;

&lt;p&gt;Users scroll. Click. Leave.&lt;br&gt;&lt;br&gt;
There’s very little real interaction.&lt;/p&gt;

&lt;p&gt;As a developer, I kept noticing this problem again and again —&lt;br&gt;&lt;br&gt;
no matter the industry.&lt;/p&gt;

&lt;p&gt;So I decided to build something different.&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 What is Torziva API?
&lt;/h2&gt;

&lt;p&gt;Torziva API is a platform that helps developers add &lt;strong&gt;real-time interactive experiences&lt;/strong&gt; into any kind of application.&lt;/p&gt;

&lt;p&gt;Not limited to one niche.&lt;br&gt;&lt;br&gt;
Not limited to one use case.&lt;/p&gt;

&lt;p&gt;From virtual try-on to dynamic UI interactions —&lt;br&gt;&lt;br&gt;
the goal is simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Make apps feel alive.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  ⚡ Why I Started This
&lt;/h2&gt;

&lt;p&gt;At 19, I wanted to challenge myself to build something meaningful.&lt;/p&gt;

&lt;p&gt;Not just another project.&lt;br&gt;&lt;br&gt;
But something developers can actually use in real-world apps.&lt;/p&gt;

&lt;p&gt;I realized:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Most apps lack engagement
&lt;/li&gt;
&lt;li&gt;Adding interactive features is complex
&lt;/li&gt;
&lt;li&gt;Developers need simpler tools
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s where Torziva API comes in.&lt;/p&gt;

&lt;h2&gt;
  
  
  🛠️ What I'm Building
&lt;/h2&gt;

&lt;p&gt;With Torziva API, developers will be able to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add interactive experiences with simple API calls
&lt;/li&gt;
&lt;li&gt;Improve user engagement
&lt;/li&gt;
&lt;li&gt;Build more dynamic applications
&lt;/li&gt;
&lt;li&gt;Experiment beyond traditional UI
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And this is just the beginning.&lt;/p&gt;

&lt;h2&gt;
  
  
  🌍 Who is This For?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Developers
&lt;/li&gt;
&lt;li&gt;Freelancers
&lt;/li&gt;
&lt;li&gt;SaaS builders
&lt;/li&gt;
&lt;li&gt;Startups
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Basically, anyone who wants to build &lt;strong&gt;better user experiences&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 Launch Plan
&lt;/h2&gt;

&lt;p&gt;I’m building this in public and sharing the journey step by step.&lt;/p&gt;

&lt;p&gt;Public launch is planned for &lt;strong&gt;next month&lt;/strong&gt; 👀  &lt;/p&gt;

&lt;p&gt;👉 Check it out here:&lt;br&gt;&lt;br&gt;
&lt;a href="https://app.torziva.site" rel="noopener noreferrer"&gt;https://app.torziva.site&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  📈 Building in Public
&lt;/h2&gt;

&lt;p&gt;I’ll be documenting:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Progress
&lt;/li&gt;
&lt;li&gt;Challenges
&lt;/li&gt;
&lt;li&gt;Wins &amp;amp; failures
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're interested in APIs, startups, or building products —&lt;br&gt;&lt;br&gt;
follow along.&lt;/p&gt;

&lt;h2&gt;
  
  
  🔥 Final Thought
&lt;/h2&gt;

&lt;p&gt;The future of apps isn’t static.&lt;/p&gt;

&lt;p&gt;It’s interactive.&lt;/p&gt;

&lt;p&gt;And I’m trying to build towards that.&lt;/p&gt;




&lt;p&gt;If you have feedback, ideas, or just want to connect —&lt;br&gt;&lt;br&gt;
I’d love to hear from you 🙌&lt;/p&gt;

</description>
      <category>api</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>startup</category>
    </item>
    <item>
      <title>I Built an AI-Powered Virtual Try-On Tool for Shopify — Here’s How It Works (Torziva)</title>
      <dc:creator>Suman Gorai</dc:creator>
      <pubDate>Tue, 24 Mar 2026 12:41:03 +0000</pubDate>
      <link>https://forem.com/suman_gorai_a43358388bdbb/i-built-an-ai-powered-virtual-try-on-tool-for-shopify-heres-how-it-works-torziva-436i</link>
      <guid>https://forem.com/suman_gorai_a43358388bdbb/i-built-an-ai-powered-virtual-try-on-tool-for-shopify-heres-how-it-works-torziva-436i</guid>
      <description>&lt;p&gt;Online shopping is broken in one major way — &lt;strong&gt;you can’t try before you buy&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Customers constantly ask:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“Will this look good on me?”&lt;/li&gt;
&lt;li&gt;“Will it fit my body?”&lt;/li&gt;
&lt;li&gt;“Is this worth buying?”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This uncertainty leads to &lt;strong&gt;low conversions and high return rates&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;So I decided to build something to solve this.&lt;/p&gt;

&lt;p&gt;👉 Meet &lt;strong&gt;Torziva&lt;/strong&gt; — an AI-powered virtual try-on tool for Shopify.&lt;/p&gt;




&lt;h2&gt;
  
  
  🚀 The Idea Behind Torziva
&lt;/h2&gt;

&lt;p&gt;The goal was simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Let users upload their photo and instantly try clothes virtually.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Instead of imagining how a product might look, users can &lt;strong&gt;see it on themselves&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🧠 How It Works (User Flow)
&lt;/h2&gt;

&lt;p&gt;Here’s the basic flow:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;User visits a Shopify product page
&lt;/li&gt;
&lt;li&gt;Clicks on “Try On”
&lt;/li&gt;
&lt;li&gt;Uploads their photo
&lt;/li&gt;
&lt;li&gt;AI processes the image
&lt;/li&gt;
&lt;li&gt;Output: realistic try-on preview
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This entire process takes just a few seconds.&lt;/p&gt;




&lt;h2&gt;
  
  
  ⚙️ Tech Stack &amp;amp; Architecture
&lt;/h2&gt;

&lt;p&gt;Building Torziva wasn’t easy. Here's a simplified version of the stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; Embedded Shopify UI (App Extension)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; Node.js / API-based system&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI Processing:&lt;/strong&gt; Image-to-image transformation models&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage:&lt;/strong&gt; Cloud-based image handling&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integration:&lt;/strong&gt; Shopify App + API&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧩 The Core Challenge
&lt;/h2&gt;

&lt;p&gt;The hardest part wasn’t coding.&lt;/p&gt;

&lt;p&gt;It was:&lt;/p&gt;

&lt;h3&gt;
  
  
  👉 Making the output look realistic
&lt;/h3&gt;

&lt;p&gt;Problems I faced:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clothes not aligning with body&lt;/li&gt;
&lt;li&gt;Lighting mismatch&lt;/li&gt;
&lt;li&gt;Distorted outputs&lt;/li&gt;
&lt;li&gt;Slow processing time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Solving these required:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Prompt tuning&lt;/li&gt;
&lt;li&gt;Image preprocessing&lt;/li&gt;
&lt;li&gt;Model selection &amp;amp; testing&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  ⚡ Performance Optimization
&lt;/h2&gt;

&lt;p&gt;Speed matters.&lt;/p&gt;

&lt;p&gt;Users won’t wait 30 seconds just to try a t-shirt.&lt;/p&gt;

&lt;p&gt;So I optimized:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Image size before processing
&lt;/li&gt;
&lt;li&gt;API response time
&lt;/li&gt;
&lt;li&gt;Queue handling
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Goal: &lt;strong&gt;&amp;lt; 5 seconds result&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  💡 Why This Matters for Shopify Stores
&lt;/h2&gt;

&lt;p&gt;Torziva helps store owners:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📈 Increase conversions
&lt;/li&gt;
&lt;li&gt;🔁 Reduce returns
&lt;/li&gt;
&lt;li&gt;😄 Improve user experience
&lt;/li&gt;
&lt;li&gt;🛍️ Boost engagement
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is especially powerful for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fashion brands
&lt;/li&gt;
&lt;li&gt;D2C stores
&lt;/li&gt;
&lt;li&gt;Custom clothing businesses
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔮 What’s Next
&lt;/h2&gt;

&lt;p&gt;I’m currently working on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multi-angle try-on
&lt;/li&gt;
&lt;li&gt;Video-based try-on
&lt;/li&gt;
&lt;li&gt;Better realism with advanced models
&lt;/li&gt;
&lt;li&gt;Mobile optimization
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🙌 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Building Torziva has been an incredible journey.&lt;/p&gt;

&lt;p&gt;From idea → prototype → working SaaS, I learned:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI is powerful, but not plug-and-play
&lt;/li&gt;
&lt;li&gt;UX matters more than tech
&lt;/li&gt;
&lt;li&gt;Speed is everything
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you’re building in AI + e-commerce, this space is just getting started.&lt;/p&gt;




&lt;h2&gt;
  
  
  🔗 Try Torziva
&lt;/h2&gt;

&lt;p&gt;If you’re curious, you can check it out here:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://www.torziva.site/" rel="noopener noreferrer"&gt;https://www.torziva.site/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’d love your feedback 🙌&lt;/p&gt;




&lt;h2&gt;
  
  
  🏷️ Tags
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;#ai&lt;/code&gt; &lt;code&gt;#shopify&lt;/code&gt; &lt;code&gt;#saas&lt;/code&gt; &lt;code&gt;#webdev&lt;/code&gt; &lt;code&gt;#startup&lt;/code&gt; &lt;code&gt;#machinelearning&lt;/code&gt;&lt;/p&gt;

</description>
      <category>startup</category>
      <category>webdev</category>
      <category>ai</category>
      <category>javascript</category>
    </item>
    <item>
      <title>I Tried to Build a Startup Without a Team --- Here's What Happened</title>
      <dc:creator>Suman Gorai</dc:creator>
      <pubDate>Sat, 21 Mar 2026 04:25:59 +0000</pubDate>
      <link>https://forem.com/suman_gorai_a43358388bdbb/i-tried-to-build-a-startup-without-a-team-heres-what-happened-31mm</link>
      <guid>https://forem.com/suman_gorai_a43358388bdbb/i-tried-to-build-a-startup-without-a-team-heres-what-happened-31mm</guid>
      <description>&lt;h2&gt;
  
  
  🚀 Intro
&lt;/h2&gt;

&lt;p&gt;Everyone talks about building startups with a team.\&lt;br&gt;
But I wanted to try something different.&lt;/p&gt;

&lt;p&gt;What if I build everything alone --- product, backend, frontend,&lt;br&gt;
marketing... everything?&lt;/p&gt;

&lt;p&gt;This is the story of what actually happened.&lt;/p&gt;




&lt;h2&gt;
  
  
  💡 The Idea
&lt;/h2&gt;

&lt;p&gt;I wanted to build a simple SaaS product that helps freelancers create&lt;br&gt;
invoices and get paid easily.&lt;/p&gt;

&lt;p&gt;No big funding.\&lt;br&gt;
No team.\&lt;br&gt;
Just me, my laptop, and a lot of ideas.&lt;/p&gt;




&lt;h2&gt;
  
  
  ⚙️ The Stack I Chose
&lt;/h2&gt;

&lt;p&gt;To keep costs low, I used:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  Next.js (Frontend)&lt;/li&gt;
&lt;li&gt;  Supabase (Backend + Auth + DB)&lt;/li&gt;
&lt;li&gt;  Vercel (Deployment)&lt;/li&gt;
&lt;li&gt;  PayPal (Payments)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything was either free or very low cost.&lt;/p&gt;




&lt;h2&gt;
  
  
  😵 The Reality Hit Me
&lt;/h2&gt;

&lt;p&gt;Building alone sounds cool... until you actually do it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  I had to fix bugs and design UI&lt;/li&gt;
&lt;li&gt;  Handle backend logic and database issues&lt;/li&gt;
&lt;li&gt;  Think about marketing and user acquisition&lt;/li&gt;
&lt;li&gt;  Debug things at 2 AM with no one to help&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There were days I felt completely stuck.&lt;/p&gt;




&lt;h2&gt;
  
  
  📉 Biggest Mistakes I Made
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt; I started building without validating the idea\&lt;/li&gt;
&lt;li&gt; I ignored marketing until the product was "perfect"\&lt;/li&gt;
&lt;li&gt; I tried to do everything instead of focusing on what matters&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These mistakes slowed me down a lot.&lt;/p&gt;




&lt;h2&gt;
  
  
  🔥 What Actually Worked
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  Keeping the product simple&lt;/li&gt;
&lt;li&gt;  Using free tools to reduce risk&lt;/li&gt;
&lt;li&gt;  Learning by building instead of overthinking&lt;/li&gt;
&lt;li&gt;  Sharing progress publicly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That's what kept me going.&lt;/p&gt;




&lt;h2&gt;
  
  
  🎯 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Building a startup alone is possible... but it's not easy.&lt;/p&gt;

&lt;p&gt;You'll feel stuck.\&lt;br&gt;
You'll doubt yourself.\&lt;br&gt;
But you'll also learn faster than ever.&lt;/p&gt;

&lt;p&gt;If you're thinking of building something solo --- just start.&lt;/p&gt;

&lt;p&gt;You'll figure things out along the way.&lt;/p&gt;




&lt;h2&gt;
  
  
  📢 CTA
&lt;/h2&gt;

&lt;p&gt;If you're building something solo, I'd love to hear your story.&lt;/p&gt;

&lt;p&gt;Drop it in the comments 👇&lt;/p&gt;

</description>
      <category>startup</category>
      <category>webdev</category>
      <category>nextjs</category>
      <category>indiehackers</category>
    </item>
    <item>
      <title>🚀 I Built an AI Virtual Try-On for eCommerce (To Fix a Huge Conversion Problem)</title>
      <dc:creator>Suman Gorai</dc:creator>
      <pubDate>Thu, 19 Mar 2026 03:34:12 +0000</pubDate>
      <link>https://forem.com/suman_gorai_a43358388bdbb/i-built-an-ai-virtual-try-on-for-ecommerce-to-fix-a-huge-conversion-problem-5efh</link>
      <guid>https://forem.com/suman_gorai_a43358388bdbb/i-built-an-ai-virtual-try-on-for-ecommerce-to-fix-a-huge-conversion-problem-5efh</guid>
      <description>&lt;p&gt;Hey devs 👋&lt;/p&gt;

&lt;p&gt;I’ve been working on something interesting lately — an &lt;strong&gt;AI-powered virtual try-on tool for eCommerce stores&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  🤔 The Problem
&lt;/h2&gt;

&lt;p&gt;One thing I kept noticing while exploring online stores:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Customers hesitate to buy because they &lt;strong&gt;can’t visualize how a product will look on them&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This leads to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;❌ Low conversion rates&lt;/li&gt;
&lt;li&gt;❌ High return rates&lt;/li&gt;
&lt;li&gt;❌ Poor user confidence&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And honestly… it makes sense.&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 The Idea
&lt;/h2&gt;

&lt;p&gt;So I thought:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What if users could &lt;strong&gt;instantly try products using AI&lt;/strong&gt;, directly from the product page?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;No apps. No friction.&lt;/p&gt;

&lt;p&gt;Just click → try → decide.&lt;/p&gt;

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

&lt;p&gt;An &lt;strong&gt;AI virtual try-on system&lt;/strong&gt; that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Lets users try products in real-time&lt;/li&gt;
&lt;li&gt;Works directly inside eCommerce stores&lt;/li&gt;
&lt;li&gt;Requires minimal integration&lt;/li&gt;
&lt;li&gt;Focuses on speed and simplicity&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ⚙️ How It Works (Simple Overview)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;User visits a product page&lt;/li&gt;
&lt;li&gt;Clicks "Try Now"&lt;/li&gt;
&lt;li&gt;AI processes the input&lt;/li&gt;
&lt;li&gt;Shows a realistic preview&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;All within seconds.&lt;/p&gt;

&lt;h2&gt;
  
  
  🎯 Who It’s For
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Shopify store owners&lt;/li&gt;
&lt;li&gt;D2C brands&lt;/li&gt;
&lt;li&gt;Fashion &amp;amp; accessory sellers&lt;/li&gt;
&lt;li&gt;Anyone struggling with conversions&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  📈 Goal
&lt;/h2&gt;

&lt;p&gt;The main goal is simple:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Help store owners &lt;strong&gt;increase conversions and reduce returns&lt;/strong&gt; using AI.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  🔥 What I Need From You
&lt;/h2&gt;

&lt;p&gt;I’m still improving this, so I’d love feedback from the dev community 🙌&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What features would you add?&lt;/li&gt;
&lt;li&gt;Any ideas to make it more useful?&lt;/li&gt;
&lt;li&gt;What would you improve technically?&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  🌐 Try It Out
&lt;/h2&gt;

&lt;p&gt;If you’re curious, you can try it here:&lt;br&gt;
👉 &lt;a href="https://torziva.site" rel="noopener noreferrer"&gt;https://torziva.site&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Thanks for reading!&lt;br&gt;
Would love to hear your thoughts 🚀&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>startup</category>
      <category>saas</category>
    </item>
    <item>
      <title>How I Fixed a Silent 500 Error in My Supabase Edge Function</title>
      <dc:creator>Suman Gorai</dc:creator>
      <pubDate>Wed, 18 Mar 2026 03:15:24 +0000</pubDate>
      <link>https://forem.com/suman_gorai_a43358388bdbb/how-i-fixed-a-silent-500-error-in-my-supabase-edge-function-2p53</link>
      <guid>https://forem.com/suman_gorai_a43358388bdbb/how-i-fixed-a-silent-500-error-in-my-supabase-edge-function-2p53</guid>
      <description>&lt;h1&gt;
  
  
  How I Fixed a 500 Error That Was Silently Killing My SaaS
&lt;/h1&gt;

&lt;p&gt;I launched &lt;a href="https://torziva.site" rel="noopener noreferrer"&gt;Torziva&lt;/a&gt; — an AI virtual try-on &lt;br&gt;
tool for fashion stores — and users were getting 500 errors on &lt;br&gt;
every try-on attempt.&lt;/p&gt;

&lt;p&gt;The weird part? &lt;strong&gt;Supabase logs showed nothing.&lt;/strong&gt; Completely blank.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Symptom
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Browser console: &lt;code&gt;Failed to load resource: 500&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Supabase edge function logs: blank&lt;/li&gt;
&lt;li&gt;fal.ai dashboard: requests weren't even arriving&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Classic "where is the request dying?" mystery.&lt;/p&gt;


&lt;h2&gt;
  
  
  The Investigation
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Step 1 — Checked Vercel env vars&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My edge function was hosted on Supabase but the request &lt;br&gt;
originated from Vercel. Turned out &lt;code&gt;FAL_API_KEY&lt;/code&gt; was missing &lt;br&gt;
from Supabase secrets — it was only in Vercel.&lt;/p&gt;

&lt;p&gt;Added it to Supabase → still failing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2 — Checked the actual error&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Added more granular try/catch logging and finally saw it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Error: Processing timeout. Please try again.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 3 — Found the real culprit&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My polling loop was set to 60 attempts × 2000ms = &lt;strong&gt;120 seconds&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Supabase edge functions have a &lt;strong&gt;default timeout of 60 seconds&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The function was dying before fal.ai even finished processing.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Fix
&lt;/h2&gt;

&lt;p&gt;Two changes in the edge function:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Before&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;maxAttempts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;60&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nl"&gt;num_inference_steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;

&lt;span class="c1"&gt;// After  &lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;maxAttempts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;25&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;  &lt;span class="c1"&gt;// 25 × 1500ms = ~37 seconds&lt;/span&gt;
&lt;span class="nl"&gt;num_inference_steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;// faster generation&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Also changed polling interval from &lt;code&gt;2000ms&lt;/code&gt; to &lt;code&gt;1500ms&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Total processing time dropped from ~90s to ~35s. &lt;br&gt;
Now well within Supabase's limit.&lt;/p&gt;




&lt;h2&gt;
  
  
  The Lesson
&lt;/h2&gt;

&lt;p&gt;If your Supabase edge function logs are &lt;strong&gt;blank&lt;/strong&gt;, the function &lt;br&gt;
isn't crashing — it's &lt;strong&gt;timing out before it can log anything&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Always check:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Are your secrets in Supabase, not just Vercel?&lt;/li&gt;
&lt;li&gt;Is your total execution time under 60s?&lt;/li&gt;
&lt;li&gt;Are external API calls (fal.ai, OpenAI, etc.) taking longer 
than expected?&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Supabase Edge Functions (Deno)&lt;/li&gt;
&lt;li&gt;fal.ai IDM-VTON for try-on generation&lt;/li&gt;
&lt;li&gt;Next.js 14 + Vercel frontend&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;If you're building anything with fal.ai or Supabase edge &lt;br&gt;
functions, happy to answer questions in the comments.&lt;/p&gt;

&lt;p&gt;And if you run a fashion store — this is what powers &lt;br&gt;
&lt;a href="https://torziva.site" rel="noopener noreferrer"&gt;torziva.site&lt;/a&gt; 👕&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>react</category>
      <category>showdev</category>
    </item>
    <item>
      <title>How I built an AI virtual try-on button for fashion stores using fal.ai and Supabase</title>
      <dc:creator>Suman Gorai</dc:creator>
      <pubDate>Tue, 17 Mar 2026 03:53:06 +0000</pubDate>
      <link>https://forem.com/suman_gorai_a43358388bdbb/how-i-built-an-ai-virtual-try-on-button-for-fashion-stores-using-falai-and-supabase-1f6d</link>
      <guid>https://forem.com/suman_gorai_a43358388bdbb/how-i-built-an-ai-virtual-try-on-button-for-fashion-stores-using-falai-and-supabase-1f6d</guid>
      <description>&lt;h2&gt;
  
  
  The problem I was trying to solve
&lt;/h2&gt;

&lt;p&gt;Fashion ecommerce has a dirty secret — 30-40% of all purchases get &lt;br&gt;
returned. The #1 reason? "It didn't look right on me."&lt;/p&gt;

&lt;p&gt;Shoppers can't tell how a dress will fit their body from a flat &lt;br&gt;
product photo. So they buy, try, and return.&lt;/p&gt;

&lt;p&gt;I built Torziva to fix this.&lt;/p&gt;


&lt;h2&gt;
  
  
  What Torziva does
&lt;/h2&gt;

&lt;p&gt;Torziva adds a "Try On" button to any fashion store's product page. &lt;br&gt;
When a shopper clicks it:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;They upload their photo&lt;/li&gt;
&lt;li&gt;AI places the exact garment on their body&lt;/li&gt;
&lt;li&gt;They see a realistic on-model photo — in under 30 seconds&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Real fabric texture. Real fit. Real colors. On their actual physique.&lt;/p&gt;


&lt;h2&gt;
  
  
  The tech stack
&lt;/h2&gt;

&lt;p&gt;Here's what I used to build it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;fal.ai&lt;/strong&gt; — for the AI image generation / virtual try-on model&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Supabase&lt;/strong&gt; — auth, database, storage&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Next.js 14&lt;/strong&gt; — frontend + API routes&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vercel&lt;/strong&gt; — deployment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The core flow is simple:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User uploads photo → 
API sends to fal.ai with garment image → 
fal.ai returns generated image → 
Display result to user
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Why fal.ai?
&lt;/h2&gt;

&lt;p&gt;I evaluated a few image generation APIs. fal.ai won because:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Fast inference (~30 seconds for try-on)&lt;/li&gt;
&lt;li&gt;Pay per generation ($0.075/image)&lt;/li&gt;
&lt;li&gt;Good try-on model quality for fashion garments&lt;/li&gt;
&lt;li&gt;Simple API, easy to integrate&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The Supabase setup
&lt;/h2&gt;

&lt;p&gt;I used Supabase for three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Auth&lt;/strong&gt; — email + Google OAuth for store owners&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database&lt;/strong&gt; — storing generation history, store configs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage&lt;/strong&gt; — saving generated images&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Supabase MCP made the setup surprisingly fast. &lt;br&gt;
Connected directly from Cursor and scaffolded the schema in minutes.&lt;/p&gt;




&lt;h2&gt;
  
  
  Challenges I ran into
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Garment detection quality&lt;/strong&gt;&lt;br&gt;
The AI works best with flat lay photos on white backgrounds. &lt;br&gt;
Dark backgrounds or heavy shadows confuse the model. &lt;br&gt;
Had to add input validation and guidance for store owners.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Shopify integration&lt;/strong&gt;&lt;br&gt;
Getting the Try On button to appear correctly on Shopify product &lt;br&gt;
pages required careful theme injection. Shopify's script tag API &lt;br&gt;
made this manageable but took longer than expected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Pricing&lt;/strong&gt;&lt;br&gt;
At $0.075/generation, pricing the product correctly was tricky. &lt;br&gt;
Had to account for Shopify's 15% fee on top. &lt;br&gt;
Ended up with a usage-based model that scales with store size.&lt;/p&gt;




&lt;h2&gt;
  
  
  Results so far
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Launched on Product Hunt on March 12&lt;/li&gt;
&lt;li&gt;Listed on Peerlist, BetaList&lt;/li&gt;
&lt;li&gt;First users onboarding now&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Still early days but the feedback from fashion store owners has &lt;br&gt;
been positive — especially the "no photoshoot needed" angle.&lt;/p&gt;




&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Full Shopify app (in review)&lt;/li&gt;
&lt;li&gt;Support for more garment types&lt;/li&gt;
&lt;li&gt;Bulk generation for store catalogs&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;If you're building anything in fashion tech or ecommerce AI, &lt;br&gt;
would love to connect. And if you run a fashion store — &lt;br&gt;
try it free at &lt;strong&gt;&lt;a href="https://torziva.site" rel="noopener noreferrer"&gt;torziva.site&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Happy to answer any questions about the tech stack in the comments 👇&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>startup</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
