API Pricing
Pay-as-you-go API credits for image conversion. No subscription required.
How It Works
Buy Credits
Choose a plan and purchase API credits
Get API Key
Generate your API key from Dashboard
Integrate
Use our REST API in your application
Scale
Credits never expire, buy more anytime
Retries and X-Request-Id
Timeouts, gateway 502s or client-side retries can submit the same image twice. With this header we charge you once.
X-Request-Id: conv-20261202-9f3c1a
- -One logical request, one ID (letters, digits, - and _, 6–48 chars) — reuse it on every retry.
- -We deduplicate on "API Key + X-Request-Id"; a repeated request returns the first result and is not charged again.
- -This deduplication applies only when your credits run out and the call is charged to prepaid points; direct credit deductions are not deduplicated, so always send the header.
- -On an unknown result, retry with the same ID; a new ID counts as a new request and is charged again.
RID="conv-$(date +%s)-a1b2c3" curl -X POST https://www.bulkpicconv.com/api/v1/convert \ -H "Authorization: Bearer $BULKPIC_API_KEY" \ -H "X-Request-Id: $RID" \ -F "file=@photo.jpg" -F "format=webp" # timeout? retry with the same $RID
const rid = `conv-${Date.now()}-${Math
.random().toString(36).slice(2, 8)}`
for (const n of [0, 1, 2]) {
const res = await fetch(URL, {
method: 'POST',
headers: {
Authorization: `Bearer ${KEY}`,
'X-Request-Id': rid,
},
body: form,
})
if (res.ok) break // same rid, same charge
await new Promise((r) => setTimeout(r, 800 * (n + 1)))
}import uuid, requests
rid = f"conv-{uuid.uuid4().hex[:12]}"
for n in range(3):
r = requests.post(
URL, timeout=60, files=files,
headers={"Authorization": f"Bearer {KEY}",
"X-Request-Id": rid})
if r.ok: break # same rid, same charge
sleep(0.8 * (n + 1))Without the header each request gets a random ID, so automatic retries may be charged twice.
Frequently Asked Questions
Do credits expire?
No, all purchased credits never expire. Use them whenever you need.
What counts as one API call?
Each successful image conversion counts as one call. Failed conversions are not counted.
Can I use credits with any plan?
Yes! Credits work independently of subscription plans. Free users can buy credits to access the API.
What happens when credits run out?
API calls will return 429 error. Simply purchase more credits to continue.