logoalt Hacker News

semiquavertoday at 3:10 PM2 repliesview on HN

Why does it take 20 seconds to composite a string onto a shirt? Are you using generative AI for something that can be done in milliseconds with traditional techniques?


Replies

arjietoday at 3:59 PM

It cannot be that, surely since the page prior to the CTA actually shows the shirt with the string composited. So is it perhaps doing some live pricing based on a collection of vendors on the backend? Better to show an initial price and then a progress bar that moves up as the vendors return prices I think. Either way, I reflexively almost clicked away as soon as the 20 s started.

show 1 reply
foxpresstoday at 3:18 PM

that's the Printful API. Once a phrase has been generated it's cached so it's instant next time. Do you have any suggestions on how to make it faster?

show 1 reply