Instructions to use TencentARC/GenCompositor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TencentARC/GenCompositor with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TencentARC/GenCompositor", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Add pipeline tag, library name, and links to model card
#1
by nielsr HF Staff - opened
This PR improves the model card for GenCompositor: Generative Video Compositing with Diffusion Transformer.
Key changes include:
- Adding the
pipeline_tag: any-to-any, which better categorizes the model on the Hub for generative video tasks. - Specifying
library_name: diffusersbased on evidence in theconfig.jsonfiles, enabling automated usage snippets for users. - Including direct links to the associated paper, project page, and GitHub repository.
- Adding the paper's abstract for comprehensive context.
These additions enhance the model's discoverability, usability, and documentation.