How to generate an alpha channel imgae for texture paint?

Title

Thanks in advance :slight_smile: