{"name":"site_film_scene","title":"Подготовить сцену фильма","section":"Контент и оформление","mode":"write","url":"/tools/site_film_scene","blurb":"Управляет отдельной сценой и проверяет её визуальную согласованность с проектом.","aliases":"","kind":"Инструмент","examples":[{"label":"Рабочая задача","prompt":"Для второй сцены выбранного проекта проверь согласованность с первой по персонажам, свету и месту. Перечисли найденные расхождения.","check":"Управляет отдельной сценой и проверяет её визуальную согласованность с проектом."},{"label":"Выбрать режим","prompt":"Для задачи «Подготовить сцену фильма» сравни режимы generate и import инструмента site_film_scene. Какой подойдёт в моём случае и какие данные нужно подготовить?","check":"Сопоставить два режима и их аргументы."},{"label":"После сбоя","prompt":"При выполнении «Подготовить сцену фильма» связь прервалась после отправки. Для site_film_scene проверь исходный ключ операции и текущее состояние объекта перед решением о повторе.","check":"Сопоставить результат с исходной операцией."}],"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"siteId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"projectId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"expectedRevision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"idempotencyKey":{"type":"string","pattern":"^[A-Za-z0-9_-]{8,128}$"},"operation":{"type":"string","enum":["generate","import","extend","regenerate","check_continuity"]},"sceneId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"asset":{"oneOf":[{"type":"object","properties":{"source":{"type":"string","const":"site"},"mediaId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"required":["source","mediaId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","const":"cloud"},"fileId":{"type":"string","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)$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["source","fileId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","const":"video"},"assetId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"required":["source","assetId"],"additionalProperties":false}]},"generation":{"type":"object","properties":{"providerId":{"type":"string","enum":["seadance","fal","minimax","runway","seedance","kling","gemini","wan","higgsfield"]},"modelId":{"type":"string","minLength":1,"maxLength":150},"mode":{"type":"string","enum":["text_to_video","image_to_video","first_last_frame","reference_to_video","video_to_video","video_extend","video_edit"]},"prompt":{"type":"string","minLength":1,"maxLength":7000},"negativePrompt":{"type":"string","maxLength":2000},"firstFrame":{"oneOf":[{"type":"object","properties":{"source":{"type":"string","const":"site"},"mediaId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"required":["source","mediaId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","const":"cloud"},"fileId":{"type":"string","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)$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["source","fileId"],"additionalProperties":false}]},"lastFrame":{"oneOf":[{"type":"object","properties":{"source":{"type":"string","const":"site"},"mediaId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"required":["source","mediaId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","const":"cloud"},"fileId":{"type":"string","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)$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["source","fileId"],"additionalProperties":false}]},"referenceImages":{"maxItems":9,"type":"array","items":{"oneOf":[{"type":"object","properties":{"source":{"type":"string","const":"site"},"mediaId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"required":["source","mediaId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","const":"cloud"},"fileId":{"type":"string","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)$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["source","fileId"],"additionalProperties":false}]}},"video":{"oneOf":[{"type":"object","properties":{"source":{"type":"string","const":"site"},"mediaId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"required":["source","mediaId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","const":"cloud"},"fileId":{"type":"string","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)$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["source","fileId"],"additionalProperties":false}]},"audio":{"oneOf":[{"type":"object","properties":{"source":{"type":"string","const":"site"},"mediaId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"}},"required":["source","mediaId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","const":"cloud"},"fileId":{"type":"string","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)$"},"revision":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["source","fileId"],"additionalProperties":false}]},"duration":{"type":"integer","minimum":1,"maximum":30},"aspectRatio":{"type":"string","maxLength":12},"resolution":{"type":"string","maxLength":12},"seed":{"type":"integer","minimum":0,"maximum":4294967295},"generateAudio":{"type":"boolean"},"options":{"type":"object","properties":{"codec":{"type":"string","enum":["auto","H264","H265"]},"bitrateMode":{"type":"string","enum":["standard","high"]}},"additionalProperties":false},"usage":{"default":"video","type":"string","enum":["hero","video","background"]}},"required":["providerId","modelId","mode","prompt","duration","aspectRatio","resolution","usage"],"additionalProperties":false},"attemptId":{"type":"string","pattern":"^[A-Za-z0-9_~:@+.-]{1,128}$"},"submit":{"type":"boolean"},"budget":{"anyOf":[{"type":"object","properties":{"maxCredits":{"type":"integer","exclusiveMinimum":0,"maximum":10000000}},"required":["maxCredits"],"additionalProperties":false},{"type":"object","properties":{"maxCostUsd":{"type":"number","exclusiveMinimum":0,"maximum":1000}},"required":["maxCostUsd"],"additionalProperties":false}]},"spendApproval":{"anyOf":[{"type":"object","properties":{"quoteId":{"type":"string","pattern":"^quote_[a-f0-9]{32}$"},"approved":{"type":"boolean","const":true},"maxCostUsd":{"type":"number","exclusiveMinimum":0,"maximum":1000}},"required":["quoteId","approved","maxCostUsd"],"additionalProperties":false},{"type":"object","properties":{"quoteId":{"type":"string","pattern":"^quote_[a-f0-9]{32}$"},"approved":{"type":"boolean","const":true},"maxCredits":{"type":"integer","exclusiveMinimum":0,"maximum":10000000}},"required":["quoteId","approved","maxCredits"],"additionalProperties":false}]},"review":{"type":"object","properties":{"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["consistent","needs_revision"]},"notes":{"type":"string","minLength":1,"maxLength":4000}},"required":["evidenceHash","status","notes"],"additionalProperties":false}},"required":["siteId","operation","sceneId"],"additionalProperties":false},"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"},"$defs":{"__schema0":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"},{"type":"array","items":{"$ref":"#/$defs/__schema0"}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/$defs/__schema0"}}]}}}}