Developer API

PixelDojo API

Integrate high-quality AI image and video generation directly into your applications, websites, and workflows with our powerful REST API.

PixelDojo API Integration

Key API Features

Everything you need to build powerful AI image and video generation into your applications

High-Performance

Fast, reliable image and video generation with optimized response times and high availability.

Simple Integration

RESTful API with easy-to-use endpoints, comprehensive documentation, and code examples.

Multiple Models

Access best-in-class image and video models like Flux, WAN, Kling, and more.

Secure & Reliable

Enterprise-grade security with API key authentication and rate limiting.

Usage Tracking

Monitor your API usage and credit consumption in real-time from your dashboard.

Fast Response

Optimized infrastructure for quick image and video generations with reliable async delivery.

How It Works

Getting started with the PixelDojo API is simple

Step 1

Create API Key

Generate your API key in the API Platform dashboard.

Step 2

Buy Credits

Top up credits for fixed image costs or per-second video costs.

Step 3

Submit & Poll

Submit a job and poll for results using the status URL.

API Endpoints

Powerful endpoints for all your AI image and video generation needs

Submit a Job

Submit an async generation job for any model and receive a job ID for polling.

POST /api/v1/models/wan-2.6-flash/run

{

"prompt": "a cinematic shot of ocean waves at sunset",

"image_url": "https://cdn.pixeldojo.ai/...png",

"duration": 5,

"aspect_ratio": "16:9"

}

Poll Job Status

Poll the status URL to get the output once the job completes.

GET /api/v1/jobs/job_abc123

{

"jobId": "job_abc123",

"status": "completed",

"output": {

"video": "https://temp.pixeldojo.ai/...mp4"

}

}

Quick Start

Integrate in minutes with our simple API

JavaScript

// Submit a job and poll for results

async function generateVideo(prompt, imageUrl) {

const submit = await fetch('https://pixeldojo.ai/api/v1/models/wan-2.6-flash/run', {

method: 'POST',

headers: {

'Content-Type': 'application/json',

'Authorization': 'Bearer YOUR_API_KEY'

},

body: JSON.stringify({

prompt,

image_url: imageUrl,

duration: 5,

aspect_ratio: '16:9'

})

});

const job = await submit.json();

// Poll job.statusUrl until status === "completed"

const status = await fetch(job.statusUrl, {

headers: {

'Authorization': 'Bearer YOUR_API_KEY'

}

});

return await status.json();

}

API Pricing

Simple subscription plans with all the API access you need

Simple, Transparent Pricing

One Plan. Unlimited Possibilities.

Access 60+ AI models for images and videos. Less than $1/day.

60+ AI Models
Image & Video
400 Credits/mo
Priority Support
$25/ month

Featured Tools

WAN 2.2 Video
Google Nano Banana
Change Camera Angle
Flux.2 Studio
VEO 3.1
Pixverse
Consistent Characters
Secure payment Cancel anytime

Only 24 spots left at current pricing

Frequently Asked Questions

Common questions about the PixelDojo API

What are the rate limits?

Our API rate limits start at 10 requests per minute. Reach out if you need higher limits for your use case.

How are credits consumed?

Image models use fixed credits per generation, while video models charge per second of output. Each model's pricing is listed in the API Platform.

Can I use the API commercially?

Yes, all subscription plans include commercial usage rights. Use the API in your applications, websites, and services.

What formats are supported?

Images are typically delivered as PNG, JPG, or WebP. Videos are delivered as MP4 or WebM depending on the model.

Ready to add AI image and video generation to your app?

Get started with PixelDojo API today and transform your creative workflows.