Passing HTML attributes to image modifier

How would I pass HTML attributes to the image modifier?

For example, how would you set a class or alt attribute using the image modifier like in this example:

header_image: /assets/img/bokeh-bunnies.jpg

{{ header_image | image }}

I can't figure out the correct syntax to use to achieve something like:

<img src="/assets/img/bokeh-bunnies.jpg" class="h-16" alt="Bokeh Bunnies">
>>>>>>> Unanswered <<<<<<<
2 Replies