Use an image model to generate images from a prompt filename or object.
The prompt supplies model, instructions, n, size, aspectRatio, seed,
maxImagesPerCall, and providerOptions. Pass either a prompt filename with optional
promptDir / variables, or a loaded or custom Prompt object. Other call arguments are
images, mask, and abortSignal.
Use an image model to generate images from a prompt filename or object.
The prompt supplies
model, instructions,n,size,aspectRatio,seed,maxImagesPerCall, andproviderOptions. Pass either a prompt filename with optionalpromptDir/variables, or a loaded or custom Prompt object. Other call arguments areimages,mask, andabortSignal.