Nodes/comfyui-MJAPI-party/Vidu首尾帧视频
ComfyUI Node

Vidu首尾帧视频

Vidu's first-last-frame video, with a real 'audio' toggle

By MoJIeAIGC·Created about a year ago·Updated 17 days ago· 50
Vidu首尾帧视频
  • first_image
  • last_image
  • video
prompt
duration5
resolution1080p
movement_amplitudeauto
bgmfalse
seed0

Vidu首尾帧视频 - "Vidu first-last frame video" - is the interpolator of the pack's Vidu trio. You hand it a starting frame and (optionally) an ending frame, and it generates the motion between them: a product rotating, a character turning around, a scene pushing in. No prompt alone can nail a specific start-and-end choreography; giving the model both bookends is how you get exactly the movement you asked for. That's the whole reason this mode exists.

The mechanism is the pack standard: your images are base64'd and POSTed to Mojie's endpoint under the vidui2vNode model (viduq2-turbo backend), the video URL comes back, gets downloaded to a temp file, and is handed into the graph as a VIDEO type via VideoFromFile. The last_image input is the whole trick: leave it disconnected and you've got a plain image-to-video; connect it and Vidu animates from first frame to last. The other Vidu nodes in this pack share the backend, so the credits and behaviors carry over.

The inputs that matter

  • first_image - required. This is your opening frame and it's the most important input in the node.
  • last_image - optional, but it's the feature. Connect it and you get true start-to-end interpolation.
  • prompt - describe the motion, not the scene ("the model turns toward the camera" beats "a woman"). Empty works but you'll leave the camera on autopilot.
  • duration - 2 to 8 seconds, default 5.
  • resolution - 720p or 1080p. Higher costs more.
  • movement_amplitude - auto / small / medium / large. This is your "how much motion" dial; small for product shots that must not wobble, large if you want drama.
  • bgm - boolean. Toggle background music on. This is the one Vidu mode where the pack exposes it and it's genuinely handy for social clips.
  • seed - for variety.

Output is video, a VIDEO you can preview with a VideoPreview node or save to disk.

Installing it

You know the drill by now - it's the same pack:

cd ComfyUI/custom_nodes
git clone https://github.com/MoJIeAIGC/comfyui-MJAPI-party.git

ComfyUI Manager search "mojieapi_party" works too. Key from mojieaigc.com into config.ini, restart, done. No model files; requirements.txt is light.

The honest part

Video is where API-node budgets die. The KB's API-nodes essay has the community's canonical complaint - a "really small number of videos per year for $20-30/month" - and that's the price reality for hosted video generation generally. Vidu runs are metered, 1080p costs more than 720p, longer durations cost more, and you're paying a reseller markup on top. The flip side: no GPU, no VRAM, no local video-model install, which is the whole pitch of this pack for low-end machines. Just check the balance before you queue a batch of 8-second 1080p jobs. And remember everything you send - frames included - leaves the machine.

Category🎨MJapiparty/VideoCreat

Inputs (8)

NameTypeDefaultDescription
first_imageIMAGE
promptSTRING
durationINT52–8
resolutionCOMBO1080p2 options: 720p, 1080p
movement_amplitudeCOMBOauto4 options: auto, small, medium, large
bgmBOOLEANfalse
seedINT0
last_imageoptIMAGE

Outputs (1)

NameTypeDescription
videoVIDEO