Generate new api