API

Models & credits.

Two tiers, one credit system. Quality is the default in the playground; the API defaults to fast unless you pass model=quality.

Models

NAMETYPEDESCRIPTION
fastmodelLaMa-based inpainting. 1× credits. Best for speed and volume.
qualitymodelMoebius 0.2B diffusion. 2× credits. Default on paid plans in the playground. 512px native; best for small and medium masks.

The dashboard playground defaults to quality on Starter, Pro, and Scale. The public API defaults to fast for backward compatibility — pass model=quality explicitly. Large masks should use fast; Moebius is strongest on small and medium objects.

Credit formula

Credits
base = ceil(width * height / 12_000_000)
credits = base * (model === "quality" ? 2 : 1)

Failed jobs cost 0. Credits are reserved before inference and committed only when an output is produced. A 12 MP fast image is 1 credit; a 24 MP quality image is 4 credits.

Plan limits

GET /v1/me returns your max megapixels, concurrency, requests per second, allowed models, and retention. The API enforces them per key.

GET /v1/me
{
  "plan": { "slug": "pro", "name": "Pro", "status": "active" },
  "credits": { "available": 4321, "plan_credits": 1200, "topup_credits": 3121, "held": 0 },
  "limits": {
    "max_megapixels": 40,
    "max_concurrency": 10,
    "rate_limit_rps": 30,
    "allowed_models": ["fast", "quality"],
    "retention_days": 30
  }
}