PixelDojo API
AI Image and Video API Platform
Build with 150+ AI image, video and audio models through one REST API. Submit an async job, poll or use a webhook, and get output URLs back. It uses the same credits as the web app, with plans from $10/month.
API Reference
Public docs
Endpoints, schemas, and examples.
OpenAPI 3.1
Typed integrations
SDK generation and machine-readable specs.
LLM Docs
Agent-ready docs
llm.txt and agent integration help.
API Keys
Authentication
Create keys for apps and agents.
Usage Dashboard
Requests and credits
Monitor volume, logs, and balance.
Buy Credits
Prepaid capacity
Top up for image and video usage.
Available Models
151 AI models for image, video and audio generation behind one async control plane
Grok Video Extend
xAI Grok Imagine video extension. Continue an existing MP4 with a prompt-directed extension (2 to 10 seconds).
/api/v1/models/grok-video-extend/runHappy Horse Video Edit
Alibaba Happy Horse 1.0 video edit: apply style transfer or local replacement to a source video using text prompts and optional reference images. 720p / 1080p, 3-15 second output.
/api/v1/models/happyhorse-1.0-video-edit/runKling Video Edit
Kling video-to-video edit. Standard or Pro, with optional reference images and audio preservation.
/api/v1/models/kling-video-edit/runP-Video 2 Pro Replace
Pruna P-Video 2 Pro Replace, built on MiniMax H3: swap one or two people in a video for the people in your pictures. Motion, camera, background, everyone else and the sound stay as they were. Up to 120 seconds, 480p or 768p.
/api/v1/models/p-video-2-pro-replace/runP-Video Edit
Pruna P-Video Edit: prompted edits on a clip up to 15 seconds, with up to 4 reference images. Keeps the original audio; draft mode for quick previews.
/api/v1/models/p-video-edit/runSeedance 2.5 Video Edit
Edit or extend an existing video with Seedance 2.5. Replace a subject, add or remove objects, or continue a clip forward or backward, with up to 50 reference materials.
/api/v1/models/seedance-2-5-video-edit/runSeedance 2 Video Edit
Edit source videos with Seedance 2.0 using prompted changes, optional reference images, and 480p, 720p, or 1080p output.
/api/v1/models/seedance-video-edit/runWAN 2.7 Video Edit
Alibaba WAN 2.7 video editing. Modify an existing clip via prompt with optional reference images.
/api/v1/models/wan-video-edit/runGrok Video Edit
xAI Grok Imagine Video edit. Transform short clips via Replicate.
/api/v1/models/xai-video-edit/runQuestions & Answers
Frequently Asked Questions
Authentication, pricing, async jobs, and output lifetime for the PixelDojo API
Create an API key on the API Keys page (any signed-in PixelDojo account can) and send it as a Bearer token: Authorization: Bearer pd_your_api_key. The same key works on every model endpoint.
POST to /api/v1/models/{apiId}/run with the model input. You get back a jobId and a statusUrl. Poll GET /api/v1/jobs/{jobId} until the status is completed, or pass webhook_url on the run call to be notified when the job finishes. Every model publishes its JSON schema at /api/v1/models/{apiId}/schema.
Each model lists its credit cost per generation or per second on this page and in GET /api/v1/models. These are the same credits you use in the PixelDojo web app. Plans start at $10/month for 160 credits, and credit packs start at $5 for 80 credits with no subscription needed. Failed jobs are refunded automatically.
150+ image, video, and audio models, including Nano Banana, Flux 2, GPT Image 2, Seedream 5, Kling, Veo 3.1, WAN 2.7, and Seed Audio 1.0. Browse them above, or list them with GET /api/v1/models.
API outputs are available for one hour after a job completes, and every asset in the job response carries an expiresAt time. Download or copy anything you want to keep.
Yes. The OpenAPI 3.1 spec is at /api/openapi, an LLM-optimized reference is at /llm.txt, and the TypeScript SDK is @pixeldojo/sdk on npm.
Yes. Connect the hosted MCP server at https://pixeldojo.ai/mcp from Claude, Cursor, Codex, ChatGPT and other MCP clients, or run npx @pixeldojo/mcp init for a local install. See the Skills and MCP page for every tool.
Quick start:
https://pixeldojo.ai/api/v1