action json2video_new_movie { label: "Create a new movie" description: "Submit a new movie rendering job." provider: json2video method: POST path: "/movies" encoding: json input: { type: "object" description: "Object defining the movie to be rendered" required: ["scenes"] properties: { cache: { type: "boolean" } comment: { type: "string" description: "Used for adding your comments" } draft: { type: "boolean" description: "Draft movies include a watermark. Check your plan how many draft and final movies you have" enum: [true, false] } elements: { type: "array" items: { type: "object" } } fps: { type: "integer" description: "Frames per second" } height: { type: "integer" } quality: { type: "string" enum: ["low", "medium", "high"] } resolution: { type: "string" enum: ["sd", "hd", "full-hd", "squared", "instagram-story", "instagram-feed", "twitter-landscape", "twitter-portrait"] } scenes: { type: "array" items: { type: "object" properties: { "background-color": { type: "string" description: "A hexadecimal representation of a color or 'transparent'" } cache: { type: "boolean" } comment: { type: "string" description: "Used for adding your comments" } duration: { type: "number" format: "float" } elements: { type: "array" items: { type: "object" } } transition: { type: "object" properties: { duration: { type: "number" format: "float" description: "Duration of the transition in seconds" } style: { type: "string" enum: ["fade", "wipeleft", "wiperight", "wipeup", "wipedown", "slideleft", "slideright", "slideup", "slidedown", "circlecrop", "rectcrop", "distance", "fadeblack", "fadewhite", "radial", "smoothleft", "smoothright", "smoothup", "smoothdown", "circleopen", "circleclose", "vertopen", "vertclose", "horzopen", "horzclose", "dissolve", "pixelize", "diagtl", "diagtr", "diagbl", "diagbr", "hlslice", "hrslice", "vuslice", "vdslice", "hblur", "fadegrays", "wipetl", "wipetr", "wipebl", "wipebr", "squeezeh", "squeezev", "zoomin"] } type: { type: "string" enum: ["xfade"] } } additionalProperties: false } } additionalProperties: false } } settings: { type: "object" description: "Movie advanced settings" } width: { type: "integer" } } additionalProperties: false } output: { type: "object" additionalProperties: true } }