API generator prototype