You already have that helpful AI feature at the bottom. Why don’t you reuse it, so that it can write syntax compatible code? Like “fetch this and that data from the API” or “write js that makes funny circles, when someone hovers over this button”. Make people use their own API key. I believe this would be helpful
for AI we need a bit more flexibility, some times, responsiveness becomes a problem. How much flexible current AI is we need to understand it a bit better.
I think a good use for AI in this case wouldn't necessarily be to help with code, as webstudio is not the tool to code in (defeats the whole purpose of no-code), but rather, to fix layout issues, add animation via css to some items, and create dynamic links and such