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
Create API Key
Generate your API key in the API Platform dashboard.
Buy Credits
Top up credits for fixed image costs or per-second video costs.
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
// 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
One Plan. Unlimited Possibilities.
Access 60+ AI models for images and videos. Less than $1/day.
Featured Tools
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.