Supervideo API docs

Models

What can be generated, and the price.

GET /v1/models

List models

Only the models this account and key may use, with prices.

Example

curl -X GET https://api.superveo.io/v1/models \
  -H "Authorization: Bearer $SUPERVIDEO_API_KEY"

Responses

GET /v1/models/{model_id}

Get one model

Parameters

ParameterInTypeDescription
model_id requiredpathstringModel id.

Example

curl -X GET https://api.superveo.io/v1/models/z-image \
  -H "Authorization: Bearer $SUPERVIDEO_API_KEY"

Responses

GET /v1/queue

Waiting time before you create

How long a job created now would wait before it starts rendering, per model and per speed, and whether it would be accepted. Free to call and it creates nothing. The numbers come from the same code that decides at create, are refreshed every few seconds, and are estimates, not promises: fast is priority in the queue, not a start time. Compare standard with fast to see whether fast is worth its price right now. After a create, the job itself carries eta_seconds.

Parameters

ParameterInTypeDescription
modelquerystringOne model id. Without it: every model this key may use.

Example

curl -X GET https://api.superveo.io/v1/queue \
  -H "Authorization: Bearer $SUPERVIDEO_API_KEY"

Responses

POST /v1/quote

Price a request before you send it

Send the body you would send to url and get what it would hold from the wallet (max_cost_usd), worked out by the same code that holds it at create. Works for /v1/videos, /v1/images/generations, /v1/images/edits and /v1/batches. Nothing is created, held or charged. The request is checked as at create (model, size, seconds, mode, speed), but not your credit, your input files or whether a GPU is free: see GET /v1/account and GET /v1/queue. The same request costs the same at create unless the prices change in between.

Parameters

ParameterInTypeDescription
X-Data-Regionheaderstring: us, eu, uk, inSame as data_region in the body.

Request body

FieldTypeDescription
url requiredstring: /v1/videos, /v1/images/generations, /v1/images/edits, /v1/batchesThe endpoint this request is for.
body requiredobjectThe JSON body that endpoint takes.

Example

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());

Responses