Customize AshJsonApi route to return raw binary

Update:

So, I added this to my route to change the conn:

        route :post, "render", :render do
          modify_conn fn conn, subject, result, request ->
            conn
            |> Plug.Conn.put_resp_content_type("image/png")
            |> Plug.Conn.send_resp(200, <<213>>)
          end
        end

This will “work”, it sends the response the way I want.. But, right after the modify_conn, ash json api will call its own controller (ash_json_api/controllers/response.ex) and try to send the json value too, giving the [error] ** (Plug.Conn.AlreadySentError) the response was already sent error since I already sent the response before.

So I guess there is no scapegoat right now to achieve that?