Customer API keys
Create, rotate, revoke and restrict keys from the dashboard.
Integrate background removal, conversion and media workflows into your own product with API keys, monthly credits, Stripe billing, usage stats and IP-restricted access.
Create, rotate, revoke and restrict keys from the dashboard.
Track requests and credits per account and per API key.
Limit each key to exact IPs or CIDR ranges.
Checkout, subscriptions and customer portal are built in.
API for developers
Use DownMagic API for background removal, media conversion and downloader workflows with API keys, usage credits, billing and IP restrictions.
Remove image backgrounds and return transparent PNG files through a paid API endpoint.
Convert audio, video and image files through async jobs with metered usage.
Create authorized URL download jobs such as YouTube to MP4 or MP3 with the same worker pipeline.
Review authentication, API key management, IP restrictions, usage credits, error codes and examples for cURL, JavaScript and Python.
Read API docs# Remove background API
curl -X POST "https://api.downmagic.com/background/remove" \
-H "Authorization: Bearer dm_live_your_api_key" \
-F "[email protected]" \
--output portrait_downmagic.png
# File converter API
curl -X POST "https://api.downmagic.com/convert" \
-H "Authorization: Bearer dm_live_your_api_key" \
-F "[email protected]" \
-F "outputFormat=mp4" \
-F "quality=720"
# Authorized downloader API, for example YouTube to MP4
curl -X POST "https://api.downmagic.com/download" \
-H "Authorization: Bearer dm_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.youtube.com/watch?v=VIDEO_ID","outputFormat":"mp4","ownershipConfirmed":true}'Yes. API keys can only be created and used after an active API subscription, except for internal admin accounts.
Yes. Each key can be limited to specific IP addresses or CIDR ranges.
Yes. The dashboard shows monthly requests, credits and failures for every key.