What is a word for hero, villain and anti-hero types?
Solution 1:
Archetype may be a better fit.
the original pattern or model of which all things of the same type are representations or copies
See also https://literarydevices.net/archetype/
Below is the analysis of common archetypes that exist in literature.
...
Example #1 The Hero: He or she is a character who predominantly exhibits goodness and struggles against evil in order to restore harmony and justice to society e.g. Beowulf, Hercules, D’artagnan from “The Three Musketeers” etc.
...
Example #7 The Villain: A character whose main function is to go to any extent to oppose the hero or whom the hero must annihilate in order to bring justice e.g. Shere Khan from Kipling’s “The Jungle Book” stories, Long John Silver from Stevenson’s “Treasure Island”” etc
...
Solution 2:
Character works as a hypernym; also, persona.
"What character/persona is Venom in this issue? Is he a hero, villain or anti-hero?"
M-W:
character noun
7 c : the personality or part which an actor recreates: an actress who can create a character convincinglypersona noun
3 plural personae : a character in a fictional presentation (as a novel or play)