Start here
Pika API guide
Setup, endpoints, your first Pika 2.5 request in curl and Python, uploads, webhooks and errors.
Read the API guide → PricingPika API Club
The $10/month membership, member prices vs other platforms, and break-even maths.
See API pricing → TeamsEnterprise API
Architecture, capacity, billing, data and security questions, and a go-live checklist.
Plan an integration →The Pika API at a glance
| What it is | “One API for the Best Video, Image, Audio and Music Models” |
|---|---|
| Catalog | “155 callable operations” across video, image, audio, speech, transcription and language models |
| Base URL | https://api.dev.pika.art |
| Auth | X-API-Key or Authorization: Bearer; recommended variable PIKA_API_KEY |
| Media jobs | Asynchronous: submit, then poll or receive a signed webhook |
| Language models | Synchronous; OpenAI-compatible, Anthropic Messages and Google GenAI endpoints; streaming supported |
| Pricing | $10/month membership plus pay-as-you-go; “no free generation tier” |
| Test environment | None: “no separate test environment”; catalog and quotes are free |
| Commercial use | “All API outputs are licensed for commercial use under your Pika API agreement.” |
| Support | Shared Slack channel for API customers; api@pika.art |
Sources: Pika API homepage and llms.txt.
Official developer resources
| Resource | Link | Use it for |
|---|---|---|
| Sign up / sign in | dev.pika.art/login | Create your organization and membership |
| Dashboard | dev.pika.art/dashboard | Usage and billing |
| API keys | dev.pika.art/keys | Create, rotate and revoke keys |
| Webhooks | dev.pika.art/webhooks | Endpoints and signing secret |
| Models & playgrounds | dev.pika.art/models | Browse and test models in the browser |
| Pricing | dev.pika.art/pricing | Per-model member rates and savings calculator |
| llms.txt | dev.pika.art/llms.txt | Machine-readable overview and model list |
| OpenAPI 3.1 | dev.pika.art/openapi.json | Auth schemes and every callable path |
| Agent onboarding | dev.pika.art/agent | One prompt for AI coding tools |
| Public catalog | GET https://api.dev.pika.art/catalog/apis | Live schemas and prices, no key needed |
Pika’s docs set the order of truth: the live catalog first, then each operation’s linked specification, then llms.txt for discovery. “Do not infer endpoint paths, request fields, enum values, pricing, or model support from a model name or from prior knowledge.”
Quickstart in three commands
1. Store your key
export PIKA_API_KEY="your-key-here"
2. Confirm connectivity (free, no key needed)
curl https://api.dev.pika.art/catalog/apis
3. Submit a Pika 2.5 text-to-video job
curl -X POST https://api.dev.pika.art/v1/media/pika/pika-2.5/text-to-video \
-H "X-API-Key: $PIKA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "A paper boat drifts down a rain-filled gutter, soft grey daylight", "resolution": "720p", "duration_s": 5}'
At Pika’s listed $0.04 per second, this 5-second 720p test costs about $0.20. Poll
GET /v1/media/jobs/{id} until the status is completed or
failed. Full walkthrough: your first request.
Node.js example
Our own minimal script (Node 18+), based on Pika’s published spec. Run it server-side only.
const BASE = "https://api.dev.pika.art";
const headers = {
"X-API-Key": process.env.PIKA_API_KEY,
"Content-Type": "application/json",
};
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
async function main() {
let job = await fetch(`${BASE}/v1/media/pika/pika-2.5/text-to-video`, {
method: "POST",
headers,
body: JSON.stringify({
prompt: "A paper boat drifts down a rain-filled gutter, soft grey daylight",
resolution: "720p",
duration_s: 5,
}),
}).then((r) => r.json());
while (!["completed", "failed"].includes(job.status)) {
await sleep(10000);
job = await fetch(`${BASE}/v1/media/jobs/${job.id}`, { headers })
.then((r) => r.json());
}
if (job.status === "completed") {
console.log("Video URL:", job.output.video.url);
} else {
console.error("Job failed:", job);
}
}
main();
For production, add an Idempotency-Key header on submits, handle errors such as
429 with backoff, and prefer webhooks to polling.
Building with AI coding agents
Pika calls its API “agent-native.” Its agent page says you can “paste one onboarding prompt into Claude Code, Codex, Cursor, Lovable, Replit, ChatGPT, or Grok Bot and call the Pika API to generate video, image, audio, music, and speech.”
The onboarding prompt tells your agent to:
- Ask what you want to build and whether it’s working in a repository, an app builder or chat.
- “Fetch https://dev.pika.art/llms.txt, choose the best model and operation,” then read its specification: “Do not guess endpoints, fields, model support, or pricing.”
- Handle your key safely: “Never ask me to paste it into chat, expose it in browser code, or commit it.”
- “Ask before creating batches or using expensive settings.”
- Finish with working code or a generated result, and suggest one next capability.
Copy the full prompt from dev.pika.art/agent.
Language models through the same key
Besides media, the catalog includes language models from providers such as Anthropic, OpenAI, Google, DeepSeek, Moonshot AI and Z.ai. They use synchronous endpoints:
| Protocol | Endpoint |
|---|---|
| OpenAI-compatible | POST /v1/chat/completions |
| Anthropic Messages | POST /anthropic/v1/messages |
| Google GenAI | POST /genai/v1beta/models/{model}:generateContent |
Pika’s instruction: “Use only the protocol and model identifier from the selected model’s specification.” That makes it possible to write a script and generate its visuals with one key.
What developers build with Pika
Pika’s API site describes four kinds of builders:
Indie developers
“Vibe code anything from a recipe site to a virtual try-on app.”
Startups
“Level-up your product with gen AI media at a lower cost.”
Designers
“Create prototypes with working image and video gen.”
Creative agencies
“Integrate Gen Media into your internal creation tools.”
| Project | Operations to look at |
|---|---|
| Product photo to ad clip | Image-to-video (Pika 2.5, Seedance 2.5) |
| Auto-scored video uploads | Pika Soundtrack |
| Narrated explainer generator | LLM for the script + text-to-speech + text-to-video |
| Localisation tool | Transcription, dubbing, Eleven Multilingual v2 |
| Image editor feature | Image-to-image (Seedream 5.0 Pro, Nano Banana Pro, GPT Image 2) |
| Game sound library | Pika SFX and other sound-effect models |
For more ideas, see Pika use cases.
Production tips
- Keep keys server-side. Pika: “A browser application must call Pika through its own authenticated server route.”
- Quote before spending with the free quote endpoint, and check the balance before paid submits.
- Use webhooks, verify signatures and deduplicate on
webhook-id. - Make submits idempotent; “Never reuse an idempotency key with a different body.”
- Don’t silently switch models after a paid failure; Pika advises getting approval first.
- Store outputs yourself and delete job media you no longer need.
Error codes and fixes: API errors · troubleshooting: Pika not working?
Developer FAQs
Does Pika have a public API?
Yes. The Pika API at dev.pika.art gives access to Pika’s own models and 100+ others through one key, with a $10/month membership.
Is there an official SDK?
We didn’t find one listed. The API is REST with an OpenAPI 3.1 description, and language models use OpenAI-compatible, Anthropic and Google-style endpoints.
Can I test for free?
The catalog, quotes and balance checks are free, and new members get a $10 first-month credit. There’s no free generation tier.
What is the Pika-Skills repository on GitHub?
Pika-Labs/Pika-Skills describes itself as “open-source skills for AI coding agents,” but it uses a separate “Pika Developer Key” whose sign-up link now redirects to Pika’s Experiments page. For the current API, use dev.pika.art.
Is this the official Pika developer site?
No. pikaais.com is an independent guide. The official developer site is dev.pika.art.
Ship your first generation
Sign up, store your key, run the quickstart, and you’ll have a video URL in a few minutes.
Get a Pika API key ↗Next: API guide · API pricing · Enterprise
Sources: Pika API homepage, llms.txt, agent page, Pika 2.5 spec and Pika-Skills on GitHub, checked September 24, 2026. Image: Pika. Code examples and project ideas are our own.