Developer Integration Portal
Manage API credentials, configure rate limit quotas, review credit pricing models, and integrate our multi-language SDK library setups.
API Authentication
Authentication is handled via the custom header X-Api-Key or standard Bearer authorization Authorization: Bearer YOUR_API_KEY.
Quotas & Edge Rate Limits
The Edge Processing network enforces default rate limits to protect infrastructure and maintain service reliability. Developer accounts start with generous default quotas that scale dynamically.
Standard API Rate Limit
Scales automatically for high-throughput enterprise pipelines.
Quota Tracking Headers
- X-RateLimit-Limit: Allowed request threshold
- X-RateLimit-Remaining: Actions left in current window
- X-RateLimit-Reset: UTC Epoch timestamp of quota reset
Select Language
Client Library Config
Configure endpoints and pass headers securely in your application environment.
const fs = require('fs');
async function processImage() {
const fileBytes = fs.readFileSync('input.jpg');
const response = await fetch('https://api.imgpipeline.com/v1/shrink', {
method: 'POST',
headers: {
'X-Api-Key': 'YOUR_API_KEY',
'Content-Type': 'application/octet-stream'
},
body: fileBytes
});
if (response.ok) {
const buffer = Buffer.from(await response.arrayBuffer());
fs.writeFileSync('output.jpg', buffer);
console.log('Processed image saved successfully.');
}
}
import requests
def process_image():
headers = {
'X-Api-Key': 'YOUR_API_KEY',
'Content-Type': 'application/octet-stream'
}
with open('input.jpg', 'rb') as f:
data = f.read()
response = requests.post(
'https://api.imgpipeline.com/v1/shrink',
headers=headers,
data=data
)
if response.status_code == 200:
with open('output.jpg', 'wb') as out:
out.write(response.content)
print("Processed image saved.")
package main
import (
"bytes"
"io"
"net/http"
"os"
)
func processImage() error {
file, _ := os.ReadFile("input.jpg")
req, _ := http.NewRequest("POST", "https://api.imgpipeline.com/v1/shrink", bytes.NewReader(file))
req.Header.Set("X-Api-Key", "YOUR_API_KEY")
req.Header.Set("Content-Type", "application/octet-stream")
resp, err := http.DefaultClient.Do(req)
if err != nil {
return err
}
defer resp.Body.Close()
outFile, _ := os.Create("output.jpg")
defer outFile.Close()
io.Copy(outFile, resp.Body)
return nil
}
<?php
$file = file_get_contents('input.jpg');
$ch = curl_init('https://api.imgpipeline.com/v1/shrink');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $file);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'X-Api-Key: YOUR_API_KEY',
'Content-Type: application/octet-stream'
]);
$result = curl_exec($ch);
file_put_contents('output.jpg', $result);
curl_close($ch);
?>
Prepaid Credit Rate Structure
ImgPipeline operates on a transparent, cost-effective developer credit model. Pay only for what you run.
| Processing Operation | Execution Engine | Credit Cost Per Asset |
|---|---|---|
| Image Compression | Standard Shrink API | 1 Credit |
| Image Resizing & Padding | Standard Resize API | 1 Credit |
| AI Background Removal | AI Extraction API | 5 Credits |
| OpenAI Vision Analysis | AI Vision Proxy | 10 Credits |
Your developer profile is authenticated. Access active credentials and prepaid credits via the central dashboard.
Get Developer Credentials
Register a developer account to receive your client credentials. Claim starting credits instantly inside your secure client sandbox.