Video model API
Gen-4 Turbo API
Gen-4 creates fast, controllable and flexible video generation that can seamlessly sit beside live action, animated and VFX content. Gen-4 creates videos in 5 or 10 second durations based on an input image and text prompt you provide.The Turbo version of Gen-4 delivers further enhanced speeds at a lower cost, and is a powerful model for quickly iterating ideas.
- Model id
gen-4-turbo- Takes
- Text (optional) + Image (required)
- Makes
- Video
- Endpoint
POST /api/v1/run- Made by
- Runway
- Mode
- Synchronous
Call Gen-4 Turbo
Base URL
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model gen-4-turbo
POST /api/v1/runasync · poll /v1/jobs/:id
curl https://payload.rentprompts.com/api/v1/run \
-H "Authorization: Bearer rp_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gen-4-turbo",
"prompt": "A slow drone shot over a misty pine forest"
}'
# Async models answer HTTP 202 with a job. Poll it until status is
# "succeeded" (output.url / output.urls) or "failed" (error):
curl https://payload.rentprompts.com/api/v1/jobs/JOB_ID \
-H "Authorization: Bearer rp_live_YOUR_KEY"Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →
What a typical call costs
Worked out from Gen-4 Turbo's published price (6.64 J / second). You pay only for successful results, from your Joule balance.
- 5 seconds of output33.2 Joules
- 10 seconds of output66.4 Joules
Send requests to POST /api/v1/run. Gen-4 Turbo answers synchronously: the result comes back in the response to the same request.
Settings
Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).