It is black to move.
1... f3+ 2. Rxf3 h1=Q+ 3. Kxh1 Kxf3 4. Kg1 g2 5. Kh2 Kf2 6. Kh3 g1=Q 7. Kh4 Qg6 8. Kh3 Qg3++
Another line: ... f3+ 2. Kh1 g2+ 3. Kxh2 gxf1 = N (avoiding stalemate). Promote other pawn and win.
It is black to move.