Vector Image Generation from Text or Images