Immutable
release. Only release title and notes can be modified.
Minor Changes
- 37d8011: Add Together AI to
batch.transcriptions()— Whisper models (e.g."together/openai/whisper-large-v3") batch through/v1/audio/transcriptions, with Batchwork writing Together's audio-specificmethod: "FILE"lines andbody.fileURL references automatically. - cab0f91: Add
batch.translations()— batch audio translation to English (Whisper's translate task) for Groq (whisper-large-v3) and Together AI ("together/openai/whisper-large-v3") via/v1/audio/translations. Mirrorsbatch.transcriptions()minus thelanguagefield (English is the only target); English text lands onresult.textwith optional timestampedresult.segments. Mistral batches transcriptions but not translations and throwsUnsupportedProviderError. - 164a64d: Add
batch.transcriptions()— batch audio transcription for Groq (whisper-large-v3) and Mistral (Voxtral models). Pass hosted audio URLs (batch audio endpoints accept URLs, not file uploads); transcripts land onresult.text, with timestamped spans onresult.segmentswhentimestampGranularitiesis requested. Includes newBatchTranscriptionRequest/BatchTranscriptionOptions/BatchTranscriptionSegmenttypes and anUnsupportedProviderErrorgate for providers whose batch API rejects audio endpoints. - f2dfa3b: Add
batch.moderations()— batch content moderation for OpenAI (omni-moderation-latest, text + image inputs) and Mistral (mistral-moderation-latest, text-only). Pass models as"provider/model"strings; verdicts land onresult.moderationas{ flagged, categories, categoryScores }with provider-native category names (Mistral's missing top-level flag is computed as "any category flagged"). Includes newBatchModerationRequest/BatchModerationOptions/BatchModerationtypes and anUnsupportedProviderErrorgate for providers without a moderation endpoint. - 977dbb0: Add
batch.images.edit()— batch image editing for OpenAI and xAI via/v1/images/edits. Source images are passed as JSON asset references ({ fileId }from the OpenAI Files API or{ imageUrl }), with an optionalmaskon OpenAI; xAI takes URL references only and rejects masks/file ids before any network request.batch.images.create()is added as an explicit alias ofbatch.images(), which continues to work unchanged. Edited images land onresult.imagesexactly like generation. - 3a4334a: Add
batch.videos()— batch video generation for xAI (Grok Imagine). Prompts go through/v1/videos/generations, with per-line routing to/v1/videos/editsand/v1/videos/extensionsviaproviderOptions.xai(videoUrl,mode: "extend-video",referenceImageUrls), mirroring the AI SDK'sexperimental_generateVideo. Results land onresult.videosas signed URLs that expire ~1h after completion. OpenAI's Videos API (Sora) is deliberately unsupported — it is deprecated and shuts down September 2026 — and Google's Veo models are not batch-compatible; both throwUnsupportedProviderError.