You'd want to generate it in multiple steps to make it feasible to control the text generation anyway. First call generates the broad outline, several parallel calls flesh out character development and some other details so that they're consistent, then generate the story piece by piece by feeding in bits of the outline.