In the sauté mode of instant pot, add whole garam masala spices, sliced onion, and green chili. When onions turn brown, add ginger, garlic paste, coriander and mint leaves..
In a separate frying pan, fry the eggs and season with salt and chilli powder.
Add curd and all powdered spices to the Instant Pot..
Cook for 5 minutes. Drain the rice and add to the Instant Pot. Add 2 cups of water.
Turn off the sauté mode and pressure cook on low pressure for 5 minutes.
Select natural pressure release for 2 minutes and then switch to quick release.
Plate the biryani and garnish with fried eggs, ghee and fried onions. Serve hot with gravy or raita.