No. Record-keeping is required by law for images whose production involved actual people engaged in sexually explicit conduct, meaning "actual or simulated—(i) sexual intercourse, including genital-genital, oral-genital, anal-genital, or oral-anal, whether between persons of the same or opposite sex; (ii) bestiality; (iii) masturbation; (iv) sadistic or masochistic abuse; or (v) lascivious exhibition of the genitals or pubic area of any person."
If creation of the image did not involve real people engaged in such conduct, no record-keeping requirements apply.
Note that while the Wikimedia Foundation, due to Section 230(c) safe harbor provisions, does not have a record-keeping duty here, my layman's reading of
http://www.law.cornell.edu/uscode/text/18/2257 is that every
individual contributor who
– uploads an image depicting real people engaged in sexually explicit conduct, or
– inserts such an image in Wikipedia, or
– manages such content on Wikimedia sites,
thereby becomes a "secondary producer" required to keep and maintain records documenting the performers' age, name, and consent, with failure to do so punishable by up to five years in prison.
Note that this includes anyone, say, inserting an image or video of masturbation in a Wikipedia article or categorising it in Commons without having a written record of the name, age and consent of the person shown on file.
I've asked Philippe Beaudette to confirm that this reading is correct. He has said that while they cannot provide legal advice to individual editors, they will put someone to work on that, and that it will be a month or so before they can come back to us.