Run this model with HF Jobs
Run Remade-AI/Squish 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/Remade-AI/Squish. 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/Remade-AI/Squish 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.
Instructions to use Remade-AI/Squish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Squish with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Wan-AI/Wan2.1-I2V-14B-480P-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Remade-AI/Squish") prompt = "In the video, a miniature dog is presented. The dog is held in a person's hands. The person then presses on the dog, causing a sq41sh squish effect. The person keeps pressing down on the dog, further showing the sq41sh squish effect." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") output = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Update README.md
Browse files25 unmodified lines26272829303132333435363738394041424344454647484950515253545556575859606162636465666768697025 unmodified lines## Examples<table><tr><td align="center"><b>Clay Dog</b><br><img src="./example_gifs/dog_squish.gif" width="500"><br><a href="./example_videos/dog_squish.mp4">Download MP4</a><br><br><b>Prompt:</b> In the video, a miniature dog is presented. The dog is held in a person's hands. The person then presses on the dog, causing a sq41sh squish effect. The person keeps pressing down on the dog, further showing the sq41sh squish effect.</td></tr><tr><td align="center"><b>Tank</b><br><img src="./example_gifs/tank_squish.gif" width="500"><br><a href="./example_videos/tank_squish.mp4">Download MP4</a><br><br><b>Prompt:</b> In the video, a miniature tank is presented. The tank is held in a person's hands. The person then presses on the tank, causing a sq41sh squish effect. The person keeps pressing down on the tank, further showing the sq41sh squish effect.</td></tr><tr><td align="center"><b>Hot Air Balloon</b><br><img src="./example_gifs/balloon_squish.gif" width="500"><br><a href="./example_videos/balloon_squish.mp4">Download MP4</a><br><br><b>Prompt:</b> In the video, a miniature balloon is presented. The balloon is held in a person's hands. The person then presses on the balloon, causing a sq41sh squish effect. The person keeps pressing down on the balloon, further showing the sq41sh squish effect.</td></tr><tr><td align="center"><b>Rodent</b><br><img src="./example_gifs/rodent_squish.gif" width="500"><br><a href="./example_videos/rodent_squish.mp4">Download MP4</a><br><br><b>Prompt:</b> In the video, a miniature rodent is presented. The rodent is held in a person's hands. The person then presses on the rodent, causing a sq41sh squish effect. The person keeps pressing down on the rodent, further showing the sq41sh squish effect.</td></tr><tr><td align="center"><b>Person</b><br><img src="./example_gifs/person_squish.gif" width="500"><br><a href="./example_videos/person_squish.mp4">Download MP4</a><br><br><b>Prompt:</b> In the video, a miniature person is presented. The person is held in a person's hands. The person then presses on the person, causing a sq41sh squish effect. The person keeps pressing down on the person, further showing the sq41sh squish effect.</td></tr></table>25 unmodified lines2627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858625 unmodified lines## Examples## Examples<table><tr><td align="center" style="padding: 20px; background-color: #f8f9fa; border-radius: 10px;"><h3>Clay Dog</h3><img src="./example_gifs/dog_squish.gif" width="500" style="border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);"><br><br><a href="./example_videos/dog_squish.mp4" style="display: inline-block; padding: 8px 16px; background-color: #0366d6; color: white; text-decoration: none; border-radius: 4px; font-weight: bold;">Download MP4</a><br><br><div style="background-color: #f0f0f0; padding: 12px; border-radius: 6px; text-align: left; margin: 10px 0;"><code>In the video, a miniature dog is presented. The dog is held in a person's hands. The person then presses on the dog, causing a sq41sh squish effect. The person keeps pressing down on the dog, further showing the sq41sh squish effect.</code></div></td></tr><tr><td style="height: 20px;"></td></tr><tr><td align="center" style="padding: 20px; background-color: #f8f9fa; border-radius: 10px;"><h3>Tank</h3><img src="./example_gifs/tank_squish.gif" width="500" style="border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);"><br><br><a href="./example_videos/tank_squish.mp4" style="display: inline-block; padding: 8px 16px; background-color: #0366d6; color: white; text-decoration: none; border-radius: 4px; font-weight: bold;">Download MP4</a><br><br><div style="background-color: #f0f0f0; padding: 12px; border-radius: 6px; text-align: left; margin: 10px 0;"><code>In the video, a miniature tank is presented. The tank is held in a person's hands. The person then presses on the tank, causing a sq41sh squish effect. The person keeps pressing down on the tank, further showing the sq41sh squish effect.</code></div></td></tr><tr><td style="height: 20px;"></td></tr><tr><td align="center" style="padding: 20px; background-color: #f8f9fa; border-radius: 10px;"><h3>Hot Air Balloon</h3><img src="./example_gifs/balloon_squish.gif" width="500" style="border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);"><br><br><a href="./example_videos/balloon_squish.mp4" style="display: inline-block; padding: 8px 16px; background-color: #0366d6; color: white; text-decoration: none; border-radius: 4px; font-weight: bold;">Download MP4</a><br><br><div style="background-color: #f0f0f0; padding: 12px; border-radius: 6px; text-align: left; margin: 10px 0;"><code>In the video, a miniature balloon is presented. The balloon is held in a person's hands. The person then presses on the balloon, causing a sq41sh squish effect. The person keeps pressing down on the balloon, further showing the sq41sh squish effect.</code></div></td></tr><tr><td style="height: 20px;"></td></tr><tr><td align="center" style="padding: 20px; background-color: #f8f9fa; border-radius: 10px;"><h3>Rodent</h3><img src="./example_gifs/rodent_squish.gif" width="500" style="border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);"><br><br><a href="./example_videos/rodent_squish.mp4" style="display: inline-block; padding: 8px 16px; background-color: #0366d6; color: white; text-decoration: none; border-radius: 4px; font-weight: bold;">Download MP4</a><br><br><div style="background-color: #f0f0f0; padding: 12px; border-radius: 6px; text-align: left; margin: 10px 0;"><code>In the video, a miniature rodent is presented. The rodent is held in a person's hands. The person then presses on the rodent, causing a sq41sh squish effect. The person keeps pressing down on the rodent, further showing the sq41sh squish effect.</code></div></td></tr><tr><td style="height: 20px;"></td></tr><tr><td align="center" style="padding: 20px; background-color: #f8f9fa; border-radius: 10px;"><h3>Person</h3><img src="./example_gifs/person_squish.gif" width="500" style="border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);"><br><br><a href="./example_videos/person_squish.mp4" style="display: inline-block; padding: 8px 16px; background-color: #0366d6; color: white; text-decoration: none; border-radius: 4px; font-weight: bold;">Download MP4</a><br><br><div style="background-color: #f0f0f0; padding: 12px; border-radius: 6px; text-align: left; margin: 10px 0;"><code>In the video, a miniature person is presented. The person is held in a person's hands. The person then presses on the person, causing a sq41sh squish effect. The person keeps pressing down on the person, further showing the sq41sh squish effect.</code></div></td></tr></table>
README.md+41-25