generate_video
Generate videos from text prompts, images, or audio using AI models like p-video, wan, and vace. Supports custom durations, resolutions, and aspect ratios.
Instructions
Generate a video from text, image, or audio using Pruna AI.
Args: prompt: Text prompt for video generation model: Model to use (p-video, wan-t2v, wan-i2v, vace) image: Input image URL/path for image-to-video audio: Input audio URL/path for audio-conditioned video duration: Duration in seconds (1-20) resolution: Video resolution (720p or 1080p) aspect_ratio: Aspect ratio (ignored when image is provided) fps: Frames per second (24 or 48) seed: Random seed for reproducible generation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| seed | No | ||
| audio | No | ||
| image | No | ||
| model | No | p-video | |
| prompt | Yes | ||
| duration | No | ||
| resolution | No | 720p | |
| aspect_ratio | No | 16:9 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |