AIGC Compliance offers two ways to watermark your AI-generated images: a visual web dashboard and a REST API. Both use the same watermarking engine, but they're designed for different workflows.
Dashboard 🆚 APIThis guide helps you choose the right method based on your technical requirements, volume, and workflow.
🎯 Quick Decision Matrix
| Scenario | Recommended Method |
|---|---|
| Watermarking 1-10 images manually | Dashboard ✅ |
| Processing 100+ images per day | API ✅ |
| Automated CI/CD pipeline integration | API ✅ |
| Non-technical users | Dashboard ✅ |
| Bulk processing thousands of images | API ✅ |
| One-time compliance test | Dashboard ✅ |
| Real-time watermarking in web app | API ✅ |
🖥️ Method 1: Web Dashboard
📊 Dashboard Overview
Access: aigc-compliance.com/dashboard
Requirements: Browser + Account (free signup)
Best for: Manual processing, small batches, non-technical users
How It Works
- Login to your account
- Click "Upload Image" or drag-and-drop
- Select region (EU or CN)
- Customize watermark text (if your plan allows)
- Click "Process Image"
- Download watermarked result (~50ms processing)
✅ Dashboard Pros
- No coding required - Visual interface for everyone
- Instant preview - See original and processed side-by-side
- Quick testing - Perfect for trying different watermark options
- No API key management - Just login and upload
- Mobile friendly - Works on tablets and phones
❌ Dashboard Limitations
- Manual upload - One image at a time (or small batches)
- Not automated - Can't integrate into scripts or pipelines
- Slower for bulk - Processing 100+ images takes time
- Requires browser - Can't run headless or server-side
💡 Dashboard Technical Details
Max file size: 10MB per image
Supported formats: PNG, JPG, JPEG
Processing time: 50-70ms per image
Batch uploads: Possible but processed sequentially
⚡ Method 2: REST API
🔌 API Overview
Endpoint: POST https://aigc-compliance-api-production.up.railway.app/comply
Requirements: API key + HTTP client
Best for: Automation, bulk processing, developers
How It Works (Python Example)
import requests
API_URL = "https://aigc-compliance-api-production.up.railway.app/comply"
API_KEY = "your_api_key_here"
with open("image.jpg", "rb") as f:
response = requests.post(
API_URL,
headers={"Authorization": f"Bearer {API_KEY}"},
files={"file": f},
data={"region": "EU"} # or "CN" for China - both support custom watermarks
)
result = response.json()
print(f"Done in {result['processing_time_ms']}ms")
print(f"Download: {result['download_url']}")
✅ API Pros
- Fully automated - Integrate into any workflow
- Bulk processing - Handle 1000s of images with concurrent requests
- CI/CD integration - Add to build pipelines
- Server-side - No browser required
- Programmatic control - Full control via code
- Real-time - Watermark on-the-fly as images are generated
❌ API Limitations
- Requires coding - Need to write integration code
- API key management - Must securely store credentials
- Error handling - Need to implement retry logic
- Learning curve - Requires API documentation reading
💡 API Technical Details
Authentication: Bearer token (OAuth 2.0)
Rate limit: 100 requests/minute
Max concurrent: 20 parallel requests
Timeout: 30 seconds
Response format: JSON
📊 Performance Comparison
Scenario 1: Process 10 Images
| Method | Time | Effort |
|---|---|---|
| Dashboard | 2-3 minutes (manual upload + download) | Low (point & click) |
| API | ~1 second (10 concurrent requests @ 50ms each) | Medium (write script once) |
Scenario 2: Process 1000 Images
| Method | Time | Feasibility |
|---|---|---|
| Dashboard | 3-5 hours (manual work) | ❌ Not practical |
| API | ~50 seconds (20 concurrent @ 50ms) | ✅ Fully automated |
🎯 Real Use Cases
Use Case 1: Marketing Agency (Dashboard)
✅ Perfect for Dashboard
Scenario: Agency creates 5-10 AI images per day for client social media posts.
Why Dashboard: Low volume, need to review each image visually before publishing.
Workflow: Designer uploads images to dashboard, downloads compliant versions, sends to client.
Use Case 2: E-commerce Platform (API)
✅ Perfect for API
Scenario: E-commerce site generates 500+ product images daily with AI.
Why API: High volume, need automation, integrate with existing pipeline.
Workflow: AI generates image → API watermarks → Upload to CDN → Display on site. All automated.
Use Case 3: Design Studio (Hybrid)
✅ Use Both Methods
Scenario: Studio creates custom AI art for clients. Some projects are 1 image, others are 100+.
Why Hybrid: Dashboard for small projects, API for bulk campaigns.
Workflow: Switch between methods based on project size.
💻 Code Examples (API)
Node.js
const FormData = require('form-data');
const fs = require('fs');
const axios = require('axios');
async function watermarkImage(imagePath) {
const form = new FormData();
form.append('file', fs.createReadStream(imagePath));
form.append('region', 'EU');
const response = await axios.post(
'https://aigc-compliance-api-production.up.railway.app/comply',
form,
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
...form.getHeaders()
}
}
);
return response.data;
}
// Process single image
watermarkImage('image.jpg').then(result => {
console.log(`Processed in ${result.processing_time_ms}ms`);
});
PHP
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://aigc-compliance-api-production.up.railway.app/comply',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => [
'file' => new CURLFile('image.jpg'),
'region' => 'EU'
],
CURLOPT_HTTPHEADER => [
'Authorization: Bearer YOUR_API_KEY'
]
]);
$response = curl_exec($curl);
$result = json_decode($response, true);
echo "Processed in {$result['processing_time_ms']}ms\n";
curl_close($curl);
?>
🔧 Which Method Should You Use?
| Your Situation | Recommendation |
|---|---|
| I need to watermark images right now | Dashboard - Fastest to start |
| I process <50 images/week | Dashboard - Manual is fine |
| I process 100+ images/day | API - Automation required |
| I'm a developer | API - Full control |
| I'm non-technical | Dashboard - No coding needed |
| I want to integrate into my app | API - Only option |
| I need to test the service | Dashboard - Quick validation |
💡 Pro Tip: Start with Dashboard, Scale with API
The best approach for most users:
- Week 1: Sign up free, test with dashboard (100 free calls)
- Week 2-4: Use dashboard for low-volume needs
- Month 2+: When volume grows, migrate to API
🔄 Easy Migration
Both methods use the same backend. Your plan features (custom text, logo upload, etc.) work identically in dashboard and API. No reconfiguration needed.
Try Both Methods Free
100 free API calls • Test dashboard and API • No credit card required
Get Started Free📚 Next Steps
- Dashboard: Try dashboard now
- API: Read API documentation
- Comparison: Bulk processing guide
- Compliance: EU AI Act implementation