changedInput schema / properties / videoEdits / items / oneOf
Previous value: -[
- {
- "additionalProperties": {},
- "description": "Set, replace, or remove the project's background music track.",
- "properties": {
- "fileId": {
- "description": "File id of an uploaded audio file to use as background music (e.g. `vg_file_...`). Upload it first via `POST /v1/files/upload`. Pass `null` to remove the existing background music.",
- "type": [
- "string",
- "null"
- ]
- },
- "type": {
- "const": "SET_BACKGROUND_MUSIC",
- "type": "string"
- },
- "volume": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "Music volume from 0 (silent) to 1 (full). Omit or pass `null` to keep the current volume."
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Set, replace, or remove the logo overlay.",
- "properties": {
- "fileId": {
- "description": "File id of an uploaded image to overlay as a logo (e.g. `vg_file_...`). Upload it first via `POST /v1/files/upload`. Pass `null` to remove the existing logo.",
- "type": [
- "string",
- "null"
- ]
- },
- "position": {
- "anyOf": [
- {
- "const": "TOP_LEFT",
- "type": "string"
- },
- {
- "const": "TOP_CENTER",
- "type": "string"
- },
- {
- "const": "TOP_RIGHT",
- "type": "string"
- },
- {
- "const": "BOTTOM_LEFT",
- "type": "string"
- },
- {
- "const": "BOTTOM_CENTER",
- "type": "string"
- },
- {
- "const": "BOTTOM_RIGHT",
- "type": "string"
- },
- {
- "const": null,
- "type": "null"
- }
- ],
- "description": "Position the logo is anchored to. Omit or pass `null` to keep the current position."
- },
- "sizePercent": {
- "description": "Logo width as a percentage of the video width. Omit or pass `null` to keep the current size.",
- "type": [
- "number",
- "null"
- ]
- },
- "type": {
- "const": "SET_LOGO",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Show captions on every captionable section. Optionally override the project caption style.",
- "properties": {
- "captionStyle": {
- "anyOf": [
- {
- "additionalProperties": {},
- "description": "Caption styling. Any omitted field falls back to the VideoGen default caption style. Provide an empty object (`{}`) to keep the default style but ensure captions are shown. Pass `null` for the whole `captionStyle` field to hide captions entirely.",
- "properties": {
- "backgroundStyle": {
- "anyOf": [
- {
- "additionalProperties": {},
- "description": "Background drawn behind caption text.",
- "properties": {
- "backgroundColor": {
- "additionalProperties": {},
- "description": "An RGB color. Each channel is an integer from 0 to 255.",
- "properties": {
- "blue": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "green": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "red": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "red",
- "green",
- "blue"
- ],
- "type": "object"
- },
- "borderRadiusProportion": {
- "description": "Corner rounding as a proportion of the background height, between 0 (square corners) and 1 (fully rounded).",
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "opacityProportion": {
- "description": "Background opacity from 0 (transparent) to 1 (opaque).",
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "type": {
- "description": "RECT draws one rectangle behind the whole line; WRAPPED hugs the text; WORD_BY_WORD draws a box per word.",
- "enum": [
- "RECT",
- "WRAPPED",
- "WORD_BY_WORD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "backgroundColor"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Background drawn behind the text, or null for no background."
- },
- "fontName": {
- "description": "Font family name.",
- "type": "string"
- },
- "fontSize": {
- "description": "Font size in pixels at 1080p. Must be greater than 0.",
- "minimum": 1,
- "type": "number"
- },
- "fontWeight": {
- "anyOf": [
- {
- "const": 100,
- "type": "number"
- },
- {
- "const": 200,
- "type": "number"
- },
- {
- "const": 300,
- "type": "number"
- },
- {
- "const": 400,
- "type": "number"
- },
- {
- "const": 500,
- "type": "number"
- },
- {
- "const": 600,
- "type": "number"
- },
- {
- "const": 700,
- "type": "number"
- },
- {
- "const": 800,
- "type": "number"
- },
- {
- "const": 900,
- "type": "number"
- }
- ],
- "description": "Numeric font weight (400 = regular, 700 = bold)."
- },
- "persistSpokenTextColor": {
- "description": "When true, a word keeps the spoken-text color after it has been spoken instead of reverting.",
- "type": "boolean"
- },
- "spokenTextColor": {
- "anyOf": [
- {
- "additionalProperties": {},
- "description": "An RGB color. Each channel is an integer from 0 to 255.",
- "properties": {
- "blue": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "green": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "red": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "red",
- "green",
- "blue"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Color applied to the currently spoken word for karaoke-style highlighting, or null to keep the base text color."
- },
- "spokenTextStrokeColor": {
- "anyOf": [
- {
- "additionalProperties": {},
- "description": "An RGB color. Each channel is an integer from 0 to 255.",
- "properties": {
- "blue": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "green": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "red": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "red",
- "green",
- "blue"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Outline color applied to the currently spoken word, or null."
- },
- "strokeColor": {
- "anyOf": [
- {
- "additionalProperties": {},
- "description": "An RGB color. Each channel is an integer from 0 to 255.",
- "properties": {
- "blue": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "green": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "red": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "red",
- "green",
- "blue"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Outline color around glyphs, or null for no outline."
- },
- "strokeWeight": {
- "description": "Outline thickness in pixels. 0 disables the outline.",
- "minimum": 0,
- "type": "number"
- },
- "textColor": {
- "additionalProperties": {},
- "description": "An RGB color. Each channel is an integer from 0 to 255.",
- "properties": {
- "blue": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "green": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "red": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "red",
- "green",
- "blue"
- ],
- "type": "object"
- },
- "textJustification": {
- "enum": [
- "LEFT",
- "CENTER",
- "RIGHT"
- ],
- "type": "string"
- },
- "verticalAlignment": {
- "description": "Vertical position of the caption block in the frame.",
- "enum": [
- "TOP",
- "MIDDLE",
- "BOTTOM"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Caption styling to apply. Omit or pass `null` to show captions with the current style. Any provided field overrides that field; omitted fields keep their current value."
- },
- "type": {
- "const": "ENABLE_CAPTIONS",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Hide captions on every captionable section.",
- "properties": {
- "type": {
- "const": "DISABLE_CAPTIONS",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Stamp transitions across the project. Not per-boundary: each field you set is applied uniformly to every boundary in that scope, replacing any transition already there. Set the transition between sections, between base-layer assets, or both; omit or pass `null` for a scope to leave its transitions untouched.",
- "properties": {
- "assetTransition": {
- "anyOf": [
- {
- "description": "A transition applied at a boundary. `DYNAMIC` auto-varies the style across boundaries; `NONE` removes transitions; the rest apply that fixed style everywhere.",
- "enum": [
- "DYNAMIC",
- "NONE",
- "FADE",
- "RISE",
- "PAN",
- "POP",
- "WIPE"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Transition applied at every boundary between base-layer assets within sections, replacing any existing asset transitions. Omit or pass `null` to leave asset transitions untouched."
- },
- "sectionTransition": {
- "anyOf": [
- {
- "description": "A transition applied at a boundary. `DYNAMIC` auto-varies the style across boundaries; `NONE` removes transitions; the rest apply that fixed style everywhere.",
- "enum": [
- "DYNAMIC",
- "NONE",
- "FADE",
- "RISE",
- "PAN",
- "POP",
- "WIPE"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Transition applied at every boundary between sections, replacing any existing section transitions. Omit or pass `null` to leave section transitions untouched."
- },
- "type": {
- "const": "ADD_TRANSITIONS",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Apply a Ken Burns zoom to every eligible still image in the project, including uploaded images. Replaces any existing still-image effect on those assets. If the project has no eligible stills, the action is skipped and completes successfully without changing anything.",
- "properties": {
- "type": {
- "const": "ADD_ZOOM",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Change the project's output aspect ratio (e.g. to a vertical 9:16 social format). The video is re-flowed to the new ratio.",
- "properties": {
- "aspectRatio": {
- "additionalProperties": {},
- "description": "Aspect ratio as a width:height pair (e.g. 16 and 9 for 16:9). Not pixel dimensions.",
- "properties": {
- "height": {
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- },
- "width": {
- "maximum": 9007199254740991,
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "width",
- "height"
- ],
- "type": "object"
- },
- "type": {
- "const": "RESIZE_PROJECT",
- "type": "string"
- }
- },
- "required": [
- "type",
- "aspectRatio"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Tighten every transcript in the project by removing silent pauses and/or filler words. Useful for polishing narration captured from raw recordings.",
- "properties": {
- "fillerWords": {
- "anyOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Override the filler-word list to remove. Omit or pass `null` to use the built-in defaults."
- },
- "minPauseSeconds": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "Shortest pause (in seconds) to remove; pauses below this stay. Omit or pass `null` to use the default threshold."
- },
- "removeFillers": {
- "description": "Remove filler words (\"um\", \"uh\", …). Defaults to `true`.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "removePauses": {
- "description": "Remove silent pauses longer than `minPauseSeconds`. Defaults to `true`.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "type": {
- "const": "CLEAN_UP_TRANSCRIPT",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Animate every eligible still image in the project into a short AI video clip (image-to-video), replacing each image in place. Eligible images are non-SVG image assets backed by an uploaded or stock file. Runs asynchronously: one clip is generated per image. If the project has no eligible images, the action is skipped and completes successfully without changing anything (for example, a project whose timeline is already all video clips).",
- "properties": {
- "motionPrompt": {
- "description": "Describe the motion to apply to every image (e.g. \"slow cinematic push-in\"). Omit or pass `null` for automatic motion.",
- "type": [
- "string",
- "null"
- ]
- },
- "muteOutputVideos": {
- "description": "Mute the generated clips and suppress generated background music. Recommended when the clips sit behind a voiceover. Defaults to `true`.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "quality": {
- "description": "Video generation quality tier for the image-to-video conversions (`LOW`, `STANDARD`, `HIGH`, or `MAX`). Optional; when omitted, your account's Default AI quality for video is used (change it at https://app.videogen.io/settings/account).",
- "enum": [
- "LOW",
- "STANDARD",
- "HIGH",
- "MAX"
- ],
- "type": "string"
- },
- "type": {
- "const": "CONVERT_IMAGES_TO_VIDEOS",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Restyle every eligible still image in the project to a new look (image-to-image), replacing each image in place. Eligible images are non-SVG image assets backed by an uploaded or generated file. Runs asynchronously: one restyled image is generated per eligible image. If the project has no eligible images, the action is skipped and completes successfully without changing anything.",
- "properties": {
- "quality": {
- "description": "Image generation quality tier for the restyled images. Optional; when omitted, your account's Default AI quality for images is used (change it at https://app.videogen.io/settings/account).",
- "enum": [
- "LOW",
- "STANDARD",
- "HIGH",
- "MAX"
- ],
- "type": "string"
- },
- "stylePrompt": {
- "description": "A full, strict paragraph for the look of every image (medium, texture, palette, then composition). Do not pass a short label such as `watercolor painting`. Image models pack the frame with text, charts, diagrams, and extra objects unless the style forbids that. Keep the picture simple: one uncluttered subject in the middle half of the frame, empty margins, and no on-image text or diagrams unless you asked for one specific word or number.",
- "type": "string"
- },
- "type": {
- "const": "REGENERATE_IMAGES",
- "type": "string"
- }
- },
- "required": [
- "type",
- "stylePrompt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Sharpen every eligible asset in the project up to 4K, replacing each in place. Runs asynchronously: one upscaled asset is generated per eligible asset. If the project has no eligible assets, the action is skipped and completes successfully without changing anything.",
- "properties": {
- "includeStockContent": {
- "description": "Also upscale stock (library) assets, not just uploaded or generated ones. Defaults to `true`.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "includeVideos": {
- "description": "Also upscale video assets (billed per output second). Defaults to `true`.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "type": {
- "const": "UPSCALE_ASSETS",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Re-narrate every AI-voiceover asset in the project with a new voice and optional actor avatar, replacing each narration in place. Runs asynchronously: text-to-speech is re-fired per asset with the original narration text. If the project has no AI-narrated assets, the action is skipped and completes successfully without changing anything.",
- "properties": {
- "actorEntityId": {
- "description": "Recommended. Optional id of a built-in stock actor or an ACTOR entity (e.g. `vg_enti_...`) with an image reference. When set, narration is delivered by that actor avatar. Omit or pass `null` for voiceover without an avatar.",
- "type": [
- "string",
- "null"
- ]
- },
- "avatarQuality": {
- "description": "Avatar generation quality tier. Applies when `actorEntityId` is provided. Optional; when omitted, your account's Default AI quality for avatars is used.",
- "enum": [
- "LOW",
- "STANDARD",
- "HIGH",
- "MAX"
- ],
- "type": "string"
- },
- "type": {
- "const": "CHANGE_NARRATOR",
- "type": "string"
- },
- "voiceId": {
- "description": "Catalog `displayName` (e.g. `Matilda`) or voice id from `GET /v1/resources/tts-voices` (e.g. `vg_voic_...`) to re-narrate with.",
- "type": "string"
- },
- "voiceSpeed": {
- "anyOf": [
- {
- "maximum": 2,
- "minimum": 0.5,
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "description": "Speech rate multiplier, between 0.5 (half speed) and 2 (double speed). Omit or pass `null` to keep each asset's current speed."
- }
- },
- "required": [
- "type",
- "voiceId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Replace every stock (library) visual in the project with a fresh alternative from the same search, replacing each in place. Runs asynchronously: each stock asset's original search is re-run, excluding the currently-shown result. If the project has no shuffleable stock visuals, the action is skipped and completes successfully without changing anything.",
- "properties": {
- "type": {
- "const": "SHUFFLE_STOCK_VISUALS",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Generate a background music track from a text prompt and set it as the project's background music, replacing any existing track. Runs asynchronously.",
- "properties": {
- "prompt": {
- "description": "Describe the music to generate (e.g. \"upbeat corporate background music with a driving beat\").",
- "type": "string"
- },
- "type": {
- "const": "GENERATE_MUSIC",
- "type": "string"
- }
- },
- "required": [
- "type",
- "prompt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "description": "Translate the whole project into another language: every piece of text (title, section names, on-screen text overlays, transcripts, and narration scripts) is translated, and — unless disabled — each AI voiceover is re-narrated in the new language. Runs asynchronously. Requires a Pro subscription. Retrieve the list of supported language codes from `GET /v1/resources/languages`.",
- "properties": {
- "changeVoice": {
- "description": "Swap each AI voiceover to a voice that natively matches the target language. Recommended, since keeping the original voice usually produces a foreign accent. Defaults to `true`.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "dubVideos": {
- "description": "Also dub the speech in the project's uploaded videos into the target language, replacing their original audio. Expensive: billed per second of every video with speech, and each source file is dubbed once even when the project uses several clips of it. When `false`, those videos keep their original audio and their captions are still translated. Videos longer than 8 minutes keep their original audio. Rejected with a 400 if the target language does not support dubbing. Defaults to `false`.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "languageCode": {
- "description": "Target language code to translate the project into (e.g. `es`, `fr`, `ja`). Must be one of the codes returned by `GET /v1/resources/languages`.",
- "type": "string"
- },
- "translateImageText": {
- "description": "Also re-generate every eligible image so that text baked into the image is translated too (image-to-image). Billed per generated image. Defaults to `false`.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "type": {
- "const": "TRANSLATE_PROJECT",
- "type": "string"
- }
- },
- "required": [
- "type",
- "languageCode"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "description": "Set, replace, or remove the project's background music track.",
+ "properties": {
+ "fileId": {
+ "description": "File id of an uploaded audio file to use as background music (e.g. `vg_file_...`). Upload it first via `POST /v1/files/upload`. Pass `null` to remove the existing background music.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "const": "SET_BACKGROUND_MUSIC",
+ "type": "string"
+ },
+ "volume": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Music volume from 0 (silent) to 1 (full). Omit or pass `null` to keep the current volume."
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Set, replace, or remove the logo overlay.",
+ "properties": {
+ "fileId": {
+ "description": "File id of an uploaded image to overlay as a logo (e.g. `vg_file_...`). Upload it first via `POST /v1/files/upload`. Pass `null` to remove the existing logo.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "position": {
+ "anyOf": [
+ {
+ "const": "TOP_LEFT",
+ "type": "string"
+ },
+ {
+ "const": "TOP_CENTER",
+ "type": "string"
+ },
+ {
+ "const": "TOP_RIGHT",
+ "type": "string"
+ },
+ {
+ "const": "BOTTOM_LEFT",
+ "type": "string"
+ },
+ {
+ "const": "BOTTOM_CENTER",
+ "type": "string"
+ },
+ {
+ "const": "BOTTOM_RIGHT",
+ "type": "string"
+ },
+ {
+ "const": null,
+ "type": "null"
+ }
+ ],
+ "description": "Position the logo is anchored to. Omit or pass `null` to keep the current position."
+ },
+ "sizePercent": {
+ "description": "Logo width as a percentage of the video width. Omit or pass `null` to keep the current size.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": {
+ "const": "SET_LOGO",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Show captions on every captionable section. Optionally override the project caption style.",
+ "properties": {
+ "captionStyle": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "description": "Caption style fields. The field that uses this object describes how omitted style fields and `null` are handled.",
+ "properties": {
+ "backgroundStyle": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "description": "Background drawn behind caption text.",
+ "properties": {
+ "backgroundColor": {
+ "additionalProperties": {},
+ "description": "An RGB color. Each channel is an integer from 0 to 255.",
+ "properties": {
+ "blue": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "green": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "red": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "red",
+ "green",
+ "blue"
+ ],
+ "type": "object"
+ },
+ "borderRadiusProportion": {
+ "description": "Corner rounding as a proportion of the background height, between 0 (square corners) and 1 (fully rounded).",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "opacityProportion": {
+ "description": "Background opacity from 0 (transparent) to 1 (opaque).",
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "type": {
+ "description": "RECT draws one rectangle behind the whole line; WRAPPED hugs the text; WORD_BY_WORD draws a box per word.",
+ "enum": [
+ "RECT",
+ "WRAPPED",
+ "WORD_BY_WORD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "backgroundColor"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Background drawn behind the text, or null for no background."
+ },
+ "fontName": {
+ "description": "Font family name.",
+ "type": "string"
+ },
+ "fontSize": {
+ "description": "Font size in pixels at 1080p. Must be greater than 0.",
+ "minimum": 1,
+ "type": "number"
+ },
+ "fontWeight": {
+ "anyOf": [
+ {
+ "const": 100,
+ "type": "number"
+ },
+ {
+ "const": 200,
+ "type": "number"
+ },
+ {
+ "const": 300,
+ "type": "number"
+ },
+ {
+ "const": 400,
+ "type": "number"
+ },
+ {
+ "const": 500,
+ "type": "number"
+ },
+ {
+ "const": 600,
+ "type": "number"
+ },
+ {
+ "const": 700,
+ "type": "number"
+ },
+ {
+ "const": 800,
+ "type": "number"
+ },
+ {
+ "const": 900,
+ "type": "number"
+ }
+ ],
+ "description": "Numeric font weight (400 = regular, 700 = bold)."
+ },
+ "persistSpokenTextColor": {
+ "description": "When true, a word keeps the spoken-text color after it has been spoken instead of reverting.",
+ "type": "boolean"
+ },
+ "spokenTextColor": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "description": "An RGB color. Each channel is an integer from 0 to 255.",
+ "properties": {
+ "blue": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "green": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "red": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "red",
+ "green",
+ "blue"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Color applied to the currently spoken word for karaoke-style highlighting, or null to keep the base text color."
+ },
+ "spokenTextStrokeColor": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "description": "An RGB color. Each channel is an integer from 0 to 255.",
+ "properties": {
+ "blue": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "green": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "red": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "red",
+ "green",
+ "blue"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Outline color applied to the currently spoken word, or null."
+ },
+ "strokeColor": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "description": "An RGB color. Each channel is an integer from 0 to 255.",
+ "properties": {
+ "blue": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "green": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "red": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "red",
+ "green",
+ "blue"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Outline color around glyphs, or null for no outline."
+ },
+ "strokeWeight": {
+ "description": "Outline thickness in pixels. 0 disables the outline.",
+ "minimum": 0,
+ "type": "number"
+ },
+ "textColor": {
+ "additionalProperties": {},
+ "description": "An RGB color. Each channel is an integer from 0 to 255.",
+ "properties": {
+ "blue": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "green": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "red": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "red",
+ "green",
+ "blue"
+ ],
+ "type": "object"
+ },
+ "textJustification": {
+ "enum": [
+ "LEFT",
+ "CENTER",
+ "RIGHT"
+ ],
+ "type": "string"
+ },
+ "verticalAlignment": {
+ "description": "Vertical position of the caption block in the frame.",
+ "enum": [
+ "TOP",
+ "MIDDLE",
+ "BOTTOM"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Caption styling to apply. Omit or pass `null` to show captions with the current style. Any provided field overrides that field; omitted fields keep their current value."
+ },
+ "type": {
+ "const": "ENABLE_CAPTIONS",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Hide captions on every captionable section.",
+ "properties": {
+ "type": {
+ "const": "DISABLE_CAPTIONS",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Stamp transitions across the project. Not per-boundary: each field you set is applied uniformly to every boundary in that scope, replacing any transition already there. Set the transition between sections, between base-layer assets, or both; omit or pass `null` for a scope to leave its transitions untouched.",
+ "properties": {
+ "assetTransition": {
+ "anyOf": [
+ {
+ "description": "A transition applied at a boundary. `DYNAMIC` auto-varies the style across boundaries; `NONE` removes transitions; the rest apply that fixed style everywhere.",
+ "enum": [
+ "DYNAMIC",
+ "NONE",
+ "FADE",
+ "RISE",
+ "PAN",
+ "POP",
+ "WIPE"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Transition applied at every boundary between base-layer assets within sections, replacing any existing asset transitions. Omit or pass `null` to leave asset transitions untouched."
+ },
+ "sectionTransition": {
+ "anyOf": [
+ {
+ "description": "A transition applied at a boundary. `DYNAMIC` auto-varies the style across boundaries; `NONE` removes transitions; the rest apply that fixed style everywhere.",
+ "enum": [
+ "DYNAMIC",
+ "NONE",
+ "FADE",
+ "RISE",
+ "PAN",
+ "POP",
+ "WIPE"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Transition applied at every boundary between sections, replacing any existing section transitions. Omit or pass `null` to leave section transitions untouched."
+ },
+ "type": {
+ "const": "ADD_TRANSITIONS",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Apply a Ken Burns zoom to every eligible still image in the project, including uploaded images. Replaces any existing still-image effect on those assets. If the project has no eligible stills, the action is skipped and completes successfully without changing anything.",
+ "properties": {
+ "type": {
+ "const": "ADD_ZOOM",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Change the project's output aspect ratio (e.g. to a vertical 9:16 social format). The video is re-flowed to the new ratio.",
+ "properties": {
+ "aspectRatio": {
+ "additionalProperties": {},
+ "description": "Aspect ratio as a width:height pair (e.g. 16 and 9 for 16:9). Not pixel dimensions.",
+ "properties": {
+ "height": {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "width": {
+ "maximum": 9007199254740991,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "width",
+ "height"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "RESIZE_PROJECT",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "aspectRatio"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Tighten every transcript in the project by removing silent pauses and/or filler words. Useful for polishing narration captured from raw recordings.",
+ "properties": {
+ "fillerWords": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Override the filler-word list to remove. Omit or pass `null` to use the built-in defaults."
+ },
+ "minPauseSeconds": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Shortest pause (in seconds) to remove; pauses below this stay. Omit or pass `null` to use the default threshold."
+ },
+ "removeFillers": {
+ "description": "Remove filler words (\"um\", \"uh\", …). Defaults to `true`.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "removePauses": {
+ "description": "Remove silent pauses longer than `minPauseSeconds`. Defaults to `true`.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "type": {
+ "const": "CLEAN_UP_TRANSCRIPT",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Animate every eligible still image in the project into a short AI video clip (image-to-video), replacing each image in place. Eligible images are non-SVG image assets backed by an uploaded or stock file. Runs asynchronously: one clip is generated per image. If the project has no eligible images, the action is skipped and completes successfully without changing anything (for example, a project whose timeline is already all video clips).",
+ "properties": {
+ "motionPrompt": {
+ "description": "Describe the motion to apply to every image (e.g. \"slow cinematic push-in\"). Omit or pass `null` for automatic motion.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "muteOutputVideos": {
+ "description": "Mute the generated clips and suppress generated background music. Recommended when the clips sit behind a voiceover. Defaults to `true`.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "quality": {
+ "description": "Video generation quality tier for the image-to-video conversions (`LOW`, `STANDARD`, `HIGH`, or `MAX`). Optional; when omitted, your account's Default AI quality for video is used (change it at https://app.videogen.io/settings/account).",
+ "enum": [
+ "LOW",
+ "STANDARD",
+ "HIGH",
+ "MAX"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "CONVERT_IMAGES_TO_VIDEOS",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Restyle every eligible still image in the project to a new look (image-to-image), replacing each image in place. Eligible images are non-SVG image assets backed by an uploaded or generated file. Runs asynchronously: one restyled image is generated per eligible image. If the project has no eligible images, the action is skipped and completes successfully without changing anything.",
+ "properties": {
+ "quality": {
+ "description": "Image generation quality tier for the restyled images. Optional; when omitted, your account's Default AI quality for images is used (change it at https://app.videogen.io/settings/account).",
+ "enum": [
+ "LOW",
+ "STANDARD",
+ "HIGH",
+ "MAX"
+ ],
+ "type": "string"
+ },
+ "stylePrompt": {
+ "description": "A full, strict paragraph for the look of every image (medium, texture, palette, then composition). Do not pass a short label such as `watercolor painting`. Image models pack the frame with text, charts, diagrams, and extra objects unless the style forbids that. Keep the picture simple: one uncluttered subject in the middle half of the frame, empty margins, and no on-image text or diagrams unless you asked for one specific word or number.",
+ "type": "string"
+ },
+ "type": {
+ "const": "REGENERATE_IMAGES",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "stylePrompt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Sharpen every eligible asset in the project up to 4K, replacing each in place. Runs asynchronously: one upscaled asset is generated per eligible asset. If the project has no eligible assets, the action is skipped and completes successfully without changing anything.",
+ "properties": {
+ "includeStockContent": {
+ "description": "Also upscale stock (library) assets, not just uploaded or generated ones. Defaults to `true`.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "includeVideos": {
+ "description": "Also upscale video assets (billed per output second). Defaults to `true`.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "type": {
+ "const": "UPSCALE_ASSETS",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Re-narrate every AI-voiceover asset in the project with a new voice and optional actor avatar, replacing each narration in place. Runs asynchronously: text-to-speech is re-fired per asset with the original narration text. If the project has no AI-narrated assets, the action is skipped and completes successfully without changing anything.",
+ "properties": {
+ "actorEntityId": {
+ "description": "Recommended. Optional id of a built-in stock actor or an ACTOR entity (e.g. `vg_enti_...`) with an image reference. When set, narration is delivered by that actor avatar. Omit or pass `null` for voiceover without an avatar.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "avatarQuality": {
+ "description": "Avatar generation quality tier. Applies when `actorEntityId` is provided. Optional; when omitted, your account's Default AI quality for avatars is used.",
+ "enum": [
+ "LOW",
+ "STANDARD",
+ "HIGH",
+ "MAX"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "CHANGE_NARRATOR",
+ "type": "string"
+ },
+ "voiceId": {
+ "description": "Catalog `displayName` (e.g. `Matilda`) or voice id from `GET /v1/resources/tts-voices` (e.g. `vg_voic_...`) to re-narrate with.",
+ "type": "string"
+ },
+ "voiceSpeed": {
+ "anyOf": [
+ {
+ "maximum": 2,
+ "minimum": 0.5,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Speech rate multiplier, between 0.5 (half speed) and 2 (double speed). Omit or pass `null` to keep each asset's current speed."
+ }
+ },
+ "required": [
+ "type",
+ "voiceId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Replace every stock (library) visual in the project with a fresh alternative from the same search, replacing each in place. Runs asynchronously: each stock asset's original search is re-run, excluding the currently-shown result. If the project has no shuffleable stock visuals, the action is skipped and completes successfully without changing anything.",
+ "properties": {
+ "type": {
+ "const": "SHUFFLE_STOCK_VISUALS",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Generate a background music track from a text prompt and set it as the project's background music, replacing any existing track. Runs asynchronously.",
+ "properties": {
+ "prompt": {
+ "description": "Describe the music to generate (e.g. \"upbeat corporate background music with a driving beat\").",
+ "type": "string"
+ },
+ "type": {
+ "const": "GENERATE_MUSIC",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "prompt"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "description": "Translate the whole project into another language: every piece of text (title, section names, on-screen text overlays, transcripts, and narration scripts) is translated, and — unless disabled — each AI voiceover is re-narrated in the new language. Runs asynchronously. Requires a Pro subscription. Retrieve the list of supported language codes from `GET /v1/resources/languages`.",
+ "properties": {
+ "changeVoice": {
+ "description": "Swap each AI voiceover to a voice that natively matches the target language. Recommended, since keeping the original voice usually produces a foreign accent. Defaults to `true`.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "dubVideos": {
+ "description": "Also dub the speech in the project's uploaded videos into the target language, replacing their original audio. Expensive: billed per second of every video with speech, and each source file is dubbed once even when the project uses several clips of it. When `false`, those videos keep their original audio and their captions are still translated. Videos longer than 8 minutes keep their original audio. Rejected with a 400 if the target language does not support dubbing. Defaults to `false`.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "languageCode": {
+ "description": "Target language code to translate the project into (e.g. `es`, `fr`, `ja`). Must be one of the codes returned by `GET /v1/resources/languages`.",
+ "type": "string"
+ },
+ "translateImageText": {
+ "description": "Also re-generate every eligible image so that text baked into the image is translated too (image-to-image). Billed per generated image. Defaults to `false`.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "type": {
+ "const": "TRANSLATE_PROJECT",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "languageCode"
+ ],
+ "type": "object"
+ }
+]