If you can collect/focus enough infrared to make high temperatures, you could use a variety of current tech to make the electricity, like @RocketGuy ‘s second example steam turbines.
the infrared can heat some thermocouples as in some deep space probes (heat source, compact radiodecay reactor).