changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "generation": {
- "additionalProperties": false,
- "properties": {
- "dialogueEditJobId": {
- "anyOf": [
- {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "inputs": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "assetId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "generatedBy": {
- "const": "tts",
- "type": "string"
- },
- "provider": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "type": "string"
- },
- "script": {
- "type": "string"
- },
- "similarityBoost": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "stability": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "voiceId": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "script",
- "voiceId"
- ],
- "type": "object"
- },
- "refId": {
- "type": "string"
- },
- "segments_frames": {
- "items": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "type": "array"
- },
- "segments_secs": {
- "items": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "type": "array"
- },
- "trim_secs": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "type": {
- "enum": [
- "video",
- "image",
- "audio",
- "text"
- ],
- "type": "string"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "modelName": {
- "minLength": 1,
- "type": "string"
- },
- "options": {
- "additionalProperties": false,
- "properties": {
- "active_speaker_detection": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "additionalProperties": false,
- "properties": {
- "auto_detect": {
- "type": "boolean"
- },
- "bounding_boxes": {
- "items": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": "array"
- },
- "bounding_boxes_url": {
- "format": "uri",
- "type": "string"
- },
- "coordinates": {
- "items": false,
- "maxItems": 2,
- "minItems": 2,
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "face_image": {
- "type": "string"
- },
- "frame_number": {
- "type": "number"
- },
- "use_v2": {
- "type": "boolean"
- },
- "v3": {
- "type": "boolean"
- }
- },
- "type": "object"
- }
- ]
- },
- "model_mode": {
- "type": "string"
- },
- "occlusion_detection_enabled": {
- "type": "boolean"
- },
- "reasoning_enabled": {
- "description": "Only lipsync-2-pro supports reasoning; it is ignored for other models.",
- "type": "boolean"
- },
- "sync_mode": {
- "enum": [
- "bounce",
- "loop",
- "cut_off",
- "silence",
- "remap"
- ],
- "type": "string"
- },
- "temperature": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- "outputMediaUrl": {
- "anyOf": [
- {
- "format": "uri",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "parentGenerationId": {
- "anyOf": [
- {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "projectId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "renderedFromAssetId": {
- "anyOf": [
- {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "segments": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "audioInput": {
- "additionalProperties": false,
- "properties": {
- "endTime": {
- "type": "number"
- },
- "refId": {
- "type": "string"
- },
- "startTime": {
- "type": "number"
- }
- },
- "required": [
- "refId"
- ],
- "type": "object"
- },
- "endFrame": {
- "type": "number"
- },
- "endTime": {
- "type": "number"
- },
- "optionsOverride": {
- "additionalProperties": false,
- "properties": {
- "active_speaker_detection": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "additionalProperties": false,
- "properties": {
- "auto_detect": {
- "type": "boolean"
- },
- "bounding_boxes": {
- "items": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": "array"
- },
- "bounding_boxes_url": {
- "format": "uri",
- "type": "string"
- },
- "coordinates": {
- "items": false,
- "maxItems": 2,
- "minItems": 2,
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "face_image": {
- "type": "string"
- },
- "frame_number": {
- "type": "number"
- },
- "use_v2": {
- "type": "boolean"
- },
- "v3": {
- "type": "boolean"
- }
- },
- "type": "object"
- }
- ]
- },
- "model_mode": {
- "type": "string"
- },
- "occlusion_detection_enabled": {
- "type": "boolean"
- },
- "reasoning_enabled": {
- "description": "Only lipsync-2-pro supports reasoning; it is ignored for other models.",
- "type": "boolean"
- },
- "sync_mode": {
- "enum": [
- "bounce",
- "loop",
- "cut_off",
- "silence",
- "remap"
- ],
- "type": "string"
- },
- "temperature": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "type": "object"
- },
- "startFrame": {
- "type": "number"
- },
- "startTime": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "speakers": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "audio": {
- "additionalProperties": false,
- "properties": {
- "endTime": {
- "type": "number"
- },
- "refId": {
- "type": "string"
- },
- "startTime": {
- "type": "number"
- }
- },
- "required": [
- "refId"
- ],
- "type": "object"
- },
- "face": {
- "additionalProperties": false,
- "properties": {
- "bounding_boxes": {
- "items": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": "array"
- },
- "bounding_boxes_url": {
- "format": "uri",
- "type": "string"
- },
- "coordinates": {
- "items": false,
- "maxItems": 2,
- "minItems": 2,
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "face_image": {
- "type": "string"
- },
- "frame_number": {
- "type": "number"
- },
- "use_v2": {
- "type": "boolean"
- },
- "v3": {
- "type": "boolean"
- }
- },
- "type": "object"
- },
- "id": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "audio",
- "face"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "enum": [
- "PENDING",
- "PROCESSING",
- "COMPLETED",
- "FAILED",
- "REJECTED"
- ],
- "type": "string"
- },
- "workflow": {
- "anyOf": [
- {
- "enum": [
- "lipsync",
- "translate_and_dub",
- "image_to_video",
- "edit_dialogue",
- "change_appearance",
- "timeline",
- "assistant"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "id",
- "projectId",
- "status",
- "modelName",
- "options",
- "inputs"
- ],
- "type": "object"
- },
- "submissionContextVersion": {
- "const": 1,
- "type": "number"
- }
- },
- "required": [
- "submissionContextVersion",
- "generation"
- ],
- "type": "object"
- },
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "generationId": {
- "type": "string"
- },
- "importJobId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "importStatus": {
- "enum": [
- "queued",
- "downloading",
- "processing",
- "completed",
- "failed"
- ],
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "progress": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "retryAfterMs": {
- "type": "number"
- },
- "retryable": {
- "type": "boolean"
- },
- "status": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "generation": {
+ "additionalProperties": false,
+ "properties": {
+ "dialogueEditJobId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "inputs": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "assetId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "generatedBy": {
+ "const": "tts",
+ "type": "string"
+ },
+ "provider": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "script": {
+ "type": "string"
+ },
+ "similarityBoost": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stability": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "voiceId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "script",
+ "voiceId"
+ ],
+ "type": "object"
+ },
+ "refId": {
+ "type": "string"
+ },
+ "segments_frames": {
+ "items": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "segments_secs": {
+ "items": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "trim_secs": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "video",
+ "image",
+ "audio",
+ "text"
+ ],
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "modelName": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "options": {
+ "additionalProperties": false,
+ "properties": {
+ "active_speaker_detection": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "auto_detect": {
+ "description": "Find the person speaking automatically.",
+ "type": "boolean"
+ },
+ "bounding_boxes": {
+ "items": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "bounding_boxes_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "coordinates": {
+ "description": "[x, y] pixel position of the speaker's face on frame_number.",
+ "items": false,
+ "maxItems": 2,
+ "minItems": 2,
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "face_image": {
+ "description": "URL of a reference image of the speaker's face.",
+ "type": "string"
+ },
+ "frame_number": {
+ "type": "number"
+ },
+ "use_v2": {
+ "description": "Use the second-generation speaker detector.",
+ "type": "boolean"
+ },
+ "v3": {
+ "description": "Use the third-generation speaker detector.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ }
+ ]
+ },
+ "model_mode": {
+ "type": "string"
+ },
+ "occlusion_detection_enabled": {
+ "description": "Keep hands, microphones and other objects that pass in front of the mouth in front of it. Slower.",
+ "type": "boolean"
+ },
+ "reasoning_enabled": {
+ "description": "Only lipsync-2-pro supports reasoning; it is ignored for other models.",
+ "type": "boolean"
+ },
+ "sync_mode": {
+ "description": "How to fit audio and video of different lengths: bounce (play the video forward, then in reverse), loop, cut_off (stop at the shorter input), silence (pad with silence to the longer input) or remap (change the video speed to match the audio).",
+ "enum": [
+ "bounce",
+ "loop",
+ "cut_off",
+ "silence",
+ "remap"
+ ],
+ "type": "string"
+ },
+ "temperature": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "How expressive the mouth movement is, from 0 to 1. Omit for the model default."
+ }
+ },
+ "type": "object"
+ },
+ "outputMediaUrl": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "parentGenerationId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "projectId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "renderedFromAssetId": {
+ "anyOf": [
+ {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "segments": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "audioInput": {
+ "additionalProperties": false,
+ "properties": {
+ "endTime": {
+ "type": "number"
+ },
+ "refId": {
+ "type": "string"
+ },
+ "startTime": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "refId"
+ ],
+ "type": "object"
+ },
+ "endFrame": {
+ "type": "number"
+ },
+ "endTime": {
+ "type": "number"
+ },
+ "optionsOverride": {
+ "additionalProperties": false,
+ "properties": {
+ "active_speaker_detection": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "auto_detect": {
+ "description": "Find the person speaking automatically.",
+ "type": "boolean"
+ },
+ "bounding_boxes": {
+ "items": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "bounding_boxes_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "coordinates": {
+ "description": "[x, y] pixel position of the speaker's face on frame_number.",
+ "items": false,
+ "maxItems": 2,
+ "minItems": 2,
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "face_image": {
+ "description": "URL of a reference image of the speaker's face.",
+ "type": "string"
+ },
+ "frame_number": {
+ "type": "number"
+ },
+ "use_v2": {
+ "description": "Use the second-generation speaker detector.",
+ "type": "boolean"
+ },
+ "v3": {
+ "description": "Use the third-generation speaker detector.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ }
+ ]
+ },
+ "model_mode": {
+ "type": "string"
+ },
+ "occlusion_detection_enabled": {
+ "description": "Keep hands, microphones and other objects that pass in front of the mouth in front of it. Slower.",
+ "type": "boolean"
+ },
+ "reasoning_enabled": {
+ "description": "Only lipsync-2-pro supports reasoning; it is ignored for other models.",
+ "type": "boolean"
+ },
+ "sync_mode": {
+ "description": "How to fit audio and video of different lengths: bounce (play the video forward, then in reverse), loop, cut_off (stop at the shorter input), silence (pad with silence to the longer input) or remap (change the video speed to match the audio).",
+ "enum": [
+ "bounce",
+ "loop",
+ "cut_off",
+ "silence",
+ "remap"
+ ],
+ "type": "string"
+ },
+ "temperature": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "How expressive the mouth movement is, from 0 to 1. Omit for the model default."
+ }
+ },
+ "type": "object"
+ },
+ "startFrame": {
+ "type": "number"
+ },
+ "startTime": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "speakers": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "audio": {
+ "additionalProperties": false,
+ "properties": {
+ "endTime": {
+ "type": "number"
+ },
+ "refId": {
+ "type": "string"
+ },
+ "startTime": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "refId"
+ ],
+ "type": "object"
+ },
+ "face": {
+ "additionalProperties": false,
+ "properties": {
+ "bounding_boxes": {
+ "items": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "bounding_boxes_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "coordinates": {
+ "description": "[x, y] pixel position of the speaker's face on frame_number.",
+ "items": false,
+ "maxItems": 2,
+ "minItems": 2,
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "face_image": {
+ "description": "URL of a reference image of the speaker's face.",
+ "type": "string"
+ },
+ "frame_number": {
+ "type": "number"
+ },
+ "use_v2": {
+ "description": "Use the second-generation speaker detector.",
+ "type": "boolean"
+ },
+ "v3": {
+ "description": "Use the third-generation speaker detector.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "audio",
+ "face"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "PENDING",
+ "PROCESSING",
+ "COMPLETED",
+ "FAILED",
+ "REJECTED"
+ ],
+ "type": "string"
+ },
+ "workflow": {
+ "anyOf": [
+ {
+ "enum": [
+ "lipsync",
+ "translate_and_dub",
+ "image_to_video",
+ "edit_dialogue",
+ "change_appearance",
+ "timeline",
+ "assistant"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "projectId",
+ "status",
+ "modelName",
+ "options",
+ "inputs"
+ ],
+ "type": "object"
+ },
+ "submissionContextVersion": {
+ "const": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "submissionContextVersion",
+ "generation"
+ ],
+ "type": "object"
+ },
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "generationId": {
+ "type": "string"
+ },
+ "importJobId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "importStatus": {
+ "enum": [
+ "queued",
+ "downloading",
+ "processing",
+ "completed",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "progress": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "retryAfterMs": {
+ "type": "number"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "status": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]