Key API Features
Everything you need to build powerful AI image generation into your applications
High-Performance
Fast, reliable image 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 to powerful PixelDojo models including flux-pro, flux-1.1-pro, and flux-1.1-pro-ultra.
How It Works
Getting started with the PixelDojo API is simple
Subscribe
Create an account and subscribe to access powerful AI models and get your API key.
Integrate
Add the API to your application using our documentation and code examples.
Generate
Start generating high-quality AI images directly within your application.
API Endpoints
Powerful endpoints for all your AI image generation needs
Image Generation
Generate high-quality images from text prompts using various models and parameters.
POST /api/v1/flux
{
"prompt": "your detailed prompt here",
"model": "flux-pro",
"aspect_ratio": "1:1",
"num_outputs": 1
}
// Flux Ultra with Raw Mode
POST /api/v1/flux
{
"prompt": "your detailed prompt here",
"model": "flux-1.1-pro-ultra",
"raw": true,
"aspect_ratio": "1:1",
"num_outputs": 1
}
Image Variation
Create variations of existing images with different styles and parameters.
POST /api/v1/image-to-image
{
"image": "base64_encoded_image",
"prompt": "optional guidance prompt",
"strength": 0.7,
"model": "flux-pro"
}
Code Examples
Integrate quickly with sample code in multiple languages
JavaScript Example
// Generate an image using the PixelDojo API
async function generateImage(prompt) {
const response = await fetch('https://pixeldojo.ai/api/v1/flux', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({
prompt,
model: 'flux-pro',
aspect_ratio: '1:1',
num_outputs: 1
})
});
return await response.json();
}
API Pricing
Simple subscription plans with all the API access you need
✨ Limited Time Offer: Current Price Guaranteed When You Subscribe Now! ✨
Unlock Your Creative Superpowers
Less Than $1 Per Day
Create professional-quality AI content that would cost thousands with traditional methods
Subscribe to Premium
Unlock all premium features and get access to 44+ cutting-edge AI tools
Choose Your Plan
Select the billing cycle that works best for you. Annual subscriptions offer the best value.
Monthly Credits
400 credits included with your subscription. Credits are used for premium features like Flux Pro, LoRA Training, and Video Generation. Unused credits roll over to the next month.
Premium Subscription
Featured Tools
Professional-Quality AI Images
Save thousands on photoshoots & design
High-Quality AI Videos
No expensive equipment or editing needed
Frequently Asked Questions
Common questions about the PixelDojo API
What are the rate limits?
Our API rate limits start at10 requests per minute, reach out if you have the need for higher limits.
How are credits consumed?
Standard image generation costs 1 credit per image; Flux Ultra costs 1.5 credits per image. Purchase additional credits at any time.
Can I use the API commercially?
Yes, all subscription plans include commercial usage rights for generated images. You can use the API in your applications, websites, and services.
What image formats are supported?
The API supports output in PNG and JPEG formats. You can specify the desired format and quality in your API requests.