Run this model with HF Jobs

Run TencentARC/BrushEdit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/TencentARC/BrushEdit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/TencentARC/BrushEdit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

BrushEdit

Overview

BrushEdit is an advanced, unified AI agent for image inpainting and editing. Main Elements: πŸ› οΈ Fully automated / 🀠 Interactive editing.

Video

Watch the introduction video in our project page or YouTube.

Code

Please check our GitHub repository for code.

Model

Download the model checkpoint using huggingface_hub (Version 0.1 as example):

import os
from huggingface_hub import snapshot_download

# download hf models
BrushEdit_path = "models/"
if not os.path.exists(BrushEdit_path):
    BrushEdit_path = snapshot_download(
        repo_id="TencentARC/BrushEdit",
        local_dir=BrushEdit_path,
        token=os.getenv("HF_TOKEN"),
    )

The downloaded checkpoint file can be found at BrushEdit_path.

Demo

You can try the demo here.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Spaces using TencentARC/BrushEdit 3

Collection including TencentARC/BrushEdit

Paper for TencentARC/BrushEdit