UniFlow is a foundational model for unified urban spatio-temporal flow prediction.It combines grid-based and graph-based data to capture complex correlations and dynamics.UniFlow utilizes a spatio-temporal transformer architecture and SpatioTemporal Memory Retrieval Augmentation (ST-MRA) for enhanced predictions.Experiments show that UniFlow outperforms existing models, particularly in scenarios with limited data availability.