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 | seedance-2 |
| Provider | ByteDance |
| Cost | $3.00/video |
| Duration | 5-15s |
| Speed | ~1-2 min |
| Best for | Longest clips, unrestricted |
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": "seedance-2", "prompt": "A samurai drawing a katana in a field of golden grass, cherry blossoms swirling, cinematic slow motion", "duration": 10}'
import requests, os
r = requests.post("https://ninjachat.ai/api/v1/video",
headers={"Authorization": f"Bearer {os.environ['NINJACHAT_API_KEY']}"},
json={"model": "seedance-2", "prompt": "A samurai drawing a katana in a field of golden grass, cherry blossoms swirling, cinematic slow motion", "duration": 10}
)
print(f"Poll: {r.json()['request_id']}")
Guides: Video Generation | All Models | Pricing | Error Handling