Text-to-image model that smartly integrates text into images