Instructions to use ViTeX-Bench/ViTeX-Edit-14B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ViTeX-Bench/ViTeX-Edit-14B with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ViTeX-Bench/ViTeX-Edit-14B", 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
Use single-word prompt example
Browse files- inference_example.py +1 -1
inference_example.py
CHANGED
|
@@ -10,7 +10,7 @@ Usage:
|
|
| 10 |
--vace_video path/to/source.mp4 \
|
| 11 |
--vace_mask path/to/mask.mp4 \
|
| 12 |
--glyph_video path/to/target_glyph.mp4 \
|
| 13 |
-
--prompt "
|
| 14 |
--output out.mp4
|
| 15 |
|
| 16 |
Hardware:
|
|
|
|
| 10 |
--vace_video path/to/source.mp4 \
|
| 11 |
--vace_mask path/to/mask.mp4 \
|
| 12 |
--glyph_video path/to/target_glyph.mp4 \
|
| 13 |
+
--prompt "HILTON" \
|
| 14 |
--output out.mp4
|
| 15 |
|
| 16 |
Hardware:
|