Commit graph

6 commits

Author SHA1 Message Date
hlohaus
c4b18df769 Support audio model in Azure provider 2025-07-12 19:41:23 +02:00
hlohaus
62803546a6 Fix using nodriver 2025-07-12 11:45:21 +02:00
hlohaus
9bee0dd5ba Add note to discord 2025-07-12 08:29:47 +02:00
hlohaus
9655954a0b Add custom api_keys 2025-07-12 07:48:48 +02:00
hlohaus
f8f4a21faf feat: add BlackForestLabs Flux1KontextDev image generation provider
- Added `BlackForestLabs_Flux1KontextDev.py` to `g4f/Provider/hf_space` implementing image generation with streaming via HuggingFace Space
- Registered `BlackForestLabs_Flux1KontextDev` in `g4f/Provider/hf_space/__init__.py`
- Implemented `create_async_generator` to handle media upload, token fetching, and async result streaming
- Defined `run` method to POST and GET requests to the queue endpoint using ZeroGPU headers
- Added logic to process and upload media using `FormData` and `merge_media`
- Introduced `login_url` and `get_models` method in `Azure` provider with use of `AZURE_DEFAULT_MODEL` environment variable in `g4f/Provider/needs_auth/Azure.py
2025-07-11 08:02:03 +02:00
hlohaus
210dfdc537 Add azure provider 2025-07-11 05:57:04 +02:00