Pruna AI P-Video-Avatar — Image to video API
Pruna AI, image-to-video. Credits per character of text (counted as spoken:speech.text): 0.2637 for resolution=720p, settings.voicePrompt="Say the following."; 0.4745 for resolution=1080p, settings.voicePrompt="Say the foll…
Endpoint: POST https://queue.auray.run/auray-serverless/prunaai/p-video-avatar
Endpoint ID: auray-serverless/prunaai/p-video-avatar
Usage notes
One of Auray's catalogue models: the same key, the same credits, the same job lifecycle as every other address.
Its request shape is published below. Whether it runs right now is GET /v1/catalogue's word, with no key needed: its addresses say connected for an address that runs, and a submit to any other is refused before anything is charged — described answers 501 model_not_connected, paused 503 model_disabled.
Category image-to-video · Scope video:write (or external:write on an older key) · Price Credits per character of text (counted as spoken:speech.text): 0.2637 for resolution=720p, settings.voicePrompt="Say the following."; 0.4745 for resolution=1080p, settings.voicePrompt="Say the following.". Each character of speech.text counts the time it takes to say: 1.1672 a letter of the Latin or Cyrillic script, a space or a pause mark; 1.7679 an Arabic or Hebrew letter; 3.4818 a kana; 4.8746 a Hangul syllable, a Greek letter or a letter of any other script; 24.3726 a Han character, seven kana; 16 a letter read by its name (alone, in a word with no vowel, or in a word in capitals of four letters or fewer or that no word could be said as, its plural or possessive s a letter); 20 a digit; 48 a symbol or an emoji; a combining mark none. Each band has its own least and most a request is counted at. A settings.voicePrompt other than its default, "Say the following.", is refused before any charge: no published bound limits how long a delivery instruction makes a text run. Plus 179.822917 credits when the request sends inputs.audio at resolution=720p (counted as any:inputs.audio). Plus 323.681251 credits when the request sends inputs.audio at resolution=1080p (counted as any:inputs.audio). An MP4 or MOV clip in inputs.audio that you uploaded through POST /v1/uploads, that one of your jobs made on a catalogue model or an auray-ai/ model, or that is a file of a Cinema Studio project you can open, is held for its own length instead, where its length can be read from the file: 2.997049 credits for each second it runs at resolution=720p, 5.394688 at resolution=1080p, rounded up to the next whole second, up to 60 seconds. A request that sends it and no speech.text counts none of speech.text: its band at its least. Any other clip — a WebM, a file whose length cannot be read, a clip sent by any other link, or one that runs past 60 seconds — is refused before any charge. Quoted when you submit, at the most the request can cost; the charge settles to what the job cost and never above the quote. The submit's answer carries the quote as credits_quoted, and credits_charged says what has been taken.
talking-photo— Talking photo: 1 source file; 1 track (optional)- Resolutions: 720p, 1080p
- Sound: makes its own sound
- Priced by:
char_in(the whole rule is under Price)
Find the addresses that do any of these with GET /v1/models?operation=<id>; the openapi.json carries them as data under x-auray-capability.
Quick start
curl -X POST https://queue.auray.run/auray-serverless/prunaai/p-video-avatar \
-H "Authorization: Bearer $AURAY_API_KEY" \
-H "content-type: application/json" \
-d '{
"inputs": {
"frameImages": [
"https://v3b.auray.media/examples/samples/still-life.jpg"
]
},
"speech": {
"text": "a brass orrery on a walnut desk, morning light from a window to the left"
}
}'import { createClient } from "@auray/client";
const auray = createClient(); // reads AURAY_API_KEY
const result = await auray.subscribe("auray-serverless/prunaai/p-video-avatar", {
input: {
"inputs": {
"frameImages": [
"https://v3b.auray.media/examples/samples/still-life.jpg"
]
},
"speech": {
"text": "a brass orrery on a walnut desk, morning light from a window to the left"
}
},
onQueueUpdate: (update) => console.log(update.status),
});
console.dir(result, { depth: null });from auray_client import Client
auray = Client() # reads AURAY_API_KEY
result = auray.subscribe(
"auray-serverless/prunaai/p-video-avatar",
input={
"inputs": {
"frameImages": [
"https://v3b.auray.media/examples/samples/still-life.jpg"
]
},
"speech": {
"text": "a brass orrery on a walnut desk, morning light from a window to the left"
}
},
on_queue_update=lambda update: print(update["status"]),
)
print(result){
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "run_model",
"arguments": {
"address": "auray-serverless/prunaai/p-video-avatar",
"input": {
"inputs": {
"frameImages": [
"https://v3b.auray.media/examples/samples/still-life.jpg"
]
},
"speech": {
"text": "a brass orrery on a walnut desk, morning light from a window to the left"
}
}
}
}
}const res = await fetch("https://queue.auray.run/auray-serverless/prunaai/p-video-avatar", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AURAY_API_KEY}`,
"content-type": "application/json",
},
body: JSON.stringify({
"inputs": {
"frameImages": [
"https://v3b.auray.media/examples/samples/still-life.jpg"
]
},
"speech": {
"text": "a brass orrery on a walnut desk, morning light from a window to the left"
}
}),
});
console.log(await res.json());import os, requests
r = requests.post(
"https://queue.auray.run/auray-serverless/prunaai/p-video-avatar",
headers={"Authorization": f"Bearer {os.environ['AURAY_API_KEY']}"},
json={
"inputs": {
"frameImages": [
"https://v3b.auray.media/examples/samples/still-life.jpg"
]
},
"speech": {
"text": "a brass orrery on a walnut desk, morning light from a window to the left"
}
},
)
r.raise_for_status()
print(r.json())The same body on https://auray.run runs synchronously and answers the result — unless it usually takes longer than a run may hold its connection, which is refused 400 model_not_synchronous before anything is charged. Options — ?webhook=, ?wait=, priority and timeout headers — are on Submit a request.
Input schema
Show child attributes
acceptance: {"real_people": "2026-11-03"} with the request, or accept in the Auray app — and is refused 403 acceptance_required until then, before anything is charged. A picture made here — a job's result — asks nothing. While uploads are paused here, a picture you upload, or a link from anywhere else, is refused 403 likeness_not_made_here instead, before anything is charged. The files the examples here send are ours, and are taken."720p", "1080p".Show child attributes
"Zephyr (Female)", "Puck (Male)", "Charon (Male)", "Kore (Female)", "Fenrir (Male)", "Leda (Female)", "Orus (Male)", "Aoede (Female)" and 22 more
"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)""en", "en-US", "en-GB", "es", "es-ES", "fr", "fr-FR", "de" and 10 more
"de-DE", "it", "it-IT", "pt-BR", "ja", "ja-JP", "ko", "ko-KR", "hi", "hi-IN"Show child attributes
"URL"."MP4", "WEBM", "MOV".Idempotency-Key: as a header is accepted as an alias — that is the spelling a retrying proxy replays, and the one to use when running a model on auray.run, where a request that outlives its connection is answered 504 and recovered by replay. Omit it and the platform mints one. 1 to 64 characters.Show child attributes
"2026-11-03".Rules
Across fields, as the model's documentation states them. Each is judged before anything is charged — warned with a Deprecation header until enforcement starts — and listed as JSON Schema under x-auray-rules in the openapi.json.
- When
resolutionis sent,inputs.frameImagesis required. - Send exactly one of
inputs.audioorspeech.text.
Machine contracts
- openapi.json — this page as an OpenAPI 3.1 document, public.
- llms.txt — the same, written for an agent.
Was this page helpful?