extemporize [or extemporise]

transitive & intransitive verb improvisar tr.