Supervideo API docs

Pricing and credits

How you pay

The wallet is prepaid, in US dollars. Each job is priced per unit: per second of video, or per image, at the price tier of its size. Current prices are in GET /v1/models (pricing.tiers) and in the console.

Price a request before you send it

POST /v1/quote takes the body you would send and where you would send it, and returns the tier, unit price and the amount a create would hold. Nothing is created or held.

curl -X POST https://api.superveo.io/v1/quote \
  -H "Authorization: Bearer $SUPERVIDEO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "/v1/images/generations",
  "body": {
    "model": "z-image",
    "prompt": "a red kite over a beach",
    "size": "1024x1024",
    "speed": "fast"
  }
}'
import os, uuid, requests

r = requests.request(
    "POST", "https://api.superveo.io/v1/quote",
    headers={
        "Authorization": f"Bearer {os.environ['SUPERVIDEO_API_KEY']}",
    },
    json={
        "url": "/v1/images/generations",
        "body": {
            "model": "z-image",
            "prompt": "a red kite over a beach",
            "size": "1024x1024",
            "speed": "fast"
        }
    },
)
print(r.status_code, r.json())
const r = await fetch("https://api.superveo.io/v1/quote", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SUPERVIDEO_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "/v1/images/generations",
    "body": {
      "model": "z-image",
      "prompt": "a red kite over a beach",
      "size": "1024x1024",
      "speed": "fast"
    }
  }),
});
console.log(r.status, await r.json());
{
  "object": "quote",
  "url": "/v1/images/generations",
  "currency": "usd",
  "speed": "fast",
  "max_cost_usd": 0.008,
  "requests": [
    {"model": "z-image", "mode": "t2i", "size": "1024x1024", "price_tier": "1080p",
     "seconds": null, "unit": "image", "unit_price_usd": 0.008, "max_cost_usd": 0.008}
  ]
}

(Shortened; the numbers are an illustration, not a price list.)

Your balance

GET /v1/credits returns balance_usd, held_usd (reserved for running jobs) and available_usd. GET /v1/credits/transactions lists every change: top-ups, one usage line per finished job, refunds.

Adding credit

In the console, or with the API: POST /v1/credits/checkouts returns a checkout_url, the payment page to send the account owner to. The wallet is credited when the payment is confirmed; read the checkout with GET /v1/credits/checkouts/{id} to see when. GET /v1/credits gives the smallest and largest amount in topups.

curl -X POST https://api.superveo.io/v1/credits/checkouts \
  -H "Authorization: Bearer $SUPERVIDEO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount_usd": 25
}'
import os, uuid, requests

r = requests.request(
    "POST", "https://api.superveo.io/v1/credits/checkouts",
    headers={
        "Authorization": f"Bearer {os.environ['SUPERVIDEO_API_KEY']}",
    },
    json={
        "amount_usd": 25
    },
)
print(r.status_code, r.json())
const r = await fetch("https://api.superveo.io/v1/credits/checkouts", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SUPERVIDEO_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "amount_usd": 25
  }),
});
console.log(r.status, await r.json());