A phase diagram-based screen identifies optimal interface materials for devices that convert heat into electricity.