Preheat the air fryer to 400°F (204°C) for 5 minutes.
Lightly grease two ceramic ramekins with cooking spray.
Add ¼ cup room-temperature water to each ramekin.
Crack one egg into each ramekin.
Place the ramekins into the air fryer and cook at 360°F (182°C) for 5 minutes.
Carefully loosen the eggs from the sides of the ramekins using a teaspoon or small spatula.
Return the ramekins to the air fryer and cook for 1–2 more minutes, depending on your preferred yolk consistency.
Gently slide each egg into a fine mesh strainer to drain the excess water.
Season with salt and black pepper, then serve immediately.