models/Pika Labs/Pika Text to Video (v2.1)

Pika Text to Video (v2.1)

video

Start with a simple text input to create dynamic generations that defy expectations. Anything you dream can come to life with sharp details, impressive character control and cinematic camera moves.

Pika Text to Video (v2.1) (pika/pika-v2.1-text-to-video) is a video model from Pika Labs. Pricing via AIgateway: $0.400 per second. Call it via https://api.aigateway.sh/v1/videos/generations — set model="pika/pika-v2.1-text-to-video". Best for: Ads, Storyboards, Demos.

slug · pika/pika-v2.1-text-to-videoprovider · Pika Labs

Use this model

model: pika/pika-v2.1-text-to-video
curl https://api.aigateway.sh/v1/videos/generations \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"pika/pika-v2.1-text-to-video","prompt":"a slow drone shot over a mountain lake"}'

Capabilities

Strengths

  • Text-to-video generation
  • Cinematic motion

Use cases

AdsStoryboardsDemos

Pricing

Per video second$0.400
You pay pass-through · 5% applied at credit top-up, not per-call.
Try in playground →CompareAPI referenceSee usage ranking →

Collections

More video models →More from Pika LabsFrontier models →Free-tier models →
API schema

Call Pika Text to Video (v2.1) from any OpenAI SDK

POST https://api.aigateway.sh/v1/videos/generations·Content-Type: application/json·Auth: Bearer sk-aig-...

Request body

json
{
  "model": "pika/pika-v2.1-text-to-video",
  "prompt": "A drone shot of a mountain lake at golden hour",
  "duration": 5,          // seconds
  "aspect_ratio": "16:9"
}

// Response is an async job — poll /v1/jobs/<id> until status === "completed".

Response

json
{
  "id": "job_abc123",
  "status": "queued",        // queued | processing | completed | failed
  "model": "pika/pika-v2.1-text-to-video",
  "created": 1776947082
}

// After completion:
{
  "id": "job_abc123",
  "status": "completed",
  "result": {
    "url": "https://media.aigateway.sh/video/abc123.mp4",
    "duration": 5,
    "resolution": "1920x1080"
  }
}

Quickstart

# See docs at https://aigateway.sh/docs

Errors

401authentication_errorInvalid or missing API key
402insufficient_creditsWallet empty (PAYG only)
404not_foundUnknown model or endpoint
429rate_limit_errorOver per-minute limit — see Retry-After header
500server_errorUpstream provider failed (retryable)
503service_unavailableUpstream saturated (retryable)
Full docs →API reference →OpenAPI spec →llms.txt →

Frequently asked questions

What is Pika Text to Video (v2.1)?
Start with a simple text input to create dynamic generations that defy expectations. Anything you dream can come to life with sharp details, impressive character control and cinematic camera moves. It is a video model from Pika Labs, accessible via AIgateway's OpenAI-compatible API at slug pika/pika-v2.1-text-to-video.
How much does Pika Text to Video (v2.1) cost via AIgateway?
Pass-through pricing plus a 5% platform fee applied at top-up. See the pricing panel on this page for exact rates.
How do I call Pika Text to Video (v2.1) from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to "pika/pika-v2.1-text-to-video". The request and response shapes match OpenAI exactly.
Does Pika Text to Video (v2.1) support streaming, tool calling, vision, and JSON mode?
Streaming — no. Tool calling — no. Vision — no. JSON mode — no. Prompt caching — no.
What are the best use cases for Pika Text to Video (v2.1)?
Ads, Storyboards, Demos. Key strengths: Text-to-video generation; Cinematic motion.
Can I bring my own Pika Labs API key (BYOK)?
Yes. Attach a Pika Labs key in your AIgateway dashboard and this model flips to pass-through — you pay Pika Labs directly and AIgateway waives the 5% platform fee on those calls.