In this paper, a polynomial invariant [Formula: see text] for virtual knots is constructed by 0-smoothing at all real crossings and using the polynomial invariant [Formula: see text] for flat virtual knots. We further discuss some properties of the polynomial invariant [Formula: see text]. Finally, we construct a family of diagrams for virtual knots which can be distinguished from each other by invariant [Formula: see text].