Packages

@ai-sdk/black-forest-labs

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

Your version

1.0.76

6 Nov 2026Where it was published

1.0.79 is the newest release of 1.x.

In short

2 fixed

Release note

Patch Changes

  • 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.

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.