Generate cinematic video with Veo 3.1 or Veo 3.1 Fast—one API key, no Google Cloud or Vertex AI setup.
model: "veo-3.1"Highest quality. Best for cinematic scenes, marketing content, and creative projects where quality matters most.
model: "veo-3.1-fast"Optimized for speed. Same architecture with faster output. Ideal for prototyping, batch workflows, and real-time apps.
curl -X POST https://www.ninjachat.ai/api/v1/videos \
-H "Authorization: Bearer nj_sk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A drone shot soaring over a misty mountain range at golden hour, cinematic lighting",
"model": "veo-3.1",
"duration": 8,
"aspect_ratio": "16:9"
}'
# Response: { "id": "vid_abc123def456...", "status": "queued", ... }
# Poll for completion:
curl "https://www.ninjachat.ai/api/v1/videos/vid_abc123def456..." \
-H "Authorization: Bearer nj_sk_YOUR_KEY"{
"id": "vid_abc123def456...",
"object": "video",
"status": "queued",
"model": "veo-3.1"
}// Processing...
{ "id": "vid_abc123def456...", "object": "video", "status": "processing", "progress": 45 }
// Completed
{
"id": "vid_abc123def456...",
"object": "video",
"status": "completed",
"video_url": "https://cdn.ninjachat.ai/videos/..."
}/api/v1/videospromptrequiredmodelrequireddurationaspect_ratioimage_url/api/v1/videos/{id}idrequiredidstatusprogressvideo_urlerrorSign up at ninjachat.ai and grab your key from Developers > API Keys. Works immediately — no Google Cloud setup.
POST to /api/v1/videos with model: "veo-3.1" or "veo-3.1-fast", your prompt, duration, and aspect ratio.
GET /api/v1/videos/{id} with the job id. Progress updates while Veo processes your video.
When status is completed, video_url is a CDN-hosted MP4 you can download or embed.
Google Veo 3.1 is Google DeepMind's most advanced video generation model. It produces cinematic-quality videos with superior motion coherence, photorealistic detail, and precise prompt adherence. Through NinjaChat's API, you can access it with a simple REST call.
Both use the same architecture. Veo 3.1 prioritizes maximum quality (3-5 min generation). Veo 3.1 Fast is optimized for speed (1-2 min) with slightly lower fidelity — ideal for prototyping and batch workflows.
No. NinjaChat handles the Google integration. You only need a NinjaChat API key — no Google Cloud project, no Vertex AI setup, no service accounts.
POST to /api/v1/videos with model set to "veo-3.1" or "veo-3.1-fast". You receive a job id immediately. Poll GET /api/v1/videos/{id} until the video is ready, then use the CDN-hosted MP4 URL.
Veo 3.1 generates videos at 4, 6, or 8 seconds in either 16:9 (landscape) or 9:16 (portrait) aspect ratios.
Yes. Pass an image_url parameter with your reference image and a prompt describing the desired motion. Veo 3.1 will animate the image accordingly.
A Veo 3.1 video costs $3.20 and a Veo 3.1 Fast video costs $1.20. Credits are deducted at submission and refunded automatically if generation fails.
You can try Veo 3.1 for free through the NinjaChat web interface at ninjachat.ai/video-generation. API access requires prepaid credits (from $5) with per-video billing.