Instructions to use Remade-AI/Baby with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Remade-AI/Baby 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,Wan-AI/Wan2.1-I2V-14B-480P-Diffusers", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Remade-AI/Baby") prompt = "The video starts with a studio portrait of Goku. Then the image shifts to the 848y baby effect, Goku is in front of a crib, surrounded by toys. Finally, the 848y baby effect is shown again in a different location. The 848y baby version of Goku is in the crib and seems excited and amused." input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png") image = pipe(image=input_image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
| license: apache-2.0 | |
| language: | |
| - en | |
| base_model: | |
| - Wan-AI/Wan2.1-I2V-14B-480P | |
| - Wan-AI/Wan2.1-I2V-14B-480P-Diffusers | |
| pipeline_tag: image-to-video | |
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| - image-to-video | |
| widget: | |
| - text: >- | |
| The video starts with a studio portrait of Goku. Then the image shifts to the 848y baby effect, Goku is in front of a crib, surrounded by toys. Finally, the 848y baby effect is shown again in a different location. The 848y baby version of Goku is in the crib and seems excited and amused. | |
| output: | |
| url: example_videos/goku_baby.mp4 | |
| - text: >- | |
| The video starts with a studio portrait of an Asian man. Then the image shifts to the 848y baby effect, the man is in front of a crib, surrounded by toys. Finally, the 848y baby effect is shown again in a different location. The 848y baby version of the man is in the crib and seems excited and amused. | |
| output: | |
| url: example_videos/man_baby.mp4 | |
| - text: >- | |
| The video starts with a studio portrait of a woman. Then the image shifts to the 848y baby effect, the woman is in front of a crib, surrounded by toys. Finally, the 848y baby effect is shown again in a different location. The 848y baby version of the woman is in the crib and seems excited and amused. | |
| output: | |
| url: example_videos/woman_baby.mp4 | |
| <div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;"> | |
| <h1 style="color: #24292e; margin-top: 0;">Baby Effect LoRA for Wan2.1 14B I2V 480p</h1> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Overview</h2> | |
| <p>This LoRA is trained on the Wan2.1 14B I2V 480p model and allows you to make any person/object in an image into a baby!</p> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Features</h2> | |
| <ul style="margin-bottom: 0;"> | |
| <li>Transform any image into a video of the subject as a baby!</li> | |
| <li>Trained on the Wan2.1 14B 480p I2V base model</li> | |
| <li>Consistent results across different object types</li> | |
| <li>Simple prompt structure that's easy to adapt</li> | |
| </ul> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Community</h2> | |
| <ul style="margin-bottom: 0;"> | |
| <li><b>Discord:</b> <a href="https://discord.com/invite/7tsKMCbNFC" style="color: #0366d6; text-decoration: none;">Join our community</a> to generate videos with this LoRA for free</li> | |
| <li><b>Request LoRAs:</b> We're training and open-sourcing Wan2.1 LoRAs for free - join our Discord to make requests!</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <Gallery /> | |
| # Model File and Inference Workflow | |
| ## 📥 Download Links: | |
| - [baby_50_epochs.safetensors](./baby_50_epochs.safetensors) - LoRA Model File | |
| - [wan_I2V_LoRA_workflow.json](./wan_I2V_LoRA_workflow.json) - Wan I2V with LoRA Workflow for ComfyUI | |
| --- | |
| <div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;"> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Recommended Settings</h2> | |
| <ul style="margin-bottom: 0;"> | |
| <li><b>LoRA Strength:</b> 1.0</li> | |
| <li><b>Embedded Guidance Scale:</b> 6.0</li> | |
| <li><b>Flow Shift:</b> 5.0</li> | |
| </ul> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Trigger Words</h2> | |
| <p>The key trigger phrase is: <code style="background-color: #f0f0f0; padding: 3px 6px; border-radius: 4px;"> 848y baby effect</code></p> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Prompt Template</h2> | |
| <p>For best results, use this prompt structure:</p> | |
| <div style="background-color: #f0f0f0; padding: 12px; border-radius: 6px; margin: 10px 0;"> | |
| <i>The video starts with a studio portrait of a [object]. Then the image shifts to the 848y baby effect, the [object] is in front of a crib, surrounded by toys. Finally, the 848y baby effect is shown again in a different location. The 848y baby version of the [object] is in the crib and seems excited and amused.</i> | |
| </div> | |
| <p>Simply replace <code style="background-color: #f0f0f0; padding: 3px 6px; border-radius: 4px;">[object]</code> with whatever you want to see as a baby!</p> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">ComfyUI Workflow</h2> | |
| <p>This LoRA works with a modified version of <a href="https://github.com/kijai/ComfyUI-WanVideoWrapper/blob/main/example_workflows/wanvideo_480p_I2V_example_02.json" style="color: #0366d6; text-decoration: none;">Kijai's Wan Video Wrapper workflow</a>. The main modification is adding a Wan LoRA node connected to the base model.</p> | |
| <p>See the Downloads section above for the modified workflow.</p> | |
| </div> | |
| </div> | |
| <div style="background-color: #f8f9fa; padding: 20px; border-radius: 10px; margin-bottom: 20px;"> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Model Information</h2> | |
| <p>The model weights are available in Safetensors format. See the Downloads section above.</p> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Training Details</h2> | |
| <ul style="margin-bottom: 0;"> | |
| <li><b>Base Model:</b> Wan2.1 14B I2V 480p</li> | |
| <li><b>Training Data:</b> Trained on 35 seconds of video comprised of 7 short clips (each clip captioned separately) of people becoming a baby!</li> | |
| <li><b>Epochs:</b> 50</li> | |
| </ul> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Additional Information</h2> | |
| <p>Training was done using <a href="https://github.com/tdrussell/diffusion-pipe" style="color: #0366d6; text-decoration: none;">Diffusion Pipe for Training</a></p> | |
| </div> | |
| <div style="background-color: white; padding: 15px; border-radius: 8px; margin: 15px 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1);"> | |
| <h2 style="color: #24292e; margin-top: 0;">Acknowledgments</h2> | |
| <p style="margin-bottom: 0;">Special thanks to Kijai for the ComfyUI Wan Video Wrapper and tdrussell for the training scripts!</p> | |
| </div> | |
| </div> |