P-Video
Pruna P-Video is a real-time AI video generation model designed for fast creative iteration and production workflows. It supports text-to-video, image-to-video, and audio-to-video through a unified endpoint, delivering up to 1080p at 48 FPS with integrated dialogue generation and audio import. The model emphasizes speed, cost efficiency, sequencing consistency across clips, and stable subject identity, making it well suited for brand content, multi-format distribution, and rapid draft-to-refine pipelines.
API Options
Platform-level options for task execution and delivery.
-
taskType
string required value: videoInference -
Identifier for the type of task being performed
-
taskUUID
string required UUID v4 -
UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
-
outputType
string default: URL -
Video output type.
Allowed values 1 value
-
outputFormat
string default: MP4 -
File format for the generated video.
Allowed values 3 values
-
outputQuality
integer min: 20 max: 99 default: 95 -
Compression quality of the output. Higher values preserve quality but increase file size.
-
webhookURL
string URI -
Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.
Learn more 1 resource
- Webhooks PLATFORM
- Webhooks
-
deliveryMethod
string default: async -
Determines how the API delivers task results.
Allowed values 1 value
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse. Required for long-running tasks like video generation.
Learn more 1 resource
- Task Responses PLATFORM
-
uploadEndpoint
string URI -
Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.
Common use cases:
- Cloud storage: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- CDN integration: Upload to content delivery networks for immediate distribution.
// S3 presigned URL for secure upload https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600 // Google Cloud Storage presigned URL https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789 // Custom storage endpoint https://storage.example.com/uploads/generated-image.jpgThe content data will be sent as the request body to the specified URL when generation is complete.
-
safety
object -
Content safety checking configuration for video generation.
Properties 2 properties
-
safety»checkContentcheckContent
boolean default: false -
Enable or disable content safety checking. When enabled, defaults to 'fast' mode.
-
safety»modemode
string default: none -
Safety checking mode for video generation.
Allowed values 3 values
- Disables checking.
- Checks key frames.
- Checks all frames.
-
-
ttl
integer min: 60 -
Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeis 'URL'.
-
includeCost
boolean default: false -
Include task cost in the response.
-
numberResults
integer min: 1 max: 20 default: 1 -
Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
Inputs
Input resources for the task (images, audio, etc). These must be nested inside the inputs object.
inputs object.-
inputs»frameImagesframeImages
array of objects items: 1 -
For image-to-video workflows, each item can be a plain image input (UUID, URL, Data URI, or Base64), or an object with an explicit
frameposition.When no frame is specified, images are distributed automatically:
- 1 image: First frame.
- 2 images: First and last frames.
- 3+ images: First and last frames, intermediates evenly spaced.
Properties 2 properties
-
inputs»audioaudio
string -
Audio input (UUID or URL).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: prunaai:p-video@0 -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required min: 1 max: 2000 -
Text prompt describing elements to include in the generated output.
Learn more 2 resources
-
Width of the generated media in pixels.
Learn more 2 resources
-
Height of the generated media in pixels.
Learn more 2 resources
-
resolution
string -
Resolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.
Allowed values 2 values
-
duration
integer min: 1 max: 10 default: 5 -
Duration of the generation in seconds. Total frames = duration × fps.
-
fps
integer default: 24 -
Frames per second for video generation. Higher values create smoother motion but require more processing time.
Allowed values 2 values
-
seed
integer min: 0 max: 9223372036854776000 -
Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.
Learn more 1 resource
Settings
Technical parameters to fine-tune the inference process. These must be nested inside the settings object.
settings object.-
settings»audioaudio
boolean default: true -
Include audio in the generated video output.
-
settings»draftdraft
boolean default: false -
Enable draft mode for lower-resolution preview generation.
-
settings»promptUpsamplingpromptUpsampling
boolean default: true -
Automatically enhance the prompt for improved results.
Wind-Carved Desert Bone Caravan
{
"taskType": "videoInference",
"taskUUID": "72c8091e-4400-44a3-ae82-b5f3b8fcbfba",
"model": "prunaai:p-video@0",
"positivePrompt": "A vast pale desert of cracked clay and chalky dunes under a copper morning sky. A nomadic caravan crosses the basin: towering pack animals with rib-like ivory exoskeleton armor, draped indigo cloth, bundles of supplies, and dangling metal charms. Hooded travelers walk beside them, their scarves whipping in the wind. The camera begins low near the ground with dust skimming across the frame, then rises into a smooth tracking shot alongside the procession, revealing distant stone arches and spiraling dust devils. Fine details: hoofprints, fluttering fabric, glints of sun on polished bone, drifting grit, heat shimmer, cinematic depth, realistic motion, epic scale, atmospheric natural lighting, high-end adventure film style.",
"width": 1920,
"height": 1080,
"duration": 6,
"fps": 48,
"seed": 76419,
"settings": {
"audio": true,
"draft": false,
"promptUpsampling": true
}
}{
"taskType": "videoInference",
"taskUUID": "72c8091e-4400-44a3-ae82-b5f3b8fcbfba",
"videoUUID": "ab9a1eb0-0139-4715-bab2-062f64cb4b52",
"videoURL": "https://vm.runware.ai/video/os/a25d05/ws/5/vi/ab9a1eb0-0139-4715-bab2-062f64cb4b52.mp4",
"seed": 76419,
"cost": 0.2404
}Subway Violin Duel Sequence
{
"taskType": "videoInference",
"taskUUID": "5f463728-8863-497d-a06b-bad7cce94c58",
"model": "prunaai:p-video@0",
"positivePrompt": "A kinetic underground train platform at midnight, two rival street violinists facing off beside a stopped silver subway car, one in a cream suit and one in a cobalt coat, commuters forming a loose circle, quick bow movements, spinning camera, reflections on polished tile, fluorescent flicker, gusts from arriving train, sheet music pages fluttering through the air, expressive faces, rhythmic footwork, dramatic push-ins, shallow depth of field, high-end cinematic music video style, rich contrast, believable anatomy, strong motion continuity, dynamic crowd reactions",
"width": 720,
"height": 1280,
"duration": 5,
"fps": 24,
"seed": 53780,
"settings": {
"audio": true,
"draft": true,
"promptUpsampling": true
}
}{
"taskType": "videoInference",
"taskUUID": "5f463728-8863-497d-a06b-bad7cce94c58",
"videoUUID": "bd994931-d994-4335-8f6f-06f4ec7a10a4",
"videoURL": "https://vm.runware.ai/video/os/a10d08/ws/5/vi/bd994931-d994-4335-8f6f-06f4ec7a10a4.mp4",
"seed": 53780,
"cost": 0.0251
}Lantern Festival Rooftop Chase
{
"taskType": "videoInference",
"taskUUID": "6579e241-d2c5-44e5-b660-f7a693fa7509",
"model": "prunaai:p-video@0",
"positivePrompt": "A cinematic night festival above a dense old-city skyline, hundreds of glowing paper lanterns rising into the air between tiled rooftops and hanging banners. A nimble courier in a saffron coat sprints across roof ridges carrying a sealed lacquered box while masked performers and drummers move through the streets below. The camera begins with a wide aerial sweep, then drops into an energetic tracking shot alongside the runner, fabrics fluttering, sparks from firecrackers drifting past, warm amber light reflecting on curved ceramic tiles. Midway through the shot, the courier leaps a narrow alley as a burst of lanterns lifts behind them, then lands and slides under strings of flags. Expressive, high-detail faces in the crowd looking upward, lively festival motion, layered depth, natural body mechanics, crisp environment detail, polished cinematic color grading, immersive ambient sound with drums, cheers, footsteps, cloth movement, distant fireworks, no text, no watermark.",
"width": 1920,
"height": 1080,
"duration": 8,
"fps": 48,
"seed": 71055,
"settings": {
"audio": true,
"draft": false,
"promptUpsampling": true
}
}{
"taskType": "videoInference",
"taskUUID": "6579e241-d2c5-44e5-b660-f7a693fa7509",
"videoUUID": "fad8899c-b106-40ce-aac3-380189d6d19d",
"videoURL": "https://vm.runware.ai/video/os/a23d05/ws/5/vi/fad8899c-b106-40ce-aac3-380189d6d19d.mp4",
"seed": 71055,
"cost": 0.3204
}Deserted Monorail Through Redwoods
{
"taskType": "videoInference",
"taskUUID": "402847f6-654d-462c-99a8-dc316dd48ba3",
"model": "prunaai:p-video@0",
"positivePrompt": "A cinematic aerial tracking shot following a sleek but weathered silver monorail gliding along an elevated track through colossal redwood trees at dawn, pale fog drifting between trunks, shafts of amber sunlight cutting through the canopy, ferns and moss below, tiny birds scattering as the train passes, subtle reflections on the windows, gentle camera arc revealing the scale of the forest, realistic motion, rich natural textures, serene and slightly mysterious mood, high detail, filmic color grading",
"width": 1920,
"height": 1080,
"duration": 6,
"fps": 48,
"seed": 40906,
"settings": {
"audio": true,
"promptUpsampling": true
}
}{
"taskType": "videoInference",
"taskUUID": "402847f6-654d-462c-99a8-dc316dd48ba3",
"videoUUID": "6e6ae489-deeb-49ac-bc51-0fa746be3969",
"videoURL": "https://vm.runware.ai/video/os/a17d13/ws/5/vi/6e6ae489-deeb-49ac-bc51-0fa746be3969.mp4",
"seed": 40906,
"cost": 0.2404
}