Documentation Index
Fetch the complete documentation index at: https://docs.ninjachat.ai/llms.txt
Use this file to discover all available pages before exploring further.
| |
|---|
| Model ID | runway-gen4-turbo |
| Provider | Runway |
| Cost | $3.00/video |
| Duration | 5s or 10s |
| Speed | ~30-60s |
| Best for | Fast image animation, product demos |
| Note | Requires image_url parameter |
Example
curl -X POST https://ninjachat.ai/api/v1/video \
-H "Authorization: Bearer nj_sk_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "runway-gen4-turbo", "prompt": "Camera slowly pulls back, clouds drift", "duration": 5, "image_url": "https://example.com/photo.jpg"}'
import requests, os
r = requests.post("https://ninjachat.ai/api/v1/video",
headers={"Authorization": f"Bearer {os.environ['NINJACHAT_API_KEY']}"},
json={
"model": "runway-gen4-turbo",
"prompt": "Camera slowly pulls back, clouds drift",
"duration": 5,
"image_url": "https://example.com/photo.jpg"
}
)
print(f"Poll: {r.json()['request_id']}")
Guides: Video Generation | All Models | Pricing | Error Handling