inference.seedance-2.txt2vid.v1
Schema
Section titled “Schema”{ "type": "object", "required": [ "type", "config" ], "additionalProperties": false, "properties": { "type": { "type": "string", "enum": [ "inference.seedance-2.txt2vid.v1" ] }, "config": { "type": "object", "required": [ "prompt" ], "additionalProperties": false, "properties": { "prompt": { "type": "string", "minLength": 3, "maxLength": 4096, "default": "a flying dragon over mountains", "description": "Description of desired output." }, "resolution": { "type": "string", "enum": [ "480p", "720p", "1080p" ], "default": "1080p", "description": "This controls the general quality level of the output. Exact width and height will vary depending on the selected aspect ratio. For a video with approximately 480, 720, or 1080 pixel height use a 16:9 aspect ratio." }, "aspect_ratio": { "type": "string", "enum": [ "16:9", "4:3", "1:1", "3:4", "9:16", "21:9", "adaptive" ], "default": "adaptive", "description": "Controls the approximate aspect ratio of the resulting video. Use \"adaptive\" to let the model pick automatically based on the prompt." }, "duration": { "type": "integer", "minimum": -1, "maximum": 15, "default": 5, "description": "Duration of the video in seconds. Valid values are integers in [4, 15], or -1 to let the model pick a suitable length." }, "watermark": { "type": "boolean", "default": false, "description": "When set to true a watermark is added indicating the output is AI generated." }, "camera_fixed": { "type": "boolean", "default": false, "description": "When set to true the model is encouraged to keep the camera from moving. This is not guaranteed to work." }, "generate_audio": { "type": "boolean", "default": true, "description": "When true the output video includes synchronized audio. When false a silent video is produced." }, "return_last_frame": { "type": "boolean", "default": false, "description": "When true the last frame of the generated video is also returned as a PNG (last_frame.png) alongside the video." }, "seed": { "type": "integer", "description": "A randomness initializer for image reproducability." } } } }}