refactor: replace blackforest package with custom async BFL client
Some checks failed
Continuous Integration / Build Package (push) Successful in 41s
Continuous Integration / Lint, Check & Test (push) Failing after 59s

Implement bulkgen/providers/bfl.py with a fully async httpx-based client
that supports all current and future BFL models (including flux-2-*).
Remove the blackforest dependency and simplify the image provider by
eliminating the asyncio.to_thread wrapper.
This commit is contained in:
Konstantin Fickel 2026-02-14 16:44:36 +01:00
parent fd09d127f2
commit cf73511876
Signed by: kfickel
GPG key ID: A793722F9933C1A5
5 changed files with 179 additions and 89 deletions

View file

@ -5,7 +5,7 @@ description = "Bulk-Generate Images with Generative AI"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"blackforest>=0.1.3",
"httpx>=0.27.0",
"mistralai>=1.0.0",
"networkx>=3.6.1",
"pydantic>=2.12.5",