It was written and created by Michael Dante DiMartino and Bryan Konietzko . Avatar : The Last Airbender is a 61-episode , Emmy Award-winning American animated television series written and created by Michael Dante DiMartino and Bryan Konietzko .