The colored soldiers are real, but the weapons may have been props belonging to the photographer’s studio, a common practice then.
Anyway, nobody clapped a Confederate cap on this kid’s head; he chose it himself only to have hysterical Mommy ruin the entire occasion.