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": "prunaai/p-video-draft",
"input": {
"prompt": "Describe the shot…"
},
"params": {
"resolution": "720p",
"duration": "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"