TollNode

P-Video 2 Pro Avatar talking video

A sharper talking video from one portrait at 768p: send your own MP3 or WAV voice, or a script it speaks in one of 30 voices, up to 20 seconds.

POST /api/v1/nodes/video-p-video-2-pro-avatar

How it works

Your agent pays for itself

Explained in 5 minutes →
  1. Step 1: Needs something. Mid-task, your agent needs an image, a search or a voice.

    1Needs something

  2. Step 2: Finds it on TollNode. It picks the right tool. The price is shown up front.

    2Finds it on TollNode

  3. Step 3: Pays a few cents. Its wallet pays for that one use. No sign-up.

    3Pays a few cents

  4. Step 4: Gets the result. The result comes straight back. If it fails, it's free.

    4Gets the result

Two ways to use P-Video 2 Pro Avatar talking video

Way 1 · Pay per call (x402)

For AI agents, no sign-up

Your agent sends the request, gets a 402 with the exact price (from $0.541 per video), signs a USDC payment on Base and retries. Nothing is collected unless the call succeeds.

add TollNode to Claude Code, Cursor or Codex (once)
npx agentcash add https://tollnode.com
or call it directly
npx agentcash@latest fetch https://tollnode.com/api/v1/nodes/video-p-video-2-pro-avatar -m POST -b '{"image":"https://tollnode.com/examples/video-p-video-avatar.jpg","max_seconds":10,"voice_script":"Hi, I'm your new presenter. Send me a script, and I'll say it on camera in seconds."}'

Way 2 · Account + API key

For apps and teams

Create a free account, load a balance with USDC on Base, create an API key and call any node. Same prices; each successful call is deducted from your balance.

curl
curl -X POST https://tollnode.com/api/v1/nodes/video-p-video-2-pro-avatar \
  -H "Authorization: Bearer $TOLLNODE_API_KEY" \
  -H "content-type: application/json" \
  -d '{"image":"https://tollnode.com/examples/video-p-video-avatar.jpg","max_seconds":10,"voice_script":"Hi, I'm your new presenter. Send me a script, and I'll say it on camera in seconds."}'

Step-by-step, with code in JavaScript and Python: full guide for P-Video 2 Pro Avatar talking video.

Input

FieldTypeNotes
seedinteger
audiostringYour own speech as an MP3 or WAV URL; the video is as long as the audio. Use this or voice_script. Or send the file inline as a base64 data: URI (up to 4.5 MB)Limit: https link or base64 data: URI up to 4.5 MB
image*stringPortrait of the person who speaks, the first frame (https URL, jpg, png or webp). Or send the file inline as a base64 data: URI (up to 4.5 MB)Limit: https link or base64 data: URI up to 4.5 MB
voiceenumVoice for voice_script. Default Zephyr (Female) (Zephyr (Female), Puck (Male), Charon (Male), Kore (Female), Fenrir (Male), Leda (Female), Orus (Male), Aoede (Female), Callirrhoe (Female), Autonoe (Female), Enceladus (Male), Iapetus (Male), Umbriel (Male), Algenib (Male), Despina (Female), Erinome (Female), Laomedeia (Female), Achernar (Female), Algieba (Male), Schedar (Male), Gacrux (Female), Pulcherrima (Female), Achird (Male), Zubenelgenubi (Male), Vindemiatrix (Female), Sadachbia (Male), Sadaltager (Male), Sulafat (Female), Alnilam (Male), Rasalgethi (Male))
max_secondsenumLongest the video can be; sets the price. Longer audio or scripts are refused before anything runs, and not charged. Default 10 (10, 20)
video_promptstringHow the person looks and moves while speakingLimit: up to 500 characters
voice_promptstringHow to say it: tone, pace, accentLimit: up to 300 characters
voice_scriptstringExact words to say, spoken by the chosen voice, when you send no audio (about 2.3 words a second)Limit: up to 600 characters
voice_languageenumLanguage of voice_script. Default English (US) (English (US), English (UK), Spanish, French, German, Italian, Portuguese (Brazil), Japanese, Korean, Hindi)

Example response

{
  "videos": [
    "https://tollnode.com/api/v1/files/00000000-0000-0000-0000-000000000000/0"
  ],
  "aiGenerated": true
}

FAQ

What does the P-Video 2 Pro Avatar talking video node return?
A sharper talking video from one portrait at 768p: send your own MP3 or WAV voice, or a script it speaks in one of 30 voices, up to 20 seconds.
How much does one call cost?
from $0.541 in USDC on Base per video (one call = one short video), charged only when it succeeds, depending on max_seconds (10: $0.541, 20: $1.081). No sign-up, subscription or API key.
What happens if the call fails?
You are not charged. TollNode checks your signed payment first, runs the node, and only collects the payment if the result is usable. A failed, empty or timed-out call is never settled, so there is nothing to refund.
How does an AI agent pay?
With x402. The first request returns HTTP 402 and the exact price. Any x402 wallet signs the USDC payment and retries automatically. In Claude Code or Cursor, run npx agentcash add https://tollnode.com once.
Can I use an API key instead?
Yes. Create a free account, add funds in USDC on Base, create an API key and send it as Authorization: Bearer. Each successful call is deducted from your balance at the same price; failed calls cost nothing.