Skip to main content
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

API Endpoint

POST
/api/v1/models/p-video-avatar/run

Test 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.

Parameters

Input parameters accepted by this model

ParameterTypeDefault
image
required
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
-

Example Outputs

Real outputs generated by this model

View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0
View Details

0 credits
0

Code Examples

Portrait + script → talking avatar — 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 '{
    "image": "https://...",
    "voice_script": "Welcome to PixelDojo.",
    "voice": "Zephyr (Female)",
    "resolution": "720p"
  }'

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": "2026-07-18T05:20:51Z"
}

Completed Response

json
{
  "jobId": "job_abc123...",
  "status": "completed",
  "output": {
    "video": "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.mp4"
  },
  "creditCost": 5,
  "expiresAt": "2026-07-18T05:20:51Z"
}