Vidu Q4 API
Shengshu's Vidu Q4: image to video and reference to video, up to 4K.
Pricing per second of video
| Resolution | Per second |
|---|---|
| 540p | $0.05lowest5 credits |
| 720p | $0.1010 credits |
| 1080p | $0.1212 credits |
| 2K | $0.1919 credits |
| 4K | $0.3939 credits |
Billed in credits per second of video (100 credits = $1, rounded up to a whole credit). Charged once, only for the route that succeeds. Failed attempts cost $0.00.
Request
# One Idempotency-Key per request, made once and sent again with every resend of it
KEY=$(uuidgen)
# 1. Submit. max_cost_usd is your cap: the most this may cost ($0.10 a second: $1.00 for 10 s).
# No id after a timeout, a 429 or a 5xx? Run step 1 again: the same $KEY never makes a second one.
RESP=$(curl -s https://api.revana.si/v1/generations \
-H "Authorization: Bearer $REVANA_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $KEY" \
-d '{
"model": "vidu-q4",
"input": {
"prompt": "A slow dolly shot through a neon-lit night market in the rain, steam rising from food stalls",
"image_url": "https://example.com/start-frame.jpg",
"resolution": "720p"
},
"max_cost_usd": 1.5
}')
ID=$(echo "$RESP" | jq -r '.id // empty')
echo "${ID:-no id: ${RESP:-no answer}}"
# 2. Poll it until status is "succeeded" or "failed". A failed one is free; to try it again,
# make a new key first (KEY=$(uuidgen)): the old one answers with the failure.
curl -s https://api.revana.si/v1/generations/${ID:?no id from step 1} \
-H "Authorization: Bearer $REVANA_API_KEY"
# 3. Download the file once it has succeeded
curl -L https://api.revana.si/v1/generations/${ID:?no id from step 1}/content \
-H "Authorization: Bearer $REVANA_API_KEY" \
-o out.mp4Set REVANA_API_KEY to your key. Full reference in the quickstart.
Options
vidu-q41 route
One route today. If it fails you are not charged.
About the Vidu Q4 API
How much does the Vidu Q4 API cost?
Vidu Q4 costs from $0.05 per second of video on Revana (540p: $0.05; 720p: $0.10; 1080p: $0.12; 2K: $0.19; 4K: $0.39). You pay in prepaid credits, 100 credits to the dollar, with no subscription or monthly minimum. A generation that fails costs nothing.
How do I call Vidu Q4 from code?
Send POST https://api.revana.si/v1/generations with {"model": "vidu-q4", "input": {...}} and your Revana API key as a Bearer token, poll GET /v1/generations/{id} until it succeeds, then download GET /v1/generations/{id}/content. Every model on Revana takes the same request shape.
What happens if a Vidu Q4 generation fails?
You are charged once, only for the route that delivers. A failed generation costs $0.00.
What can Vidu Q4 do on Revana?
Vidu Q4 supports image to video and reference to video, resolutions 540p, 720p, 1080p, 2K, 4K, silent output and up to 15 input images. A value it does not offer is refused with 422 before anything is charged.
Can my AI agent use Vidu Q4?
Yes. Connect the Revana MCP server (https://revana.si/api/mcp) to Claude, ChatGPT, Cursor or Codex, or have the agent call the REST API. The agent can list models, get a free quote and generate on your credits.
Guides
Compare with similar models
- Vidu Q3 Shengshu, from $0.05 per second of video
- Vidu Q3 Mix Shengshu, from $0.13 per second of video
- Vidu Q3 Pro Shengshu, from $0.07 per second of video
- Vidu Q3 Turbo Shengshu, from $0.04 per second of video
- Vidu Q4 Preview Shengshu, from $0.06 per second of video
- Seedance 2.5 ByteDance, from $0.09 per second of video
Also as markdown for agents. Every model and price: models.json.