Have you reached out to the Google Cloud sales team to request access to the allow list? The 404 error for voices:generateVoiceCloningKey indicates that your project is not currently on the allow list for the restricted Instant Custom Voice feature. This feature is access-controlled due to safety considerations. Your logs support this, as other Text-to-Speech functions work.