Rigid low-molecular-weight polyimide with two carboxyl ends (CPI) formed pH-dependent multiple morphologies including dimpled-beads, porous aggregates and vesicles via self-assembly in aqueous media. This is a rapid and conventional approach to a series of pH-dependent morphologies of mono-component aggregates based on a readily attainable rigid homopolymer.