Developer Documentation & REST API
Automate Inpainting with our Robust API
Integrate programmatic Gemini watermark removal and 4K upscaling into your SaaS, CMS, mobile apps, or rendering pipelines with simple REST endpoints.
Endpoint:
curl -X POST "https://api.pixelrefine.ai/v1/video/remove-watermark" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"video_url": "https://storage.googleapis.com/veo-clips/sunset_mountain.mp4",
"watermark_type": "gemini_veo",
"target_resolution": "4K",
"temporal_consistency": true,
"webhook_url": "https://your-domain.com/webhooks/pixelrefine"
}'HTTP 200 OK · Response payload:
{
"status": "queued",
"job_id": "pr_vid_94a73b22e18f",
"estimated_seconds": 8.4,
"queue_priority": "h100_cluster",
"webhook_registered": true
}Core Endpoints Reference
POST
/v1/video/remove-watermarkAsynchronous Video RemovalSubmit a video URL for spatio-temporal watermark erasure. Returns a job ID and triggers your webhook upon completion.
POST
/v1/image/cleanSynchronous Image InpaintingClean images in real time under 400ms. Returns direct clean CDN URL with 100% texture recovery.
GET
/v1/jobs/{job_id}Job Status & DownloadPoll job processing progress, download link, and metadata.
Bearer Authentication
All API requests must pass your API secret key via the standard HTTP header: Authorization: Bearer YOUR_API_KEY
High-Throughput Rate Limits
Studio plans allow up to 120 concurrent processing streams with auto-scaling bursting. Higher limits available upon enterprise SLA request.