- Updated dependencies [b74971f]
- @ai-sdk/provider-utils@5.0.29
- 5b7da0e: feat(provider/bytedance): report image generation token usage
- Updated dependencies [e6087c9]
- @ai-sdk/provider-utils@5.0.28
- Updated dependencies [7fbfc6d]
- @ai-sdk/provider-utils@5.0.27
- Updated dependencies [401a4ba]
- @ai-sdk/provider-utils@5.0.26
-
8b6d615: feat (provider/bytedance): implement async video operations (doStart/doStatus) on the video model, replacing the internal doGenerate polling loop.
Polling is now orchestrated by
generateVideovia itspoll: { intervalMs, timeoutMs }option. ThepollIntervalMsandpollTimeoutMsprovider options are deprecated and ignored; passing either emits a warning. The polling defaults change accordingly (interval 3000ms to 5000ms, timeout 300000ms to 600000ms), and a failed or cancelled task now rejects with a plainErrorrather than anAISDKError. Failure reasons reported by the task are now included in the error message. -
Updated dependencies [ad6a650]
-
Updated dependencies [81cd026]
- @ai-sdk/provider@4.0.7
- @ai-sdk/provider-utils@5.0.25
- Updated dependencies [1937bef]
- @ai-sdk/provider-utils@5.0.24
- Updated dependencies [3469d0c]
- @ai-sdk/provider@4.0.6
- @ai-sdk/provider-utils@5.0.23
- Updated dependencies [2b60826]
- @ai-sdk/provider-utils@5.0.22
- Updated dependencies [1bec07d]
- @ai-sdk/provider-utils@5.0.21
- Updated dependencies [160ccdb]
- @ai-sdk/provider-utils@5.0.20
-
79e133c: async APIs for generateVideo (poll, webhook)
Adds an asynchronous start/status flow to the experimental video model interface (
VideoModelV4): models may now implementdoStart,doStatus, andhandleWebhookOptioninstead of (or in addition to)doGenerate, andexperimental_generateVideoacceptspollandwebhookoptions to orchestrate completion via polling or webhooks. Polling configuration can use a custom delay implementation for durable workflow compatibility. -
Updated dependencies [79e133c]
- @ai-sdk/provider@4.0.5
- @ai-sdk/provider-utils@5.0.19
- Updated dependencies [5fc7da5]
- Updated dependencies [93b2acd]
- @ai-sdk/provider-utils@5.0.18
- Updated dependencies [fa95504]
- @ai-sdk/provider-utils@5.0.17
- Updated dependencies [d8210b6]
- Updated dependencies [b192878]
- @ai-sdk/provider-utils@5.0.16
- Updated dependencies [1659cd5]
- Updated dependencies [6a5bdff]
- @ai-sdk/provider-utils@5.0.15
- Updated dependencies [0c464d9]
- Updated dependencies [c49380c]
- @ai-sdk/provider-utils@5.0.14
- Updated dependencies [1e2f324]
- @ai-sdk/provider@4.0.4
- @ai-sdk/provider-utils@5.0.13
- Updated dependencies [02ffdcb]
- Updated dependencies [76cb673]
- @ai-sdk/provider-utils@5.0.12
- Updated dependencies [cd06458]
- @ai-sdk/provider-utils@5.0.11
- Updated dependencies [31c7be8]
- @ai-sdk/provider-utils@5.0.10
- 7fd7dab: feat (provider/bytedance): add Seedream image model support via
.image()/.imageModel(), with typedByteDanceImageModelOptionsprovider options
-
4be62c1: fix(provider-utils): validate provider-response URLs in
getFromApigetFromApinow has avalidateUrlflag. It is optional so existing callers keep compiling (omitting it behaves likefalse, i.e. no validation), but all AI SDK provider packages set it explicitly at every call site so each one makes a visible trust decision. Whentrue, the URL is routed throughfetchWithValidatedRedirects— the same guard used bydownloadBlob— which rejects private/loopback/link-local targets, re-validates every redirect hop, strips proxy/metadata/cookie request headers, and drops all caller headers except the user-agent on cross-origin redirects (custom API-key headers must not follow a redirect off-origin any more thanAuthorizationmay); blocked URLs throwDownloadError. It is enabled at the image/video/audio download and polling call sites where the URL comes from a provider response body; URLs built from developer-configured endpoints passvalidateUrl: falseand are unaffected.A new optional
credentialedOriginwithholds caller headers unless the URL is same-origin with it, so the API key is not sent to a response-supplied host on a different origin.A new optional
trustedOriginexempts URLs (and redirect hops) that are same-origin with the developer-configured provider endpoint from target validation, so self-hosted and localhost deployments whose response URLs point back at the configured host keep working; all other hops are still validated.Also closes range gaps in
validateDownloadUrl(IPv4224.0.0.0/4multicast and the TEST-NET documentation ranges192.0.2.0/24,198.51.100.0/24,203.0.113.0/24; IPv6 documentation ranges2001:db8::/32and3fff::/20), and follows only the fetch-spec redirect status codes (301/302/303/307/308) — aLocationheader on any other status is not followed. This guard performs string/literal checks only and does not resolve DNS; hostnames that resolve to private addresses and DNS rebinding remain out of scope and must be constrained at the network layer (or by injecting a Nodefetchthat pins the resolved IP at connect time) for server deployments handling untrusted URLs. Seecontributing/secure-url-handling.md. -
Updated dependencies [4be62c1]
-
Updated dependencies [7805e4a]
-
Updated dependencies [cd12954]
- @ai-sdk/provider-utils@5.0.9
- Updated dependencies [e193290]
- @ai-sdk/provider-utils@5.0.8
- b0650cb: fix(bytedance): rename inconsistent
ByteDanceVideoProviderOptionstoByteDanceVideoModelOptions - 0f93c57: feat (video): support video (not just image) reference inputs in
inputReferencesfor reference-to-video generation - Updated dependencies [0f93c57]
- @ai-sdk/provider@4.0.3
- @ai-sdk/provider-utils@5.0.7
- Updated dependencies [ac306ed]
- @ai-sdk/provider-utils@5.0.6
- 5c5c0f5: Add experimental streaming transcription support for transcription models, including OpenAI
gpt-realtime-whisperand xAI WebSocket STT. - Updated dependencies [5c5c0f5]
- @ai-sdk/provider@4.0.2
- @ai-sdk/provider-utils@5.0.5
- Updated dependencies [c6f5e62]
- @ai-sdk/provider-utils@5.0.4
- Updated dependencies [8c616f0]
- @ai-sdk/provider-utils@5.0.3
- 0274f34: feat (video): add first-class
frameImagesandinputReferencescall options for video generation - Updated dependencies [0274f34]
- @ai-sdk/provider@4.0.1
- @ai-sdk/provider-utils@5.0.2
- Updated dependencies [6a436e3]
- @ai-sdk/provider-utils@5.0.1
- ba6d510: chore: fix deprecated use of zod
.passthrough()
- ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (
"type": "module"). Consumers usingrequire()must switch to ESMimportsyntax. - 8359612: Start v7 pre-release
- 38fc777: Add AI Gateway hint to provider READMEs
- a2ad029: Fix ByteDance video payloads to tag the prompt image as the first frame when a last frame image is provided.
- 12d239b: feat (provider/bytedance): add seedance 2.0 support
- 9f0e36c: trigger release for all packages after provenance setup
- 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
- 0c4c275: trigger initial canary release
- 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
- b8396f0: trigger initial beta release
- 0416e3e: feat (video): add first-class
generateAudiocall option
- 0416e3e: feat (video): add first-class
generateAudiocall option - Updated dependencies [0416e3e]
- @ai-sdk/provider@4.0.0-beta.20
- @ai-sdk/provider-utils@5.0.0-beta.50
- b8396f0: trigger initial beta release
- Updated dependencies [b8396f0]
- @ai-sdk/provider-utils@5.0.0-beta.49
- @ai-sdk/provider@4.0.0-beta.19
- Updated dependencies [aeda373]
- Updated dependencies [375fdd7]
- Updated dependencies [b4507d5]
- @ai-sdk/provider-utils@5.0.0-canary.48
- Updated dependencies [bae5e2b]
- @ai-sdk/provider-utils@5.0.0-canary.47
- Updated dependencies [ce769dd]
- @ai-sdk/provider@4.0.0-canary.18
- @ai-sdk/provider-utils@5.0.0-canary.46
- Updated dependencies [ee798eb]
- Updated dependencies [daf6637]
- @ai-sdk/provider-utils@5.0.0-canary.45
- a2ad029: Fix ByteDance video payloads to tag the prompt image as the first frame when a last frame image is provided.
- Updated dependencies [6c93e36]
- Updated dependencies [f617ac2]
- @ai-sdk/provider-utils@5.0.0-canary.44
- 7fc6bd6: Raise minimum supported Node.js version to 22. Supported versions: 22, 24, and 26.
- Updated dependencies [7fc6bd6]
- @ai-sdk/provider-utils@5.0.0-canary.43
- @ai-sdk/provider@4.0.0-canary.17
- Updated dependencies [a6617c5]
- @ai-sdk/provider-utils@5.0.0-canary.42
- Updated dependencies [28dfa06]
- Updated dependencies [e93fa91]
- @ai-sdk/provider-utils@5.0.0-canary.41
- Updated dependencies [a7de9c9]
- @ai-sdk/provider-utils@5.0.0-canary.40
- Updated dependencies [105f95b]
- @ai-sdk/provider-utils@5.0.0-canary.39
- Updated dependencies [ca446f8]
- @ai-sdk/provider-utils@5.0.0-canary.38
- Updated dependencies [d848405]
- @ai-sdk/provider-utils@5.0.0-canary.37
- Updated dependencies [ca39020]
- @ai-sdk/provider-utils@5.0.0-canary.36
- Updated dependencies [f634bac]
- @ai-sdk/provider-utils@5.0.0-canary.35
- Updated dependencies [69254e0]
- Updated dependencies [3015fc3]
- @ai-sdk/provider-utils@5.0.0-canary.34
- Updated dependencies [2427d88]
- @ai-sdk/provider-utils@5.0.0-canary.33
- Updated dependencies [5463d0d]
- @ai-sdk/provider-utils@5.0.0-canary.32
- @ai-sdk/provider@4.0.0-canary.16
- 0c4c275: trigger initial canary release
- Updated dependencies [0c4c275]
- @ai-sdk/provider-utils@5.0.0-canary.31
- @ai-sdk/provider@4.0.0-canary.15
- Updated dependencies [08d2129]
- @ai-sdk/provider-utils@5.0.0-beta.30
- 258c093: chore: ensure consistent import handling and avoid import duplicates or cycles
- Updated dependencies [9bd6512]
- Updated dependencies [258c093]
- Updated dependencies [b6783da]
- @ai-sdk/provider-utils@5.0.0-beta.29
- @ai-sdk/provider@4.0.0-beta.14
- 9f0e36c: trigger release for all packages after provenance setup
- Updated dependencies [9f0e36c]
- @ai-sdk/provider@4.0.0-beta.13
- @ai-sdk/provider-utils@5.0.0-beta.28
- Updated dependencies [785fe16]
- Updated dependencies [67df0a0]
- Updated dependencies [befb78c]
- Updated dependencies [0458559]
- Updated dependencies [5852c0a]
- Updated dependencies [fc92055]
- @ai-sdk/provider-utils@5.0.0-beta.27
- Updated dependencies [2e98477]
- @ai-sdk/provider-utils@5.0.0-beta.26
- Updated dependencies [eea8d98]
- @ai-sdk/provider-utils@5.0.0-beta.25
- Updated dependencies [f807e45]
- @ai-sdk/provider-utils@5.0.0-beta.24
- Updated dependencies [350ea38]
- @ai-sdk/provider-utils@5.0.0-beta.23
- Updated dependencies [083947b]
- @ai-sdk/provider-utils@5.0.0-beta.22
- Updated dependencies [add1126]
- @ai-sdk/provider-utils@5.0.0-beta.21
- 12d239b: feat (provider/bytedance): add seedance 2.0 support
- Updated dependencies [b3976a2]
- Updated dependencies [ff5eba1]
- @ai-sdk/provider-utils@5.0.0-beta.20
- @ai-sdk/provider@4.0.0-beta.12
- ef992f8: Remove CommonJS exports from all packages. All packages are now ESM-only (
"type": "module"). Consumers usingrequire()must switch to ESMimportsyntax.
- Updated dependencies [ef992f8]
- @ai-sdk/provider@4.0.0-beta.11
- @ai-sdk/provider-utils@5.0.0-beta.19
- Updated dependencies [90e2d8a]
- @ai-sdk/provider-utils@5.0.0-beta.18
- Updated dependencies [3ae1786]
- @ai-sdk/provider-utils@5.0.0-beta.17
- Updated dependencies [176466a]
- @ai-sdk/provider@4.0.0-beta.10
- @ai-sdk/provider-utils@5.0.0-beta.16
- Updated dependencies [e311194]
- @ai-sdk/provider@4.0.0-beta.9
- @ai-sdk/provider-utils@5.0.0-beta.15
- Updated dependencies [34bd95d]
- Updated dependencies [008271d]
- @ai-sdk/provider@4.0.0-beta.8
- @ai-sdk/provider-utils@5.0.0-beta.14
- Updated dependencies [b0c2869]
- Updated dependencies [7e26e81]
- @ai-sdk/provider-utils@5.0.0-beta.13
- Updated dependencies [46d1149]
- @ai-sdk/provider-utils@5.0.0-beta.12
- Updated dependencies [6fd51c0]
- @ai-sdk/provider-utils@5.0.0-beta.11
- @ai-sdk/provider@4.0.0-beta.7
- Updated dependencies [c29a26f]
- @ai-sdk/provider-utils@5.0.0-beta.10
- @ai-sdk/provider@4.0.0-beta.6
- 38fc777: Add AI Gateway hint to provider READMEs
- Updated dependencies [2e17091]
- @ai-sdk/provider-utils@5.0.0-beta.9
- Updated dependencies [986c6fd]
- Updated dependencies [493295c]
- @ai-sdk/provider-utils@5.0.0-beta.8
- Updated dependencies [1f509d4]
- @ai-sdk/provider-utils@5.0.0-beta.7
- @ai-sdk/provider@4.0.0-beta.5
- Updated dependencies [3887c70]
- @ai-sdk/provider-utils@5.0.0-beta.6
- @ai-sdk/provider@4.0.0-beta.4
- Updated dependencies [776b617]
- @ai-sdk/provider-utils@5.0.0-beta.5
- @ai-sdk/provider@4.0.0-beta.3
- Updated dependencies [61753c3]
- @ai-sdk/provider-utils@5.0.0-beta.4
- Updated dependencies [f7d4f01]
- @ai-sdk/provider-utils@5.0.0-beta.3
- @ai-sdk/provider@4.0.0-beta.2
- Updated dependencies [5c2a5a2]
- @ai-sdk/provider@4.0.0-beta.1
- @ai-sdk/provider-utils@5.0.0-beta.2
- Updated dependencies [531251e]
- @ai-sdk/provider-utils@5.0.0-beta.1
- 8359612: Start v7 pre-release
- Updated dependencies [8359612]
- @ai-sdk/provider@4.0.0-beta.0
- @ai-sdk/provider-utils@5.0.0-beta.0
- Updated dependencies [ad4cfc2]
- @ai-sdk/provider-utils@4.0.19
- Updated dependencies [824b295]
- @ai-sdk/provider-utils@4.0.18
- Updated dependencies [08336f1]
- @ai-sdk/provider-utils@4.0.17
- Updated dependencies [58bc42d]
- @ai-sdk/provider-utils@4.0.16
- 15a9e21: feat (provider/bytedance): initial bytedance provider