I bought the official camera and for $40 I was surprised to see that not only did it not come with a way to mount it via ¼ x 20 connection, it came with no way to mount it on anything at all. So, I whipped this up pretty quickly in TinkerCad. Hopefully this will suit your needs if you have this camera too. If it doesn't, try this other one I made for a tripod.
The author remixed this model.
Modified for use specifically with the Anycubic Kobra 2 camera