p-video-infiniteworlds

Generate immersive world-exploration videos from a text prompt, optionally seeded with a starting image

Overview

p-video-infiniteworlds generates world-exploration videos from a text prompt. You can optionally provide a starting image (image-to-video), a reference image for the last frame, or an audio track to condition the generation.

Rate Limit: 50 requests per minute

Category: Video Generation

Pricing: 0.01$ per second of output video

Quickstart

Text-to-Video (Synchronous)
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-video-infiniteworlds' \
-H 'Try-Sync: true' \
-d '{
"input": {
"prompt": "A drone flight over an endless floating archipelago at sunset.",
"duration": 5
}
}'
Text-to-Video (Asynchronous)
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-video-infiniteworlds' \
-d '{
"input": {
"prompt": "A drone flight over an endless floating archipelago at sunset.",
"duration": 5,
"fps": 24
}
}'
Image-to-Video

Upload a starting image, then reference its URL:

curl -X POST "https://api.pruna.ai/v1/files" \
  -H "apikey: YOUR_API_KEY" \
  -F "content=@/path/to/start.jpg"
curl -X POST 'https://api.pruna.ai/v1/predictions' \
-H 'Content-Type: application/json' \
-H 'apikey: YOUR_API_KEY' \
-H 'Model: p-video-infiniteworlds' \
-d '{
"input": {
"prompt": "The camera drifts forward through the scene.",
"image": "https://your-url.com/start.jpg"
}
}'

Parameters

Required Parameters
ParameterTypeDescription
promptstringText prompt for video generation
Optional Parameters
ParameterTypeDefaultDescription
durationinteger5Duration of the video in seconds (1-20). Ignored when audio is provided
fpsinteger24Frames per second of the video. Options: 24, 48
imagestring-Input image to generate video from (image-to-video). Supports jpg, jpeg, png, webp
last_frame_imagestring-Reference image for the last frame of the video. Supports jpg, jpeg, png, webp
audiostring-Input audio to condition video generation. Supports flac, mp3, wav
save_audiobooleantrueSave the video with audio
seedintegerrandomRandom seed. Set for reproducible generation