Saltar al contenido
Node packVerificadoExterno
Abrir fuente

flux_3_api

Flux 3 API

Responsable@DenRakEiwUnratedcalidad

Perfil del paquete

Estado
Verificado
Publicador
@DenRakEiw
Fuente
GitHub

Léeme

Flux 3 API — ComfyUI Nodes

ComfyUI nodes for the BFL Flux 3 image and video API, plus an LLM-powered prompt generator.

Nodes

  • Flux 3 Image (API) — generates or edits images via POST https://api.bfl.ai/v1/flux-3-image (Docs, API reference).
  • Flux 3 Video (API) — generates video via POST https://api.bfl.ai/v1/flux-3-video (Docs, API reference).
  • Flux 3 Video Upscale (API) — super-resolution for short clips (≤20s, ≤50MB) via POST https://api.bfl.ai/v1/flux-tools/video-upscale-v1 (Docs, API reference). Precise mode preserves identity; creative mode enhances detail. Output capped at ~14.4 MP per frame; source audio preserved.
  • Flux 3 Openrouter Prompt — turns a vague idea into a structured FLUX 3 prompt using an OpenRouter LLM, guided by a prompting skill. Output feeds straight into the Video node's prompt input.

Setup

Add your keys to .env:

BFL_API_KEY=bfl_...
OPENROUTER_API_KEY=sk-or-...

Get an OpenRouter key at https://openrouter.ai/keys. Keys are looked up in this order: node api_key field → .env → environment variable.

Optional in .env:

BFL_BASE_URL=https://api.bfl.ai
BFL_IMAGE_BASE_URL=https://api.bfl.ai

(BFL_BASE_URL is the host for video and upscale, BFL_IMAGE_BASE_URL the host for the image node. Both default to https://api.bfl.ai; only change them if BFL announces a different host.)


Flux 3 Image (API)

Text to image, or edit / restyle / combine 1–10 reference images on the images input (each 256×256 to 16 MP). There is no mode: describe in the prompt how the references are used ("Turn Image 1 in the style of Image 2").

ParameterValues
aspect_ratioauto (first reference image, else 1:1), 21:9 … 9:21
resolution768sq, 1k (default), 2k, 4k (can take several minutes)
safety_tolerance0–4 (default 2), 0 = strictest
groundingweb and image search before generating (default on)

The API has no seed; the seed widget only makes the node run again. For layouts with bounding boxes, name elements as <id> in the prompt and end it with a JSON list of rows, see Layout and editing.

Outputs: image and metadata (including cost and output_mp).


Flux 3 Video (API)

Outputs: video (mp4, with audio track) and metadata. Feed straight into Save Video.

Modes (mode)

One mode per request; the rest of the request stays the same.

moderequiresdoes
t2v–Text → Video
i2vimages (1–10)Image(s) → Video (keyframes)
v2vvideoContinue a clip (start_video)
draft_enhancedraft_cacheFinal-render a previous draft run

Parameters

FieldRequiredValues
modealwayst2v i2v v2v draft_enhance
promptt2v/i2v/v2vfree-form
keyframesi2v1 image (opening frame) · 2 images (start+end) · 3–10 images (evenly spread, needs duration) · or [seconds, image] pairs (storyboard). URL or base64.
start_videov2vmp4 URL or base64
draft_cachedraft_enhancebase64 bundle or URL from the draft output of a previous run
aspect_ratio–auto (default), 21:9, 2:1, 16:9, 4:3, 1:1, 3:4, 9:16
duration–whole seconds 5–20 or auto (default)
resolution–hd (default) or fhd
generate_audio–bool, default true
safety_tolerance–0 (strictest) to 4, default 2. Capped at 2 when conditioning media is present.
draft–bool. true = fast hd preview; result in

Nodos de este paquete

4 nodos
  • Flux3Image
  • Flux3Prompter
  • Flux3Video
  • Flux3VideoUpscale

Fuentes

3 fuentes
GitHubPrincipalVersión main
github.com/DenRakEiw/flux_3_api

Verificado 6 nov

GitHubFuente
github.com/DenRakEiw/flux_3_api

Verificado 19 oct

GitHubFuenteVersión 9b526291ea8e609833a5638da16131161c30fe0e
github.com/DenRakEiw/flux_3_api

Verificado 22 oct

Extractos de fuentes

2 extractos

Source context: Repo DenRakEiw/flux_3_api

Source context: Repo DenRakEiw/flux_3_api