All models

P-Video-Animate

pruna/p-video-animate
Pruna Video GenerationMotion TransferAnimation

Pruna's P-Video-Animate takes a source video and a subject reference image, then animates the referenced subject using the motion and audio from the source video.

Quick start

# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
  -H "content-type: application/json" \
  -d '{
    "model": "pruna/p-video-animate",
    "image": "https://example.com/input.jpg",
    "video": "https://example.com/input.mp4"
  }'

# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
  -J '{"model": "pruna/p-video-animate", "image": "https://example.com/input.jpg", "video": "https://example.com/input.mp4"}'

Examples

Parameters

Input
image string required

Reference image of the subject to animate. HTTP(S) URL or data URI. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

video string required

Source RGB video (.mp4) used as the motion and audio source. HTTP(S) URL or data URI. Pass a public URL; to use a local file, upload it (free) via POST /v1/media (≤40MB) and pass the returned url.

disable_safety_checker boolean optional default: false

Disable safety checker for generated videos.

ignore_audio boolean optional default: false

Ignore source audio during generation.

instruction_prompt string optional default: ""

Further instruction on how the reference subject should be animated.

resolution string optional default: "720p"

Target resolution.

save_audio boolean optional default: true

Save the video with audio.

seed integer optional

Random seed for reproducible generation.

target_fps string optional default: "original"

Target FPS for the working video.

turbo boolean optional default: false

Turbo mode: faster generation for slightly lower quality.

Output
video: model output URL