I was about to take a picture but it had already disappeared.
I was about to capture an image of the bird but it was gone.
I was about to take a shot of the bird but it was not there.
"出てきたと思ってカメラを構える隙にもう潜っちゃった" は、
I was about to take a picture but it had already disappeared.
I was about to capture an image of the bird but it was gone.
I was about to take a shot of the bird but it was not there.
などが言いやすいかと思います。
どれぐらい詳しく言うかにもよるのですが、
私も鳥や小動物の写真を撮るのが好きで、よくこういう状況になるので、上のような感じで言っています。
A bird popped its head out of its nest and I was getting ready to take a picture of it, but while I was doing that, it put its head back down.
この場合、次のような言い方ができますよ。
ーA bird popped its head out of its nest and I was getting ready to take a picture of it, but while I was doing that, it put its head back down.
「鳥が巣から頭を出したので、写真を撮る準備をしていたら、その間に頭を引っ込めた」
to pop out its head out of ... で「…から頭を出す」と言えます。
ご参考まで!