Zum Inhalt springen
Kitbay
Skill

bfl-api

AGPL-3.0Aktualisiert am 9. Nov. 202679.567GitHub-SterneEnthält Skripte

A copy, kept in the OpenMontage repository, of Black Forest Labs' guide to calling its FLUX image API for generating and editing images.

Was der Skill vermittelt

A copy, kept in the OpenMontage repository, of Black Forest Labs' guide to calling its FLUX image API for generating and editing images. The key is read from a BFL_API_KEY environment variable and sent in a request header, with steps for creating one and keeping it out of version control. A request returns a polling address that the agent checks until the job is ready, then downloads the result at once because result links expire after ten minutes. It covers global, EU and US endpoints, FLUX.2 and FLUX.1 models with credit-based pricing, reference images for editing, concurrency limits, error handling and webhooks, with cURL, Python and TypeScript examples in reference files.

Funktionen

  • Submit FLUX image generation and editing jobs
  • Poll for results or receive webhooks
  • Choose a regional API endpoint
  • Handle rate limits and errors