NativeAds AI · Schema

VideoGenerationRequest

CompanyAdvertisingArtificial IntelligenceMarketingMedia

Properties

Name Type Description
startImageAssetId string The ID of the original source asset of the image that will be used as the video start frame. Required for every model except seedance-2.5-pro, which rejects it (refs-only). seedance-2.0-pro and kling-
endImageAssetId string The ID of the asset to use as the video end frame. Optional. Not supported by all models. Rejected for seedance-2.5-pro, and for seedance-2.0-pro and kling-v4 when referenceImageAssetIds is sent.
referenceImageAssetIds array Reference image asset IDs. Taken by seedance-2.5-pro, seedance-2.0-pro and kling-v4, in the order sent (seedance-2.5-pro prompts address them as @Image N). Optional (omit for none). Rejected for every
referenceVideoAssetIds array Reference video asset IDs for seedance-2.5-pro (@Video N order). Optional (omit for none). Rejected for every other model, seedance-2.0-pro and kling-v4 included. Video-only 2.5 jobs are allowed, but
intermediateImageAssetIds array Ordered intermediate frame assets for kling-v4 with a start frame. Optional (omit for none). Order is temporal. Up to 8 at every length; they go to Kling 4.0 in one call as keyframes, in order, and Kl
userPrompts array One or more text prompts describing the desired context/environment. Each entry produces its own video and is billed separately. The cap depends on the model: 5000 characters for seedance-2.5-pro, kli
authoredPrompts array Optional, parallel to `userPrompts`. If you called the prompt-enhancement endpoint and are submitting its output, pass, at the same index, the text you wrote before enhancement. When present, `[]` inc
dimension object
enableAudio boolean Whether to generate audio for the video. Defaults to false.
model object The AI model to use for video generation. Defaults to `seedance-2.0-pro`, which also sets the default duration to 8 seconds. `seedance-2.5-pro` is never the default: it rejects `startImageAssetId` and
duration integer Desired video duration in seconds. Optional; when omitted the backend uses the model's default. Each model accepts an exact list of lengths (see VideoModel): seedance-2.5-pro takes 6, 8, 10, 15, 20 or
resolution object Output resolution. Optional; defaults to 720p. Starter renders 720p only, and 1080p there is refused with 403. Each video is billed video credits by model, length and resolution, from 1 to 10: most co
promptIsEnhanced boolean Whether the prompt was enhanced via the prompt enhancement preview flow.
useBrandDna boolean Whether to apply Brand DNA to inline prompt enhancement during video generation. Defaults to false.
partner object
View JSON Schema on GitHub

JSON Schema

nativeads-ai-video-generation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nativeads-ai/json-schema/nativeads-ai-video-generation-request-schema.json",
  "title": "VideoGenerationRequest",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nativeads-ai-openapi.yml#/components/schemas/VideoGenerationRequest",
  "type": "object",
  "required": [
    "userPrompts",
    "dimension"
  ],
  "properties": {
    "startImageAssetId": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the original source asset of the image that will be used as the video start frame. Required for every model except seedance-2.5-pro, which rejects it (refs-only). seedance-2.0-pro and kling-v4 need it unless referenceImageAssetIds is sent, and reject it alongside references.\n"
    },
    "endImageAssetId": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the asset to use as the video end frame. Optional. Not supported by all models. Rejected for seedance-2.5-pro, and for seedance-2.0-pro and kling-v4 when referenceImageAssetIds is sent."
    },
    "referenceImageAssetIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "maxItems": 30,
      "description": "Reference image asset IDs. Taken by seedance-2.5-pro, seedance-2.0-pro and kling-v4, in the order sent (seedance-2.5-pro prompts address them as @Image N). Optional (omit for none). Rejected for every other model. seedance-2.5-pro is refs-only and needs at least one reference total (images and/or videos); maxItems is its absolute ceiling, which Pro and Ultra both allow; Starter has no seedance-2.5-pro (403). seedance-2.0-pro takes up to 9 and kling-v4 up to 10, on every plan, and only without startImageAssetId and endImageAssetId: these two models take frames or references, never both. Each must be JPEG or PNG and an image, logo, or environment asset, 30MB or smaller (50MB for kling-v4 and kling-v3-omni-pro). For kling-v4, an image whose dimensions are recorded must also have an aspect ratio (width / height) between 0.4 and 2.5; an image with no recorded dimensions skips that check. Assets generated by NativeAds (scene_forge, environments, generative resize and the rest) report fileType as the bare category 'image' and are accepted as-is.\n"
    },
    "referenceVideoAssetIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "maxItems": 10,
      "description": "Reference video asset IDs for seedance-2.5-pro (@Video N order). Optional (omit for none). Rejected for every other model, seedance-2.0-pro and kling-v4 included. Video-only 2.5 jobs are allowed, but reference videos are tier-gated: only Ultra takes them, up to maxItems; Starter and Pro get 403. Must be MP4 or QuickTime, 200MB or smaller, 2 to 30 seconds each, 30 seconds combined, 23.8 to 60 FPS. Frame dimensions, when known, must satisfy BOTH of the model's rules: a pixel count (width x height) between 407696 and 8295044, and an aspect ratio (width / height) between 0.4 and 2.5. They are independent -- 1400x300 is 420000 pixels, inside the band, and is still refused on its 4.67 ratio. No separate per-side rule is enforced: satisfying both of the above confines every side to 404-4554 px. A video whose dimensions were never measured skips both checks rather than being rejected. A video with no measured duration is rejected: conflict while still processing, invalid_argument once complete without one.\n"
    },
    "intermediateImageAssetIds": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "minItems": 1,
      "maxItems": 8,
      "description": "Ordered intermediate frame assets for kling-v4 with a start frame. Optional (omit for none). Order is temporal. Up to 8 at every length; they go to Kling 4.0 in one call as keyframes, in order, and Kling chooses when each one appears. They need exactly one prompt. Refused with 400 for every other model, optimized included.\n"
    },
    "userPrompts": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "description": "One or more text prompts describing the desired context/environment. Each entry produces its own video and is billed separately. The cap depends on the model: 5000 characters for seedance-2.5-pro, kling-v4 and kling-v3-omni-pro, and for optimized where it renders on seedance-2.5-pro (Pro and Ultra); 2500 for every other model. maxLength is the highest cap; the server enforces each model's own cap and refuses a longer prompt with 400. Empty and whitespace-only prompts are rejected.\n"
    },
    "authoredPrompts": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 5000
      },
      "description": "Optional, parallel to `userPrompts`. If you called the prompt-enhancement endpoint\nand are submitting its output, pass, at the same index, the text you wrote before\nenhancement. When present, `[]` included, it must have the same length as\n`userPrompts`. An empty entry, or omitting the array, makes the server store that\nentry's `userPrompts` text.\nStored write-once on each group as `authoredPrompt`.\n"
    },
    "dimension": {
      "$ref": "#/$defs/Dimension"
    },
    "enableAudio": {
      "type": "boolean",
      "default": false,
      "description": "Whether to generate audio for the video. Defaults to false."
    },
    "model": {
      "allOf": [
        {
          "$ref": "#/$defs/VideoModel"
        }
      ],
      "default": "seedance-2.0-pro",
      "description": "The AI model to use for video generation. Defaults to `seedance-2.0-pro`, which also sets the default duration to 8 seconds. `seedance-2.5-pro` is never the default: it rejects `startImageAssetId` and requires at least one reference image or video, so it must be requested explicitly alongside `referenceImageAssetIds` / `referenceVideoAssetIds`."
    },
    "duration": {
      "type": "integer",
      "minimum": 1,
      "description": "Desired video duration in seconds. Optional; when omitted the backend uses the model's default. Each model accepts an exact list of lengths (see VideoModel): seedance-2.5-pro takes 6, 8, 10, 15, 20 or 30; kling-v4 takes 6, 8, 10, 12, 15, 20 or 30; seedance-2.0-pro and grok-imagine-video take 6, 8, 10, 12 or 15; veo-3.1 takes 6 or 8; optimized takes its plan's model's lengths and defaults to 8. Any other value is refused with 400. seedance-2.5-pro is further capped by plan: up to 15 on Pro and 30 on Ultra, and longer is refused with 403."
    },
    "resolution": {
      "allOf": [
        {
          "$ref": "#/$defs/VideoResolution"
        }
      ],
      "description": "Output resolution. Optional; defaults to 720p. Starter renders 720p only, and 1080p there is refused with 403. Each video is billed video credits by model, length and resolution, from 1 to 10: most cost 1, and seedance-2.5-pro at 30s and 1080p costs 10. A request costs the sum over its prompts."
    },
    "promptIsEnhanced": {
      "type": "boolean",
      "description": "Whether the prompt was enhanced via the prompt enhancement preview flow.",
      "default": false
    },
    "useBrandDna": {
      "type": "boolean",
      "default": false,
      "description": "Whether to apply Brand DNA to inline prompt enhancement during video generation. Defaults to false."
    },
    "partner": {
      "$ref": "#/$defs/Partner"
    }
  },
  "$defs": {
    "Dimension": {
      "type": "object",
      "required": [
        "width",
        "height"
      ],
      "properties": {
        "width": {
          "type": "integer",
          "description": "Width of the image in pixels."
        },
        "height": {
          "type": "integer",
          "description": "Height of the image in pixels."
        }
      }
    },
    "Partner": {
      "type": "string",
      "description": "Partner (retail-media network) slug. `default` means no partner.",
      "enum": [
        "default",
        "walmart",
        "chewy",
        "instacart"
      ],
      "x-enum-varnames": [
        "PARTNER_DEFAULT",
        "PARTNER_WALMART",
        "PARTNER_CHEWY",
        "PARTNER_INSTACART"
      ]
    },
    "VideoModel": {
      "type": "string",
      "enum": [
        "veo-3.1",
        "veo-3.1-fast",
        "kling-v3-pro",
        "kling-v3-omni-pro",
        "kling-v4",
        "grok-imagine-video",
        "seedance-1.5-pro",
        "seedance-2.0-pro",
        "seedance-2.5-pro",
        "pixverse-v6",
        "optimized"
      ],
      "description": "The AI model to use for video generation.\nA new video (generate, extend, or a prompt enhancement) accepts only these, each with\nexactly the lengths listed, in seconds. Any other model or length is refused with 400.\n- optimized: renders on the plan's default model, today seedance-2.0-pro on Starter and\n  seedance-2.5-pro on Pro and Ultra, and takes that model's inputs, lengths and price. On Pro\n  it takes at most 15 reference images. It takes no intermediate frames. Responses keep\n  showing optimized.\n- seedance-2.5-pro: Seedance 2.5 Pro (refs-only). 6, 8, 10, 15, 20 or 30, within the plan's\n  Seedance 2.5 limits: not on Starter, up to 15 on Pro, up to 30 on Ultra.\n- seedance-2.0-pro: Seedance 2.0 Pro (default). A start frame (optional end frame) or up to 9 reference images. 6, 8, 10, 12 or 15.\n- kling-v4: Kling 4.0. A start frame (optional end frame, 0 to 8 intermediate frames at every\n  length) or up to 10 reference images. 6, 8, 10, 12, 15, 20 or 30, each in one call, with or\n  without intermediate frames. With intermediate frames it takes exactly one prompt.\n- kling-v3-omni-pro: the old Kling id, which videos made on Kling 3.0 keep. Still accepted: a\n  new video sent with it is made on Kling 4.0 with kling-v4's rules and keeps the id it was\n  sent with. Extending a group with this id is refused with 400; make a kling-v4 video instead.\n- veo-3.1: Google Veo 3.1. 6 or 8.\n- grok-imagine-video: Grok Imagine Video. 6, 8, 10, 12 or 15.\nLegacy, read-only. These name videos made before; a new video on one is refused with 400.\n- veo-3.1-fast: Google Veo 3.1 Fast\n- kling-v3-pro: Kling V3 Pro\n- seedance-1.5-pro: Seedance 1.5 Pro\n- pixverse-v6: PixVerse V6\n"
    },
    "VideoResolution": {
      "type": "string",
      "enum": [
        "720p",
        "1080p"
      ],
      "description": "Output resolution of a new video. 720p on every plan; 1080p on Pro and Ultra."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/nativeads-ai-video-generation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.