Explicit construction of the N-point function in the generalized Veneziano model