GO:0035112:   genitalia morphogenesis
The process in which the anatomical structures of genitalia are generated and organized. The genitalia are the organs of reproduction or generation, external and internal.