GO:1904693: midbrain morphogenesis
The developmental process by which a midbrain is generated and organized.