p-video-infiniteworlds
Generate immersive world-exploration videos from a text prompt, optionally seeded with a starting image
Generate immersive world-exploration videos from a text prompt, optionally seeded with a starting image
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:
| Configuration | Price |
|---|---|
| All resolutions | 0.01$ per second of output video |
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
}
}'
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
}
}'
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"
}
}'
| Parameter | Type | Description |
|---|---|---|
| prompt | string | Text prompt for video generation |
| Parameter | Type | Default | Description |
|---|---|---|---|
| duration | integer | 5 | Duration of the video in seconds (1-20). Ignored when audio is provided |
| fps | integer | 24 | Frames per second of the video. Options: 24, 48 |
| image | string | - | Input image to generate video from (image-to-video). Supports jpg, jpeg, png, webp |
| last_frame_image | string | - | Reference image for the last frame of the video. Supports jpg, jpeg, png, webp |
| audio | string | - | Input audio to condition video generation. Supports flac, mp3, wav |
| save_audio | boolean | true | Save the video with audio |
| seed | integer | random | Random seed. Set for reproducible generation |