Preheat your air fryer to 400°F (200°C).
Wash and cut the cauliflower into bite-sized florets.
In a large bowl, mix olive oil, garlic powder, smoked paprika, salt, and pepper.
Add the cauliflower florets to the bowl and toss until evenly coated.
Place the cauliflower in the air fryer basket in a single layer.
Cook for 10 minutes, shaking the basket halfway through.
Check for doneness; cook for an additional 5-10 minutes if needed.
Once golden brown and crispy, remove from the air fryer.
Serve immediately, garnished with optional red pepper flakes.