Only the 24-inch iMac has a removable vid card.
The 17 and 20-inch cannot be upgraded, although the 20-inch can be ordered with more vid memory at the time of purchase. It cannot be upgraded at a later time.
Even with a possibly-upgradeable vid card, replacement would be quite challenging, requiring complete disassembly of the iMac. There's no simple plug-in slot.