You can create an event invitation in Apple Invites on an iPhone running iOS 18 or the iCloud website if you pay for iCloud+.
Getting started with Apple Invites is as simple as choosing a background template from the app's gallery or selecting an image from your own photo library.