Access the ModelGenerator with Pine3d.models. Each method has an options table with many values all of which are optional. Some examples:
local models = Pine3D.models

-- creates a very simple grass block model
local cube = models:cube({
  color = colors.orange,
  top = colors.lime,
  bottom = colors.brown,
})

-- trans colored sphere
local sphere = models:sphere({
  res = 7,
  colors = {
    colors.lightBlue,
    colors.pink,
    colors.white,
    colors.pink,
    colors.lightBlue,
  },
}

-- fractal colored icosphere
local icosphere = models:icosphere({
  res = 3,
  colors = {
    colors.red,
    colors.yellow,
    colors.lime,
  },
  colorsFractal = true,
})

-- 12 gray mountains with randomized height and snow
local mountains = models:mountains({
  color = colors.lightGray,
  y = -0.1,
  res = 12,
  scale = 100,
  randomHeight = 0.5,
  randomOffset = 0.5,
  snow = true,
  snowHeight = 0.6,
})


ModelGenerator:
cube(options)

Returns: cube: Model
Name Type Description
options table Options for the cube. Available options: color, bottom, bottom2, top, top2, side, side2

ModelGenerator:
sphere(options)

Returns: sphere: Model
Name Type Description
options table Options for the sphere. Available options: res, color

ModelGenerator:
icosphere(options)

Returns: icosphere: Model
Name Type Description
options table Options for the icosphere. Available options: res, color, top (color), bottom (color), colors (table of colors for gradient), colorsFractal

ModelGenerator:
plane(options)

Returns: flat plane: Model
Name Type Description
options table Options for the plane. Available options: color, size, y

ModelGenerator:
mountains(options)

Returns: mountains: Model
Name Type Description
options table Options for the mountains. Available options: res, randomOffset, height, randomHeight, y, scale, color, snow (bool), snowColor