batchwork@1.2.0
Immutable
release. Only release title and notes can be modified.
Minor Changes
- fd40b65: Add
batchImages()for batch image-generation requests. It returns the sameBatchJobhandle asbatch(), with eachpromptproducing one or more images correlated bycustomId, and exposes them on a newBatchResult.imagesfield (inline base64data/mediaType, or a hostedurl). Supported on OpenAI (/v1/images/generations), Google Gemini image models (:batchGenerateContent), and xAI (/v1/images/generations); other providers throwUnsupportedProviderError. Generation only — image editing and Imagen models aren't batch-supported. - c073c1a: Add a unified
batch.*namespace:batch.text(),batch.embeddings(), andbatch.images().batch()remains a callable shorthand forbatch.text(). The standalonebatchEmbeddings()andbatchImages()exports are now deprecated aliases forbatch.embeddings()andbatch.images()respectively, and will be removed in a future major.