Video Generation
P-Video 2 Pro Reference API
Pruna P-Video 2 Pro Reference: reference-to-video built on MiniMax H3. Up to 9 images, 3 video and 3 audio references, plus optional start and end frames, 480p or 768p, 5 to 15 seconds with native audio. keep_audio lip-syncs to your own song or line. Integrate this model via REST with endpoint docs, parameters, and code examples.
Get API Key
Create auth keys for apps and agents
See Usage
Track requests, credits, and logs
Buy Credits
Top up prepaid API capacity
API Endpoint
/api/v1/models/p-video-2-pro-reference/runTest This Model
Run a real request through the API pipeline and inspect the exact input and output your integration will handle. Uses your credits like any API call; failed runs are refunded automatically.
LLM.txt
For AI assistants
Copy this model's documentation into Claude, GPT, or any AI for instant integration help.
/llm/p-video-2-pro-reference.txtOpenAPI Spec
Swagger compatible
Import into Postman, Swagger UI, or generate client SDKs in any language.
/api/openapiParameters
Input parameters accepted by this model
| Parameter | Type | Default |
|---|---|---|
promptrequired | string | - |
reference_images | array | - |
reference_videos | array | - |
reference_audios | array | - |
keep_audio | boolean | false |
image_url | url | - |
end_image_url | url | - |
duration | integer | 5 |
resolution | enum | 768p |
mode | enum | speed |
aspect_ratio | enum | 16:9 |
prompt_upsampler | enum | turbo |
seed | integer | - |
Use saved characters (@Name)
@Name in the prompt to use a character, product, outfit, location, prop or style saved in the account's Character Studio, for example "@Mara on a beach at sunset". Its photos are added to reference_images automatically, after any images you send yourself, so your own image numbering is unchanged. List saved names with GET /api/v1/characters and save new ones with POST /api/v1/characters. An @word that names nothing saved stays plain text.Supported Aspect Ratios
See also
Related endpoints on this model — you may need a different apiId for a different operation (e.g. image edit vs generation).
- Generate/api/v1/models/p-video-2-pro/run
- Generate/api/v1/models/minimax-h3/run
Code Examples
Character reference — copy and paste to get started
curl -X POST "https://pixeldojo.ai/api/v1/models/p-video-2-pro-reference/run" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "The person in the reference walks through a sunlit market",
"reference_images": [
"https://example.com/person.jpg"
],
"duration": 5,
"resolution": "768p",
"aspect_ratio": "adaptive"
}'Response Format
Submit Response (202 Accepted)
{
"jobId": "job_abc123...",
"status": "pending",
"statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
"creditCost": 5,
"creditsRemaining": 95,
"expiresAt": "2026-10-20T12:52:32Z"
}Completed Response
{
"jobId": "job_abc123...",
"status": "completed",
"output": {
"video": "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.mp4"
},
"creditCost": 5,
"expiresAt": "2026-10-20T12:52:32Z"
}