Per second at the default quality; other qualities are priced on the playground.
curl https://platform.4i.app/api/v1/run \
-H "Authorization: Bearer $FOURI_KEY" \
-H "Content-Type: application/json" \
-d '{
"service": "vidu/vidu-q1",
"input": {
"prompt": "Describe the shot…"
},
"params": {
"quality": "1080p",
"seconds": "5"
}
}'
# Video runs return "status": "running".
# Poll until it is "succeeded":
curl https://platform.4i.app/api/v1/runs/run_… \
-H "Authorization: Bearer $FOURI_KEY"