Use token
query param not Authorization
header. Ensure URL has "download" in it. Creating an API token is at the bottom of Account Settings.
Curl
curl -Lo add-detail-xl.safetensors https://civitai.com/api/download/models/135867?token=$CIVIT_TOKEN
Wget