Skip to content

Generate

Models

GET /v1/models: every model on sale, with its USD prices and options.

GET/v1/modelsEvery model on sale, with its USD prices and options. No key needed; a key that is sent is checked.
GET/v1/models/{id}One model, as the list shows it. No key needed.
curl https://frameport.ai/v1/models \
  -H "Authorization: Bearer $FRAMEPORT_API_KEY"

The same catalog as the models page. The answer is { "object": "list", "data": [...] }. Read type and mode to know the endpoint, pricing for the price, and options for the values a request may use. mode is generate for a model that renders from a prompt (POST /v1/images/generations or /v1/videos/generations), edit for a clip editor (POST /v1/videos/edits).

A video model (abridged)
{
  "id": "seedance-2-5",
  "object": "model",
  "type": "video",
  "name": "Seedance 2.5",
  "pricing": {
    "currency": "USD",
    "unit": "second",
    "default_resolution": "720p",
    "per_second": {
      "480p": 0.12,
      "720p": 0.27
    }
  },
  "options": {
    "resolutions": [
      "480p",
      "720p"
    ],
    "durations": {
      "min": 4,
      "max": 30,
      "step": 1
    },
    "aspect_ratios": [
      "16:9",
      "4:3",
      "1:1",
      "3:4",
      "9:16",
      "21:9"
    ]
  }
}
An image model
{
  "id": "fp-image-1",
  "object": "model",
  "type": "image",
  "name": "Frameport Image 1",
  "pricing": {
    "currency": "USD",
    "unit": "image",
    "per_image": 0.025
  },
  "options": {
    "aspect_ratios": [
      "1:1",
      "3:4",
      "4:3",
      "9:16",
      "16:9"
    ],
    "max_images": 4
  }
}

Video options

FieldMeaning
resolutionsThe values resolution takes; pricing.per_second has a price for each.
durations{ min, max, step } in seconds.
aspect_ratiosThe values aspect_ratio takes.
audio_toggletrue: the audio switch is honoured.
start_frame / end_frameTakes a first frame (reference_images[0]) / a last frame (end_image).
max_reference_imagesHow many pictures the model takes as references (reference_mode: "identity").
identity_resolutionsThe resolutions taken with reference_mode: "identity", where they are fewer than resolutions.
seed / negative_promptTakes a seed / a negative prompt.

Clip editor limits

A model with mode: "edit" has an edit block: what the clip it is sent may be. Its pricing.per_second is per second of that clip.

FieldMeaning
toolreplace: the people in the clip become the faces sent; upscale: the same clip at a higher resolution.
formatsThe containers taken, mp4 and mov.
min_seconds / max_secondsThe shortest and the longest clip.
min_billed_secondsA shorter clip is billed this many seconds.
max_bytesThe largest file.
max_framesFrames per clip at most: a 60 fps clip reaches it sooner.
fpsThe frame rate a clip must have, when the model takes only one.
max_facesHow many people one edit replaces, one face each.
Prices are in USD and can change: read them from this endpoint rather than hard-coding them. The exact price of a request comes back as reserved_usd before it runs.