POST Api/V1/Studio/Video/Generate

Request Information

URI Parameters

None.

Body Parameters

RunwayVideoRequest
NameDescriptionTypeAdditional information
campaignId

string

None.

sourceAssetId

string

None.

sourceImageUrl

string

None.

endImageUrl

string

None.

referenceImages

Collection of string

None.

ratio

string

None.

sourceWidth

integer

None.

sourceHeight

integer

None.

model

string

None.

tier

string

None.

duration

integer

None.

audio

boolean

None.

seed

integer

None.

loop

boolean

None.

bold

boolean

None.

prompt

string

None.

userPrompt

string

None.

panelCount

integer

None.

engine

string

None.

textOverlay

Collection of Object

None.

inputFrames

Collection of RunwayInputFrame

None.

productImages

Collection of string

None.

styleImages

Collection of string

None.

productInfo

string

None.

userConcept

string

None.

title

string

None.

edit

boolean

None.

sourceVideoAssetId

string

None.

sourceVideoUrl

string

None.

sourceVideoSeconds

decimal number

None.

editDepth

integer

None.

confirmOverEditLimit

boolean

None.

engineId

string

None.

resolution

string

None.

usePlate

boolean

None.

upscale

boolean

None.

upscalerId

string

None.

finalOf

string

None.

variations

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "campaignId": "sample string 1",
  "sourceAssetId": "sample string 2",
  "sourceImageUrl": "sample string 3",
  "endImageUrl": "sample string 4",
  "referenceImages": [
    "sample string 1",
    "sample string 2"
  ],
  "ratio": "sample string 5",
  "sourceWidth": 6,
  "sourceHeight": 7,
  "model": "sample string 8",
  "tier": "sample string 9",
  "duration": 1,
  "audio": true,
  "seed": 1,
  "loop": true,
  "bold": true,
  "prompt": "sample string 12",
  "userPrompt": "sample string 13",
  "panelCount": 1,
  "engine": "sample string 14",
  "textOverlay": null,
  "inputFrames": [
    {
      "dataUrl": "sample string 1",
      "name": "sample string 2",
      "description": "sample string 3",
      "ref": "sample string 4"
    },
    {
      "dataUrl": "sample string 1",
      "name": "sample string 2",
      "description": "sample string 3",
      "ref": "sample string 4"
    }
  ],
  "productImages": [
    "sample string 1",
    "sample string 2"
  ],
  "styleImages": [
    "sample string 1",
    "sample string 2"
  ],
  "productInfo": "sample string 15",
  "userConcept": "sample string 16",
  "title": "sample string 20",
  "edit": true,
  "sourceVideoAssetId": "sample string 22",
  "sourceVideoUrl": "sample string 23",
  "sourceVideoSeconds": 1.1,
  "editDepth": 1,
  "confirmOverEditLimit": true,
  "engineId": "sample string 25",
  "resolution": "sample string 26",
  "usePlate": true,
  "upscale": true,
  "upscalerId": "sample string 30",
  "finalOf": "sample string 31",
  "variations": 1
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RunwayVideoRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.