How is G‑d a king? Does He wear purple robes? Does He sit upon a golden throne?

A king speaks and his word is fulfilled. G‑d speaks and the world comes into being. He is the author and we are the characters of His story.

Such a great author that His characters can speak back to Him, and discuss with Him the path His story must take.