94 lines
3.8 KiB
JSON
94 lines
3.8 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://local.diffusiongemma/prompt_packet.schema.json",
|
|
"title": "DiffusionGemma Prompt Packet",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": ["ltx_prompt", "ideogram_prompt", "negative_prompt", "scene_segments", "metadata"],
|
|
"properties": {
|
|
"ltx_prompt": {"type": "string"},
|
|
"ideogram_prompt": {
|
|
"oneOf": [
|
|
{"type": "string"},
|
|
{"type": "object"}
|
|
]
|
|
},
|
|
"minimax_h3_prompt": {"type": "string"},
|
|
"negative_prompt": {"type": "string"},
|
|
"scene_segments": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": ["index", "duration_seconds", "prompt"],
|
|
"properties": {
|
|
"index": {"type": "integer", "minimum": 0},
|
|
"duration_seconds": {"type": "number", "minimum": 0},
|
|
"prompt": {"type": "string", "minLength": 1}
|
|
}
|
|
}
|
|
},
|
|
"metadata": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"json_parse_valid": {"type": "boolean"},
|
|
"salvage_warning": {"type": "string"},
|
|
"used_template_fallback": {"type": "boolean"},
|
|
"ready_for_generation": {"type": "boolean"},
|
|
"blocked_reasons": {
|
|
"type": "array",
|
|
"items": {"type": "string"}
|
|
},
|
|
"media_synthesis_mode": {
|
|
"enum": ["video_recreation", "image_identity_video_control"]
|
|
},
|
|
"image_role": {"type": "string"},
|
|
"video_role": {"type": "string"},
|
|
"reference_image_count": {"type": "integer", "minimum": 0},
|
|
"reference_image_backend_attached": {"type": "boolean"},
|
|
"reference_image_resized_for_video_control": {"type": "boolean"},
|
|
"reference_image_resize_mode": {"type": "string"},
|
|
"reference_image_original_width": {"type": "integer", "minimum": 0},
|
|
"reference_image_original_height": {"type": "integer", "minimum": 0},
|
|
"reference_image_backend_width": {"type": "integer", "minimum": 0},
|
|
"reference_image_backend_height": {"type": "integer", "minimum": 0},
|
|
"video_sampled_frame_count": {"type": "integer", "minimum": 0},
|
|
"synthesis_contract": {"type": "string"},
|
|
"media": {
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"source": {"type": "string"},
|
|
"pixel_tensor_present": {"type": "boolean"},
|
|
"pixels_sent_to_backend": {"type": "boolean"},
|
|
"media_synthesis_mode": {
|
|
"enum": ["video_recreation", "image_identity_video_control"]
|
|
},
|
|
"image_role": {"type": "string"},
|
|
"video_role": {"type": "string"},
|
|
"reference_image_count": {"type": "integer", "minimum": 0},
|
|
"reference_image_backend_attached": {"type": "boolean"},
|
|
"reference_image_resized_for_video_control": {"type": "boolean"},
|
|
"reference_image_resize_mode": {"type": "string"},
|
|
"reference_image_original_width": {"type": "integer", "minimum": 0},
|
|
"reference_image_original_height": {"type": "integer", "minimum": 0},
|
|
"reference_image_backend_width": {"type": "integer", "minimum": 0},
|
|
"reference_image_backend_height": {"type": "integer", "minimum": 0},
|
|
"video_sampled_frame_count": {"type": "integer", "minimum": 0},
|
|
"synthesis_contract": {"type": "string"},
|
|
"visual_grounding_mode": {
|
|
"enum": ["none", "metadata_only", "visual_description", "pixels"]
|
|
},
|
|
"visual_description": {"type": "string"}
|
|
}
|
|
},
|
|
"model_reported_media": {
|
|
"type": "object",
|
|
"additionalProperties": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|