本文へスキップ
Kitbay
スキル

bfl-api

AGPL-3.02026年11月9日 更新79,567GitHubスタースクリプトあり

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

スキルの内容

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.

できること

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