Imagen model not found in Python Google Generative AI

NotFound: 404 models/imagen-3.0-generate-001 is not found for API version v1beta, or is not supported for predict. Call ListModels to see the list of available models and their supported methods.

Even after completely following Documentation I am getting this error.

Note the warnings at the top of the page:

Preview: Imagen 3 in the Gemini API is available as an early access release in private preview. It’s not yet generally available.

If you’re in the early access program, you should have access with the account and project you’ve requested. If you have issues - you should message your contact at Google who granted you access.

If you’re not in the program - you won’t have access yet.