Hello eliasberra,
#build
chunk.buildOrthomosaic(surface = PhotoScan.DataSource.ModelData, blending = PhotoScan.BlendingMode.DisabledBlending)
#export
crs = PhotoScan.CoordinateSystem("EPSG::32630")
chunk.exportOrthomosaic(path = " F:\\Example\\example.tif", format = "tif', projection = crs, region = (50000, 500300, 111600, 6111700), dx = 0.05, dy = 0.05, write_world = True)