Render private image on twig template
Normally you would configure the formatted output of an image field in the content type and then render it in the node template:

{{ content.field_image }}
{{ content|without('field_image') }}


If you want to access the path of a private file directly then use the file scheme private://:

{{ file_url('private://foo.jpg') }}