VidoCraft API

List models

Enumerate every available model with its id, credit cost and parameter schema.

GET/api/v1/models

Returns every available model with its composite id, base credit cost and parameter schema. The id has the form <scene>:<model> and is what you pass as model when creating a generation.

Premium models are always listed but flagged available: false unless your account has an active subscription. Each entry's params array describes the keys accepted in the input object — type, required, enum values and numeric bounds.

Some options are subscription-only as well, typically the higher resolutions and quality tiers: each entry in a param's oneOf carries premium and available the same way. A param flagged premium: true can only be left at its default without a subscription. default is what a request that omits the param gets on your account — without a subscription, a param whose default is a premium option defaults to the first option you can use.

Image, video and audio parameters also carry a media object with their limits: kind, whether they take a list (multiple) or start/end frames (frames), maxItems, maxFileSize (bytes), accept (MIME types) and, for video / audio, minDuration / maxDuration / maxTotalDuration (seconds); some image inputs add minWidth / minHeight (px) and minAspectRatio / maxAspectRatio (width ÷ height) — an image outside them is refused with invalid_request before anything is charged. Their values must be URLs from POST /api/v1/uploads.

For each video, the limits in media apply to frame width, height, aspect ratio and pixel count (minPixels / maxPixels, width × height). Each bound is inclusive.

Frame inputs also expose media.frameMode: start-only, end-only, both-required, start-required, end-required, or either. The mode controls allowed slots and combinations; required controls whether the whole input may be omitted. Both slots share the same media limits. A frame descriptor’s key can be a parameter name or a mapping such as { "startFrame": "image", "endFrame": "last_frame" }. The mapping describes one group with shared constraints; submit its two URLs under input.image and input.last_frame. See frame input formats.

Models can expose modelVariant: { group, value, groupTitle, groupDescription?, title, hint?, label, default? } to group versions or input modes within a scene. Each option keeps its own model ID, parameters, and billing. groupTitle and groupDescription describe the model family, title and hint describe the selector field, label names the option, and default marks the initial choice. The built-in UI uses a segmented selector with catalog-defined text. Submit the chosen model ID; the grouping metadata is not a generation parameter. Each mode lists its own endpoint-specific parameter schema; a family's internal options are not exposed as a combined input schema.

First/last-frame and positioned-keyframe modes share a modelVariant group and have separate model IDs. A keyframes parameter includes an items schema and accepts 1–10 objects shaped as { "image_url": "<uploaded URL>", "frame_index": 0 }. Positions are unique integer frame indices on a 24 fps timeline, from 0 through duration × 24 inclusive. If duration is reduced, update any positions beyond the new end. Every image follows the same upload and ownership rules as other image inputs.

A count parameter that shares a total with a media parameter carries sharedLimit: { with, total } — e.g. Seedream's max_images with { "with": "image_input", "total": 15 }: reference images plus max_images may not exceed 15.

A duration that has to match the attached media carries matchesMediaLength: { with, value } — e.g. Seedance 2.5's duration with { "with": "reference_video_urls", "value": -1 }: while reference videos are attached, the output is as long as they are. Leave duration out (or send value); any other value is refused with invalid_request. Credits count the videos' length as both the input and the output seconds.

Optional query: ?mediaType=image|video|audio

curl "https://vidocraft.com/api/v1/models?mediaType=image" \
  -H "Authorization: Bearer sk_test_xxxxxxxx"

baseCredits is the billing base before parameter multipliers and surcharges. minCredits is the estimated total for the lowest valid configuration; it is not the quote for your current input.

Response excerpt (models and params show selected entries only).

{
  "count": 25,
  "models": [
    {
      "id": "text-to-image:c9vuwv34uj9w",
      "scene": "text-to-image",
      "mediaType": "image",
      "model": "c9vuwv34uj9w",
      "title": "GPT Image 2.5 Flare",
      "modelVariant": {
        "group": "c9vuwv34uj9w",
        "value": "flare",
        "groupTitle": "GPT Image 2.5",
        "groupDescription": "GPT Image 2.5 generates and edits images with two modes: Flare for everyday creation and fast iteration, and Sunburst for editing precision and detailed control.",
        "title": "Mode",
        "hint": "Flare prioritizes speed for everyday image creation and quick iterations. Sunburst focuses on editing precision and detailed control.",
        "label": "Flare",
        "default": true
      },
      "premium": false,
      "available": true,
      "baseCredits": 4,
      "minCredits": 4,
      "params": [
        {
          "key": "prompt",
          "type": "string",
          "required": true,
          "premium": false,
          "maxLength": 20000
        },
        {
          "key": "resolution",
          "type": "string",
          "required": false,
          "premium": false,
          "default": "1K",
          "oneOf": [
            {
              "const": "1K",
              "title": "1K",
              "available": true
            },
            {
              "const": "2K",
              "title": "2K",
              "premium": true,
              "available": false
            },
            {
              "const": "4K",
              "title": "4K",
              "premium": true,
              "available": false
            }
          ]
        }
      ]
    }
  ]
}

sharedLimit.totalFrom can cap the shared total by another parameter plus an offset, never exceeding total. For example, { "field": "duration", "offset": 1 } limits the combined frame count to min(total, duration + 1).