Anyone know how to use R2 for images and things while developing locally?

I can upload things to it, but can’t use it for images URLs or anything like that, at least not that I’m aware of. Is there any way to do this?

I’d really just like to target a remote R2 bucket (and D1, etc) while developing locally.