Tang?
There is no dynasty or any real historical background to this movie. It's just a story the director came up with.
Yep it's a fantasy world. The "casual" clothes the general and the princess wear look more japanese than chinese in fact.