https://en.wikipedia.org/wiki/File:Ba_b747-400_g-civx_mainge...
Gear are retracted once a positive rate of climb has been achieved, but not that early.
I looked around on Youtube for some good examples, and this was the best I could find:
https://www.youtube.com/watch?v=5wjoF8-Oaew
The captain keeps a hand on the throttles until V1, and then it is several seconds after takeoff that FO retracts the gear.