Back to API Platform
P Video Avatar API
Pruna P Video Avatar — animate a portrait into a talking avatar from a script or an audio file. 30 voices, 10 languages, 720p / 1080p. Integrate this model via REST with endpoint docs, parameters, and code examples.
Video Generation
Img2Vid
Audio
Content moderation disabled
Credit Cost
1 credit/sec
Type
video
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
POST
/api/v1/models/p-video-avatar/runLLM.txt
AI-Ready
For AI assistants
Copy this model's documentation into Claude, GPT, or any AI for instant integration help.
/llm/p-video-avatar.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 |
|---|---|---|
imagerequired | url | - |
voice_script | string | - |
audio | url | - |
voice | enum | Zephyr (Female) |
voice_language | enum | English (US) |
video_prompt | string | - |
voice_prompt | string | - |
resolution | enum | 720p |
disable_prompt_upsampling | boolean | false |
seed | integer | - |
Code Examples
Copy and paste to get started
bash
curl -X POST "https://pixeldojo.ai/api/v1/models/p-video-avatar/run" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A cinematic shot of ocean waves at sunset",
"aspect_ratio": "16:9",
"duration": 5
}'Response Format
Submit Response (202 Accepted)
json
{
"jobId": "job_abc123...",
"status": "pending",
"statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
"creditCost": 5,
"creditsRemaining": 95,
"expiresAt": "2025-01-23T12:00:00Z"
}Completed Response
json
{
"jobId": "job_abc123...",
"status": "completed",
"output": {
"video": "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.mp4"
},
"creditCost": 5,
"expiresAt": "2025-01-23T12:00:00Z"
}