The pronunciation of "ei" and "ou" varies whether you are pronouncing it carefully or not.
Regarding the pronunciation of "ei" in "teinei", in normal conversations, the majority of the Japanese speakers would probably pronounce it more like "eh" So, it would be "teh neh"
However, newscasters, actors and actresses, voice actors, and in formal speech, people might pronounce it more like the English letter "A" as in "A, B, C, D, E, F, G..." Also if you ask a Japanese person to pronounce this word alone, s/he might pronounce it as "ていねい(teinei)" because it is written "ていねい" and the word is out of the context. Just like if I ask a native English speaker how to pronounce the word "best," s/he would probably say "best." But if I ask the same person "Who is he?" then, his/her reply might be "Oh he is my bes friend" without "t" in the word "best".
But it is never pronounced as "i" as in the English greeting "Hi!" or "I am" or "iPhone" because that would be "tainai" and "tainai" is a completely different thing.