HomeDevelopers
Build with Pika

Pika AI for Developers

Everything a developer needs to start building with Pika in one place: the API and its pricing, official developer resources, a quickstart in curl and Node.js, AI coding agent setup, and links to our deeper guides.

City scene artwork from Pika
Image: Pika.

Start here

The Pika API at a glance

Key facts from Pika’s developer documentation
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 URLhttps://api.dev.pika.art
AuthX-API-Key or Authorization: Bearer; recommended variable PIKA_API_KEY
Media jobsAsynchronous: submit, then poll or receive a signed webhook
Language modelsSynchronous; OpenAI-compatible, Anthropic Messages and Google GenAI endpoints; streaming supported
Pricing$10/month membership plus pay-as-you-go; “no free generation tier”
Test environmentNone: “no separate test environment”; catalog and quotes are free
Commercial use“All API outputs are licensed for commercial use under your Pika API agreement.”
SupportShared Slack channel for API customers; api@pika.art

Sources: Pika API homepage and llms.txt.

Official developer resources

Pika API links
ResourceLinkUse it for
Sign up / sign indev.pika.art/loginCreate your organization and membership
Dashboarddev.pika.art/dashboardUsage and billing
API keysdev.pika.art/keysCreate, rotate and revoke keys
Webhooksdev.pika.art/webhooksEndpoints and signing secret
Models & playgroundsdev.pika.art/modelsBrowse and test models in the browser
Pricingdev.pika.art/pricingPer-model member rates and savings calculator
llms.txtdev.pika.art/llms.txtMachine-readable overview and model list
OpenAPI 3.1dev.pika.art/openapi.jsonAuth schemes and every callable path
Agent onboardingdev.pika.art/agentOne prompt for AI coding tools
Public catalogGET https://api.dev.pika.art/catalog/apisLive 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:

Language model endpoints from Pika’s llms.txt
ProtocolEndpoint
OpenAI-compatiblePOST /v1/chat/completions
Anthropic MessagesPOST /anthropic/v1/messages
Google GenAIPOST /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 ideas and a starting operation (our suggestions)
ProjectOperations to look at
Product photo to ad clipImage-to-video (Pika 2.5, Seedance 2.5)
Auto-scored video uploadsPika Soundtrack
Narrated explainer generatorLLM for the script + text-to-speech + text-to-video
Localisation toolTranscription, dubbing, Eleven Multilingual v2
Image editor featureImage-to-image (Seedream 5.0 Pro, Nano Banana Pro, GPT Image 2)
Game sound libraryPika 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.