FlexGen: Flexible Multi-View Generation from Text and Image Inputs