Skip to content

Integrate Bria 3.1/3.2 Models and ControlNet Pipelines into InvokeAI #8248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

ilanbria
Copy link

@ilanbria ilanbria commented Jul 10, 2025

Summary

This feature PR integrates Bria 3.1/3.2 text-to-image models and their ControlNet pipelines into InvokeAI.

image

How

Area Key Changes
Backend Added invokeai/backend/bria/** including:- pipeline_bria.py, pipeline_bria_controlnet.py (diffusers workflows)- transformer_bria.py, controlnet_bria.py, helper & utility scripts- controlnet_aux detectors (Canny/OpenPose)
Model Manager Added model_loaders/bria.py and updated probe/taxonomy for auto-discovery of Bria Main & ControlNet models.
Invocations / Nodes New nodes under invokeai/nodes/bria_nodes/* including model loader, encoder, decoder, denoiser, latent sampler, and ControlNet handlers.
UI / API - New field components (BriaMainModelFieldInputComponent.tsx, BriaControlNetModelFieldInputComponent.tsx)- Extended UIType enum for Node Editor integration- Updated Model Manager badges and schemas
Dependencies Added scikit-image (required for OpenPose detector), updated uv.lock.
Scope 46 files changed, ~5,500 new LOC, 3 LOC removed

Representative commits:

  • Add Bria text to image model and controlnet support

  • Setup Probe and UI to accept bria main/controlnet models

  • Added scikit-image required for Bria's OpenposeDetector model


Related Issues / Discussions


QA Instructions

Requires Bria model weights and a CUDA-11+ GPU (CPU supported, slower).

Steps:

  1. Install Models

    • Set HF token with access to Bria's models.

    • Install briaai/BRIA-3.2.

    • Install briaai/BRIA-3.2-ControlNet-Union.

  2. Load Workflow

    • Load the workflow from the attached file:

      [Bria text-to-image workflow.json](https://github.com/user-attachments/files/21217591/Bria.text-to-image.workflow.1.json)
  3. Run Workflow

    • Run workflow without controlnet.

    • Run workflow with controlnet.


Merge Plan

  • Rebase onto main after current release.

  • Docker/GHA runners require additional pip install scikit-image?


Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added python PRs that change python files invocations PRs that change invocations backend PRs that change backend files frontend PRs that change frontend files labels Jul 10, 2025
@ilanbria ilanbria force-pushed the ilan/support_bria_3.2_pipeline branch from 7d2a666 to 1076d8e Compare July 10, 2025 20:15
@ilanbria ilanbria force-pushed the ilan/support_bria_3.2_pipeline branch from 1076d8e to 2d55dbe Compare July 14, 2025 13:32
@github-actions github-actions bot added Root python-deps PRs that change python dependencies labels Jul 14, 2025
@ilanbria ilanbria changed the title Add Bria text to image model and controlnet support Integrate Bria 3.1/3.2 Models and ControlNet Pipelines into InvokeAI Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend PRs that change backend files frontend PRs that change frontend files invocations PRs that change invocations python PRs that change python files python-deps PRs that change python dependencies Root
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants