We describe an adaptive interferometer based on rubidium vapor, which combines a good signal-to-noise ratio with a high cutoff frequency of approximately 1 MHz. These features can be useful for optical detection of ultrasound generated in diffusely scattering objects in the presence of strong environmentally produced vibrations.