I've been using Next.js (with typescript) a lot and API routes always felt slightly wrong to me, since matching the types involved in the requests between client and server is always mostly manual and thus error-prone.
I found myself thinking "Too bad Next.js does API handling itself, so I won't be able to use this tool easily", but then I saw that they already took care of that: https://gravity.digitak.dev/docs/frameworks/next .
So I might actually end up using this. Thanks for sharing it here!