JavaScript help needed (script/api)
Archived a year ago
V
ramez
Hi Guys, I'm trying out new things and I want to copy a site (https://draw.clickart.ai/) , and I copied the html, css & the scripts but there is one feature that doesnt work. this is my copied version: https://peppy-empanada-3f1309.netlify.app/
The feature that doesnt work is the generate feature, where the sketch will get transformed into an image based on the prompt (see image). They used ByteScale API for this and I replaced their ByteScale API Key with my API Key on this script: https://draw.clickart.ai/_next/static/chunks/pages/index-24f603318eb93b30.js but it still doesnt work. In the 2nd image you can see the console errors I get
I'd appreciate any help on this.

