The GIF endpoint could also contain a field for the game result. In PGN it's usually included in the Header or at the very end, like "{ Black wins on time. } 0-1"
This could then be shown on a final frame, as the viewer currently can only guess the result, especially if won on time. This would also remove the need to show the last frame longer manually.
In case the field in the endpoint is not set, the GIF can just be generated like it currently is.