Wash the zucchini and cut into slices. Peel and chop onions and garlic.
Steam the onions in heated olive oil until translucent. Add the garlic, zucchini and peas (remove the fresh ones from the pods beforehand) and cook for 10 minutes. Stir in herbs, season with salt and pepper. Mix the cream with the parmesan, eggs and cayenne pepper. Pour the vegetable mixture into a baking dish and pour the cream mixture over it.
Bake in the preheated oven for about 30-40 minutes.