Packages

@ai-sdk/black-forest-labs

2.0.86 · 17 Nov 2026Apache-2.029.2k / weekRepositoryHomepagenpmAtom feed

Your version

197 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 2.x · latest line
  2. 2.0.23 – 2.0.3411 releases that only update dependencies@ai-sdk/provider-utils 5.0.33@ai-sdk/provider 4.0.8Show each
  3. 2.0.22

    5 Aug 2026
    • Report the settled cost for FLUX 3 video generations. The submit response can only estimate, and returns no cost when the price depends on the finished video; the result endpoint answers with SettledCostResultResponse, whose cost was being dropped.

  4. 2.0.21

    4 Aug 2026
    • Add video model support to the Black Forest Labs provider (blackForestLabs.video) for the FLUX 3 video model, including text-to-video, image-to-video keyframes, video continuation, draft/draft-enhance generation, and AI SDK Core polling.

  5. 2.0.10 – 2.0.2011 releases that only update dependencies@ai-sdk/provider-utils 5.0.20@ai-sdk/provider 4.0.5Show each
  6. 2.0.9

    13 Jul 2026
    • provider-utils: Validate provider-response URLs in getFromApi

      getFromApi now has a validateUrl flag. It is optional so existing callers keep compiling (omitting it behaves like false, 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. When true, the URL is routed through fetchWithValidatedRedirects — the same guard used by downloadBlob — 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 than Authorization may); blocked URLs throw DownloadError. 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 pass validateUrl: false and are unaffected.

      A new optional credentialedOrigin withholds 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 trustedOrigin exempts 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 (IPv4 224.0.0.0/4 multicast and the TEST-NET documentation ranges 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24; IPv6 documentation ranges 2001:db8::/32 and 3fff::/20), and follows only the fetch-spec redirect status codes (301/302/303/307/308) — a Location header 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 Node fetch that pins the resolved IP at connect time) for server deployments handling untrusted URLs. See contributing/secure-url-handling.md.

  7. 2.0.6 – 2.0.72 releases that only update dependencies@ai-sdk/provider 4.0.3@ai-sdk/provider-utils 5.0.7Show each
  8. 2.0.5

    2 Jul 2026
    • Add experimental streaming transcription support for transcription models, including OpenAI gpt-realtime-whisper and xAI WebSocket STT.

  9. 2.0.1 – 2.0.44 releases that only update dependencies@ai-sdk/provider-utils 5.0.4@ai-sdk/provider 4.0.1Show each
  10. 2.0.0

    25 Jun 2026
    • Breaking

      Remove CommonJS exports from all packages. All packages are now ESM-only ("type": "module"). Consumers using require() must switch to ESM import syntax.

    • Breaking

      Start v7 pre-release

    • Breaking

      Make provider implementations code patterns more consistent, including renaming certain exported symbols

      For all externally exported symbols that were renamed, the old names continue to work via deprecated aliases.

  11. 1.x
  12. 1.0.77 – 1.0.793 releases that only update dependencies@ai-sdk/provider-utils 4.0.67Show each
  13. 1.0.76

    6 Nov 2026
    • Validate response-supplied Black Forest Labs image and video polling URLs and image downloads, including redirects, to block requests to private destinations outside the configured provider origin. Preserve self-hosted endpoints and withhold credentials from foreign origins and cross-origin redirects.

    • Poll get_result when a webhook submit response has no polling URL

      Setting webhookUrl makes Black Forest Labs return a webhook-shaped submit
      response without polling_url, which caused generateImage to fail response
      validation. The submit schema now accepts that response shape, and generation
      polls the get_result endpoint by request id so the call still returns the
      image. Transient Task not found responses are retried for a short grace
      period; a task that never becomes visible now fails with an error naming the
      request id instead of a generic poll timeout.

  14. 1.0.74 – 1.0.752 releases that only update dependencies@ai-sdk/provider-utils 4.0.64Show each
  15. 1.0.73

    21 Oct 2026
    • Defer validation schema construction until first use to reduce provider import time.

  16. 1.0.72

    16 Oct 2026
    • Default unknown image model IDs to the latest supported FLUX image API, currently FLUX 3 Image Klein, while retaining older families' request formats and the original FLUX 3 Image controls. Forward resolution tiers and reference images using the supported API fields, preserve exact dimensions, seed, output format and steps, and support the documented 0–7 safety tolerance range for FLUX 3 Image models.

  17. 1.0.69 – 1.0.713 releases that only update dependencies@ai-sdk/provider 3.0.19@ai-sdk/provider-utils 4.0.60Show each
  18. 1.0.68

    5 Oct 2026
    • Add FLUX 3 image generation and editing support with resolution, grounding, and version options. Handle reasoning and generating poll statuses, stop on terminal task failures, and download signed image URLs without API credentials.

      Normalize size-derived aspect ratios to the accepted FLUX 3 values and omit unsupported ratios with a warning. Preserve provider and request headers for image downloads on a custom base URL's origin.

  19. 1.0.63 – 1.0.675 releases without a noteShow each

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.