10000 Add Wan-FUN Camera Control models and Add WanCameraImageToVideo node by George0726 · Pull Request #8013 · comfyanonymous/ComfyUI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add Wan-FUN Camera Control models and Add WanCameraImageToVideo node #8013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 15, 2025

Conversation

George0726
Copy link
Contributor
@George0726 George0726 commented May 8, 2025

VideoX-Fun recently released two models for camera control, Wan2.1-Fun-V1.1-1.3B-Control-Camera and Wan2.1-Fun-V1.1-14B-Control-Camera.

To support these two models, I add a new node WanCameraImageToVideo, for customizing inputs for camera control models.

I also added a node VideoAcc_CameraTrajectoryRecam to calculate Plücker embeddings as the input of WanCameraImageToVideo node, in my customized node repo.

Here I attached the JSON workflow for your reference.
wan2.1_fun_Camera_Control.json

@George0726
Copy link
Contributor Author

I uploaded two different versions of quantization models to the community.
https://huggingface.co/George0667/Wan2.1-Fun-V1.1-Control-Camera-quantization/tree/main

@Foul-Tarnished
Copy link
Foul-Tarnished commented May 11, 2025

You wrote two hyperlinks tha points to the same model

Is the other one this one ?
https://huggingface.co/alibaba-pai/Wan2.1-Fun-V1.1-14B-Control-Camera

There are also two other models that are the same but without the camera word (just 1.3B-Control and 14B-Control)
No idea what these are

@George0726
Copy link
Contributor Author

You wrote two hyperlinks tha points to the same model

Is the other one this one ? https://huggingface.co/alibaba-pai/Wan2.1-Fun-V1.1-14B-Control-Camera

There are also two other models that are the same but without the camera word (just 1.3B-Control and 14B-Control) No idea what these are

Yep sorry, it should be https://huggingface.co/alibaba-pai/Wan2.1-Fun-V1.1-14B-Control-Camera and https://huggingface.co/alibaba-pai/Wan2.1-Fun-V1.1-1.3B-Control-Camera

@comfyanonymous
Copy link
Owner

I don't think the camera_conditions should be of type LATENT because it's confusing, it should be a different type like WAN_CAMERA_EMBEDDING. Can you also make it an optional input like the start image?

You should also include a node that can generate some basic camera_conditions in this pr.

@George0726
Copy link
Contributor Author

I don't think the camera_conditions should be of type LATENT because it's confusing, it should be a different type like WAN_CAMERA_EMBEDDING. Can you also make it an optional input like the start image?

You should also include a node that can generate some basic camera_conditions in this pr.

I have updated the code based on your suggestions.

@comfyanonymous comfyanonymous merged commit c820ef9 into comfyanonymous:master May 15, 2025
5 checks passed
zhiaixu2009 added a commit to zhiaixu2009/ComfyUI that referenced this pull request May 16, 2025
…huawei

* 'master' of https://github.com/zhiaixu2009/ComfyUI:
  Fix typo in last PR. (comfyanonymous#8144)
  Add Wan-FUN Camera Control models and Add WanCameraImageToVideo node (comfyanonymous#8013)
  Remove old hack used to fix windows pytorch 2.4 on the portable. (comfyanonymous#8139)
  Add `get_duration` method to Comfy VIDEO type (comfyanonymous#8122)
@George0726 George0726 deleted the wan_cam_dev branch May 19, 2025 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0