Skip to content

inference.runway.gen4.vid2vid.v1

View markdown

The inference.runway.gen4.vid2vid.v1 job transforms an input video guided by a text prompt using Runway Gen-4 Aleph.

{
"type": "inference.runway.gen4.vid2vid.v1",
"config": {
"prompt": "a red fox trotting through a snowy forest at golden hour",
"video": "input.mp4"
}
}

Additional configuration:

  • aspect_ratio (string; one of 1280:720, 720:1280, 1104:832, 832:1104, 960:960, 1584:672; default 1280:720)
  • public_figure_moderation (string; one of auto, low; default auto)
  • seed (integer)

This job type is also available under its partner alias inference.partner.runway.gen4.vid2vid.v1.

{
"type": "object",
"required": [
"type",
"config"
],
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"config": {
"type": "object",
"required": [
"prompt"
],
"additionalProperties": false,
"properties": {
"video": {
"type": "string",
"format": "filename",
"example": "input.mp4",
"description": "The input video that will be transformed."
},
"prompt": {
"type": "string",
"minLength": 3,
"maxLength": 4096,
"default": "make it morning",
"description": "Description of desired transformation or enhancement to apply to the input video."
},
"aspect_ratio": {
"type": "string",
"enum": [
"1280:720",
"720:1280",
"1104:832",
"832:1104",
"960:960",
"1584:672"
],
"default": "1280:720",
"description": "Controls the aspect ratio of the resulting video in width:height format."
},
"public_figure_moderation": {
"type": "string",
"enum": [
"auto",
"low"
],
"default": "auto",
"description": "Controls moderation level for public figures in the video content."
},
"seed": {
"type": "integer",
"minimum": 1,
"maximum": 4294967295,
"description": "A randomness initializer for video reproducibility."
}
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}