How use bmesh.ops (bevel, split)?

I wanted to use different values for segments and offset. I need to process each vertex.