Reference

API pricing

The Pedra API is billed in credits. Most image endpoints cost 1–2 credits, edit-via-prompt and renovation cost 2 credits, and each non-static video frame costs 5.

The Pedra API runs on a simple credit system. Every account has a credit balance — each call deducts credits, and you top up at app.pedra.ai or via a custom contract for high volume.

Cost per call

Endpoint
Unit
Cost
/api/enhance
per image
1 credit
/api/enhance_and_correct_perspective
per image
1 credit
/api/furnish
per image
2 credits (Medium)
1 credit (High)
/api/empty_room
per image
1 credit
/api/renovation
per image
2 credits (Medium)
1 credit (High)
/api/sky_blue
per image
1 credit
/api/edit_via_prompt
per image
2 credits
/api/remove_object
per image
1 credit
/api/blur
per image
1 credit
/api/create_video
per non-static frame
5 credits

Video frames using effect: "static" are free — only motion frames (zoom-in, zoom-out, transition) count toward your credit usage.

Worked examples

  • 10 photos enhanced → 10 credits
  • 5 rooms furnished (Medium) + 5 rooms renovated (Medium) → 20 credits (2 × 5 + 2 × 5)
  • 5 rooms furnished with High creativity → 5 credits
  • 10 prompt edits → 20 credits
  • 6-frame video, all zoom-in → 30 credits
  • 6-frame video, 4 zoom-in + 2 static → 20 credits

Monthly balance

Your monthly credit allowance depends on the plan you're on, refreshed on your billing date. See pedra.ai/pricing for the current plans and credit allotments. You can switch plans any time from app.pedra.ai → Settings → Subscription and credits.

Once your monthly credits are depleted, calls return HTTP 403 with the remaining-credits math in the error body — top up or upgrade at app.pedra.ai to continue before the next refresh.

Topping up & enterprise

Top up at app.pedra.ai, or email felix@pedra.ai for:

  • Volume discounts (10,000+ calls/month)
  • Annual billing
  • Bank transfer or custom invoicing
  • Dedicated capacity / SLA

What counts as a billable call

  • Successful HTTP 200 = credits deducted.
  • Auth failures (404 "User not found") and validation errors (400) do not consume credits.
  • 403 Insufficient credits — by definition, no deduction.
  • For video, the credit cost is calculated up-front from your images array and checked before processing begins.

Next

See Errors & limits for the full failure model, or Authentication to get started.