feat: add versioned Blender production contracts

This commit is contained in:
NINI
2026-10-09 23:18:07 +09:00
parent b2b37a1105
commit d4f1a800aa
52 changed files with 1601 additions and 224 deletions
+112 -36
View File
@@ -2,7 +2,10 @@
"type": "object",
"properties": {
"schema_version": {
"const": "1.0"
"enum": [
"1.0",
"1.1"
]
},
"project_id": {
"type": "string",
@@ -25,40 +28,7 @@
"additionalProperties": false
},
"settings": {
"type": "object",
"properties": {
"aspect_ratio": {
"const": "9:16"
},
"max_duration_ms": {
"const": 180000
},
"max_cut_duration_ms": {
"const": 5000
},
"style_reference": {
"const": "references/1.png"
},
"tts_engine": {
"const": "Qwen3-TTS"
},
"conda_env": {
"const": "qwen3-tts"
},
"image_model": {
"const": "gpt-image-2.5-sunburst"
}
},
"required": [
"aspect_ratio",
"max_duration_ms",
"max_cut_duration_ms",
"style_reference",
"tts_engine",
"conda_env",
"image_model"
],
"additionalProperties": false
"type": "object"
},
"stages": {
"type": "array",
@@ -496,6 +466,112 @@
"blocking"
],
"additionalProperties": false
},
"settings-1.0": {
"type": "object",
"properties": {
"aspect_ratio": {
"const": "9:16"
},
"max_duration_ms": {
"const": 180000
},
"max_cut_duration_ms": {
"const": 5000
},
"style_reference": {
"const": "references/1.png"
},
"tts_engine": {
"const": "Qwen3-TTS"
},
"conda_env": {
"const": "qwen3-tts"
},
"image_model": {
"const": "gpt-image-2.5-sunburst"
}
},
"required": [
"aspect_ratio",
"max_duration_ms",
"max_cut_duration_ms",
"style_reference",
"tts_engine",
"conda_env",
"image_model"
],
"additionalProperties": false
},
"settings-1.1": {
"type": "object",
"properties": {
"aspect_ratio": {
"const": "9:16"
},
"max_duration_ms": {
"const": 180000
},
"max_cut_duration_ms": {
"const": 5000
},
"style_reference": {
"const": "references/1.png"
},
"tts_engine": {
"const": "Qwen3-TTS"
},
"conda_env": {
"const": "qwen3-tts"
},
"visual_engine": {
"const": "Blender"
}
},
"required": [
"aspect_ratio",
"max_duration_ms",
"max_cut_duration_ms",
"style_reference",
"tts_engine",
"conda_env",
"visual_engine"
],
"additionalProperties": false
}
}
},
"allOf": [
{
"if": {
"properties": {
"schema_version": {
"const": "1.0"
}
}
},
"then": {
"properties": {
"settings": {
"$ref": "#/$defs/settings-1.0"
}
}
}
},
{
"if": {
"properties": {
"schema_version": {
"const": "1.1"
}
}
},
"then": {
"properties": {
"settings": {
"$ref": "#/$defs/settings-1.1"
}
}
}
}
]
}