查看原始 JSON
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"content"
],
"properties": {
"ratio": {
"enum": [
"16:9",
"4:3",
"1:1",
"3:4",
"9:16",
"21:9",
"adaptive"
],
"type": "string",
"description": "宽高比;省略时使用上游默认值 adaptive,由系统根据提示词和输入选择最合适的比例。"
},
"content": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 6000,
"minLength": 1
},
"type": {
"const": "text"
}
},
"additionalProperties": false
},
"maxItems": 1,
"minItems": 1
},
"duration": {
"type": "integer",
"default": 5,
"maximum": 15,
"minimum": 4,
"description": "视频时长(秒),范围 4 至 15。"
},
"priority": {
"type": "integer",
"maximum": 9,
"minimum": 0,
"description": "队列优先级,范围 0 至 9;数值越高越靠前,默认 0。"
},
"watermark": {
"type": "boolean",
"default": false,
"description": "是否添加 AI Generated 水印,默认 false。"
},
"resolution": {
"enum": [
"480p",
"720p"
],
"type": "string",
"default": "720p",
"description": "输出分辨率,同时也是价格选择器。"
},
"generate_audio": {
"type": "boolean",
"default": true,
"description": "是否生成同步音频(人声、音效和音乐),默认 true,不影响价格。"
}
},
"additionalProperties": false
}