The process in which the anatomical structure of the swim bladder is generated and organized. The swim bladder is used by some fishes to maintain buoyancy and may function in addition as a sound producing organ, a sound receptor, and a respiratory organ.