Ooh this is funky! Letting random ideas flow can be a fun process.
I'm not sure I'd really call this Jazz in the structural sense, but the composition process as you describe it is a jam session as is typical in lots of Jazz music. I'd say this is Synthwave with some Funk elements provided by the bass, both of which have shared roots with Jazz.
Also the drums are sick too