UNPKG

@sogni-ai/sogni-creative-agent-skill

Version:

Sogni Creative Agent Skill: agent skill and CLI for Sogni AI image, video, and music generation.

1,351 lines (1,350 loc) 172 kB
// Generated by sogni-creative-agent/scripts/sync-skill-runtime.mjs. // Do not edit manually in sogni-creative-agent-skill. // Moved to @sogni-ai/sogni-intelligence-client/skill-runtime-source in Phase 8.4 follow-up. // This file is kept as a thin re-export so existing internal `agent/` // callers keep working. New code should import from the public mid-tier: // import { ... } from '@sogni-ai/sogni-intelligence-client/skill-runtime-source'; export * from '@sogni-ai/sogni-intelligence-client/skill-runtime-source'; // Moved to @sogni-ai/sogni-intelligence-client/skill-runtime-source in Phase 8.4 follow-up. // This file is kept as a thin re-export so existing internal `agent/` // callers keep working. New code should import from the public mid-tier: // import { ... } from '@sogni-ai/sogni-intelligence-client/skill-runtime-source'; export * from '@sogni-ai/sogni-intelligence-client/skill-runtime-source'; const GATING_POLICIES = [ { "policyId": "DIAGNOSTIC_REQUEST", "version": "1.0.0", "trigger": { "allOf": [ "asks_about_previous_error", "has_prior_generation_context" ] }, "effect": { "forbid": [ "generate_image", "edit_image", "restore_photo", "apply_style", "refine_result", "animate_photo", "change_angle", "generate_video", "sound_to_video", "video_to_video", "generate_music", "extend_video", "replace_video_segment", "overlay_video", "add_subtitles", "stitch_video", "orbit_video", "dance_montage" ] }, "rationale": "The latest user message asks about a previous error. Do not retry media; answer from prior tool calls and context." }, { "policyId": "GENERATION_DETAILS_QUERY", "version": "1.0.0", "trigger": { "allOf": [ "asks_about_generation_details", "has_prior_generation_context" ] }, "effect": { "forbid": [ "generate_image", "edit_image", "restore_photo", "apply_style", "refine_result", "animate_photo", "change_angle", "generate_video", "sound_to_video", "video_to_video", "generate_music", "extend_video", "replace_video_segment", "overlay_video", "add_subtitles", "stitch_video", "orbit_video", "dance_montage" ] }, "rationale": "The latest user message asks about prior generation details. Do not create or retry media; answer only from prior tool calls." }, { "policyId": "TEXT_ONLY_REQUEST", "version": "1.0.0", "trigger": { "allOf": [ "requests_text_only_response" ] }, "effect": { "forbid": [ "generate_image", "edit_image", "restore_photo", "apply_style", "refine_result", "animate_photo", "change_angle", "generate_video", "sound_to_video", "video_to_video", "generate_music", "extend_video", "replace_video_segment", "overlay_video", "add_subtitles", "stitch_video", "orbit_video", "dance_montage" ] }, "rationale": "The latest user message requests a text-only response. Do not call any media generation tools." }, { "policyId": "DIAGNOSTIC_COMPLAINT", "version": "1.0.0", "trigger": { "allOf": [ "requests_diagnostic_response", "has_prior_generation_context" ] }, "effect": { "forbid": [ "generate_image", "edit_image", "restore_photo", "apply_style", "refine_result", "animate_photo", "change_angle", "generate_video", "sound_to_video", "video_to_video", "generate_music", "extend_video", "replace_video_segment", "overlay_video", "add_subtitles", "stitch_video", "orbit_video", "dance_montage" ] }, "rationale": "The latest user message is a diagnostic complaint about prior output. Do not create or retry media; explain what likely went wrong." }, { "policyId": "UPLOADED_BASE_VIDEO_PRESENT", "version": "1.0.0", "trigger": { "allOf": [ "has_uploaded_video", "requests_video_modification" ], "sources": { "has_uploaded_video": "session_state", "requests_video_modification": "planner" } }, "effect": { "forbid": [ "generate_video", "animate_photo" ] }, "rationale": "A user-uploaded video is the base; modify that asset directly instead of rendering a fresh clip." }, { "policyId": "UPLOADED_BASE_VIDEO_EXTEND", "version": "1.0.0", "trigger": { "allOf": [ "has_uploaded_video", "video_modification:extend" ], "sources": { "has_uploaded_video": "session_state", "video_modification:extend": "planner" } }, "effect": { "forbid": [ "generate_video", "animate_photo" ], "require": [ "extend_video" ] }, "rationale": "The planner identified uploaded-video extension. Use extend_video on the uploaded base; do not create a separate fresh clip." }, { "policyId": "UPLOADED_BASE_VIDEO_REPLACE", "version": "1.0.0", "trigger": { "allOf": [ "has_uploaded_video", "video_modification:replace_segment" ], "sources": { "has_uploaded_video": "session_state", "video_modification:replace_segment": "planner" } }, "effect": { "forbid": [ "generate_video", "animate_photo" ], "require": [ "replace_video_segment" ] }, "rationale": "The planner identified an uploaded-video segment replacement. Use replace_video_segment on the uploaded base." }, { "policyId": "UPLOADED_BASE_VIDEO_OVERLAY", "version": "1.0.0", "trigger": { "allOf": [ "has_uploaded_video", "video_modification:overlay" ], "sources": { "has_uploaded_video": "session_state", "video_modification:overlay": "planner" } }, "effect": { "forbid": [ "generate_video", "animate_photo" ], "require": [ "overlay_video" ] }, "rationale": "The planner identified an uploaded-video overlay. Use overlay_video on the uploaded base." }, { "policyId": "UPLOADED_BASE_VIDEO_SUBTITLES", "version": "1.0.0", "trigger": { "allOf": [ "has_uploaded_video", "video_modification:subtitles" ], "sources": { "has_uploaded_video": "session_state", "video_modification:subtitles": "planner" } }, "effect": { "forbid": [ "generate_video", "animate_photo" ], "require": [ "add_subtitles" ] }, "rationale": "The planner identified uploaded-video subtitles. Use add_subtitles on the uploaded base." }, { "policyId": "UPLOADED_BASE_VIDEO_TRANSFORM", "version": "1.0.0", "trigger": { "allOf": [ "has_uploaded_video", "video_modification:transform" ], "sources": { "has_uploaded_video": "session_state", "video_modification:transform": "planner" } }, "effect": { "forbid": [ "generate_video", "animate_photo" ], "require": [ "video_to_video" ] }, "rationale": "The planner identified an uploaded-video transform. Use video_to_video on the uploaded base." }, { "policyId": "UPLOADED_BASE_VIDEO_STITCH", "version": "1.0.0", "trigger": { "allOf": [ "has_uploaded_video", "video_modification:stitch" ], "sources": { "has_uploaded_video": "session_state", "video_modification:stitch": "planner" } }, "effect": { "forbid": [ "generate_video", "animate_photo" ], "require": [ "stitch_video" ] }, "rationale": "The planner identified uploaded-video stitching. Use stitch_video with the uploaded clips instead of rendering a fresh clip." }, { "policyId": "HAS_PERSONA_AND_REQUESTS_VIDEO", "version": "1.0.0", "trigger": { "allOf": [ "has_active_persona", "requests_persona_video_generation", "no_persona_image_in_session" ], "sources": { "has_active_persona": "session_state", "requests_persona_video_generation": "planner", "no_persona_image_in_session": "session_state" } }, "effect": { "forbid": [], "require": [ "resolve_personas", "edit_image" ] }, "rationale": "Persona videos require an image stage first: resolve_personas, then edit_image to render the persona, then animate. Do not go text-to-video." }, { "policyId": "HAS_PERSONA_AND_REQUESTS_PERSONA_IMAGE", "version": "1.0.0", "trigger": { "allOf": [ "has_active_persona", "requests_persona_image_generation" ], "sources": { "has_active_persona": "session_state", "requests_persona_image_generation": "planner" } }, "effect": { "forbid": [ "generate_image" ], "require": [ "edit_image" ] }, "rationale": "Persona images must use edit_image with the persona reference photo, never generate_image (which has no access to the persona identity)." } ]; const REPAIR_RECIPES = [ { "recipeId": "extend_video.duration_clamp", "version": "1.0.0", "toolName": "extend_video", "errorCode": "PARAMETER_INVALID", "mode": "autoRepair", "maxRetries": 1, "repairNoteTemplate": "Seedance video segments cap at 15s; adjusted duration from {{requested}}s to {{clamped}}s.", "autoRepairFields": [ "duration" ] }, { "recipeId": "animate_photo.all_failed", "version": "1.0.0", "toolName": "animate_photo", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "All animation attempts failed. Want to try a different photo or rewrite the motion prompt?" }, { "recipeId": "replace_video_segment.window_invalid", "version": "1.0.0", "toolName": "replace_video_segment", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "replace_video_segment needs a valid replacement window. {{message}} Please provide a shorter explicit start and end time, for example \"replace 5s to 9s\" or \"redo the last 4 seconds.\"" }, { "recipeId": "generate_image.user_input_incomplete", "version": "1.0.0", "toolName": "generate_image", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "edit_image.user_input_incomplete", "version": "1.0.0", "toolName": "edit_image", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "restore_photo.user_input_incomplete", "version": "1.0.0", "toolName": "restore_photo", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "apply_style.user_input_incomplete", "version": "1.0.0", "toolName": "apply_style", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "refine_result.user_input_incomplete", "version": "1.0.0", "toolName": "refine_result", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "animate_photo.user_input_incomplete", "version": "1.0.0", "toolName": "animate_photo", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "change_angle.user_input_incomplete", "version": "1.0.0", "toolName": "change_angle", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "generate_video.user_input_incomplete", "version": "1.0.0", "toolName": "generate_video", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "sound_to_video.user_input_incomplete", "version": "1.0.0", "toolName": "sound_to_video", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "video_to_video.user_input_incomplete", "version": "1.0.0", "toolName": "video_to_video", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "generate_music.user_input_incomplete", "version": "1.0.0", "toolName": "generate_music", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "extend_video.user_input_incomplete", "version": "1.0.0", "toolName": "extend_video", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "replace_video_segment.user_input_incomplete", "version": "1.0.0", "toolName": "replace_video_segment", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "overlay_video.user_input_incomplete", "version": "1.0.0", "toolName": "overlay_video", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "add_subtitles.user_input_incomplete", "version": "1.0.0", "toolName": "add_subtitles", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "stitch_video.user_input_incomplete", "version": "1.0.0", "toolName": "stitch_video", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "orbit_video.user_input_incomplete", "version": "1.0.0", "toolName": "orbit_video", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "dance_montage.user_input_incomplete", "version": "1.0.0", "toolName": "dance_montage", "errorCode": "USER_INPUT_INCOMPLETE", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I need more details before I can run {{toolName}}. {{missingDetail}}" }, { "recipeId": "generate_image.cost_limit_exceeded", "version": "1.0.0", "toolName": "generate_image", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "edit_image.cost_limit_exceeded", "version": "1.0.0", "toolName": "edit_image", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "restore_photo.cost_limit_exceeded", "version": "1.0.0", "toolName": "restore_photo", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "apply_style.cost_limit_exceeded", "version": "1.0.0", "toolName": "apply_style", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "refine_result.cost_limit_exceeded", "version": "1.0.0", "toolName": "refine_result", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "animate_photo.cost_limit_exceeded", "version": "1.0.0", "toolName": "animate_photo", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "change_angle.cost_limit_exceeded", "version": "1.0.0", "toolName": "change_angle", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "generate_video.cost_limit_exceeded", "version": "1.0.0", "toolName": "generate_video", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "sound_to_video.cost_limit_exceeded", "version": "1.0.0", "toolName": "sound_to_video", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "video_to_video.cost_limit_exceeded", "version": "1.0.0", "toolName": "video_to_video", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "generate_music.cost_limit_exceeded", "version": "1.0.0", "toolName": "generate_music", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "extend_video.cost_limit_exceeded", "version": "1.0.0", "toolName": "extend_video", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "replace_video_segment.cost_limit_exceeded", "version": "1.0.0", "toolName": "replace_video_segment", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "overlay_video.cost_limit_exceeded", "version": "1.0.0", "toolName": "overlay_video", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "add_subtitles.cost_limit_exceeded", "version": "1.0.0", "toolName": "add_subtitles", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "stitch_video.cost_limit_exceeded", "version": "1.0.0", "toolName": "stitch_video", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "orbit_video.cost_limit_exceeded", "version": "1.0.0", "toolName": "orbit_video", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "dance_montage.cost_limit_exceeded", "version": "1.0.0", "toolName": "dance_montage", "errorCode": "COST_LIMIT_EXCEEDED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "You have hit the credit limit for this turn. Buy Spark Packs to continue: https://docs.sogni.ai/pricing/#spark-packs" }, { "recipeId": "generate_image.asset_not_found", "version": "1.0.0", "toolName": "generate_image", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "edit_image.asset_not_found", "version": "1.0.0", "toolName": "edit_image", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "restore_photo.asset_not_found", "version": "1.0.0", "toolName": "restore_photo", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "apply_style.asset_not_found", "version": "1.0.0", "toolName": "apply_style", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "refine_result.asset_not_found", "version": "1.0.0", "toolName": "refine_result", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "animate_photo.asset_not_found", "version": "1.0.0", "toolName": "animate_photo", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "change_angle.asset_not_found", "version": "1.0.0", "toolName": "change_angle", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "generate_video.asset_not_found", "version": "1.0.0", "toolName": "generate_video", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "sound_to_video.asset_not_found", "version": "1.0.0", "toolName": "sound_to_video", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "video_to_video.asset_not_found", "version": "1.0.0", "toolName": "video_to_video", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "generate_music.asset_not_found", "version": "1.0.0", "toolName": "generate_music", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "extend_video.asset_not_found", "version": "1.0.0", "toolName": "extend_video", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "replace_video_segment.asset_not_found", "version": "1.0.0", "toolName": "replace_video_segment", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "overlay_video.asset_not_found", "version": "1.0.0", "toolName": "overlay_video", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "add_subtitles.asset_not_found", "version": "1.0.0", "toolName": "add_subtitles", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "stitch_video.asset_not_found", "version": "1.0.0", "toolName": "stitch_video", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "orbit_video.asset_not_found", "version": "1.0.0", "toolName": "orbit_video", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "dance_montage.asset_not_found", "version": "1.0.0", "toolName": "dance_montage", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "analyze_image.asset_not_found", "version": "1.0.0", "toolName": "analyze_image", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "analyze_video.asset_not_found", "version": "1.0.0", "toolName": "analyze_video", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "extract_metadata.asset_not_found", "version": "1.0.0", "toolName": "extract_metadata", "errorCode": "ASSET_NOT_FOUND", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "I cannot find the asset that {{toolName}} needs. {{message}} Which uploaded or generated asset did you want?" }, { "recipeId": "generate_image.workflow_validation_failed", "version": "1.0.0", "toolName": "generate_image", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "edit_image.workflow_validation_failed", "version": "1.0.0", "toolName": "edit_image", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "restore_photo.workflow_validation_failed", "version": "1.0.0", "toolName": "restore_photo", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "apply_style.workflow_validation_failed", "version": "1.0.0", "toolName": "apply_style", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "refine_result.workflow_validation_failed", "version": "1.0.0", "toolName": "refine_result", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "animate_photo.workflow_validation_failed", "version": "1.0.0", "toolName": "animate_photo", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "change_angle.workflow_validation_failed", "version": "1.0.0", "toolName": "change_angle", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "generate_video.workflow_validation_failed", "version": "1.0.0", "toolName": "generate_video", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "sound_to_video.workflow_validation_failed", "version": "1.0.0", "toolName": "sound_to_video", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "video_to_video.workflow_validation_failed", "version": "1.0.0", "toolName": "video_to_video", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "generate_music.workflow_validation_failed", "version": "1.0.0", "toolName": "generate_music", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "extend_video.workflow_validation_failed", "version": "1.0.0", "toolName": "extend_video", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "replace_video_segment.workflow_validation_failed", "version": "1.0.0", "toolName": "replace_video_segment", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "overlay_video.workflow_validation_failed", "version": "1.0.0", "toolName": "overlay_video", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "add_subtitles.workflow_validation_failed", "version": "1.0.0", "toolName": "add_subtitles", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "stitch_video.workflow_validation_failed", "version": "1.0.0", "toolName": "stitch_video", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "orbit_video.workflow_validation_failed", "version": "1.0.0", "toolName": "orbit_video", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "dance_montage.workflow_validation_failed", "version": "1.0.0", "toolName": "dance_montage", "errorCode": "WORKFLOW_VALIDATION_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} could not run: {{message}}" }, { "recipeId": "generate_image.parameter_invalid", "version": "1.0.0", "toolName": "generate_image", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "edit_image.parameter_invalid", "version": "1.0.0", "toolName": "edit_image", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "restore_photo.parameter_invalid", "version": "1.0.0", "toolName": "restore_photo", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "apply_style.parameter_invalid", "version": "1.0.0", "toolName": "apply_style", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "refine_result.parameter_invalid", "version": "1.0.0", "toolName": "refine_result", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "animate_photo.parameter_invalid", "version": "1.0.0", "toolName": "animate_photo", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "change_angle.parameter_invalid", "version": "1.0.0", "toolName": "change_angle", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "generate_video.parameter_invalid", "version": "1.0.0", "toolName": "generate_video", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "sound_to_video.parameter_invalid", "version": "1.0.0", "toolName": "sound_to_video", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "video_to_video.parameter_invalid", "version": "1.0.0", "toolName": "video_to_video", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "generate_music.parameter_invalid", "version": "1.0.0", "toolName": "generate_music", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "overlay_video.parameter_invalid", "version": "1.0.0", "toolName": "overlay_video", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "add_subtitles.parameter_invalid", "version": "1.0.0", "toolName": "add_subtitles", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "stitch_video.parameter_invalid", "version": "1.0.0", "toolName": "stitch_video", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "orbit_video.parameter_invalid", "version": "1.0.0", "toolName": "orbit_video", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "dance_montage.parameter_invalid", "version": "1.0.0", "toolName": "dance_montage", "errorCode": "PARAMETER_INVALID", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "{{toolName}} rejected the arguments: {{message}}" }, { "recipeId": "generate_image.gpu_worker_failed", "version": "1.0.0", "toolName": "generate_image", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "edit_image.gpu_worker_failed", "version": "1.0.0", "toolName": "edit_image", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "restore_photo.gpu_worker_failed", "version": "1.0.0", "toolName": "restore_photo", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "apply_style.gpu_worker_failed", "version": "1.0.0", "toolName": "apply_style", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "refine_result.gpu_worker_failed", "version": "1.0.0", "toolName": "refine_result", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "change_angle.gpu_worker_failed", "version": "1.0.0", "toolName": "change_angle", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "generate_video.gpu_worker_failed", "version": "1.0.0", "toolName": "generate_video", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "sound_to_video.gpu_worker_failed", "version": "1.0.0", "toolName": "sound_to_video", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "video_to_video.gpu_worker_failed", "version": "1.0.0", "toolName": "video_to_video", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "generate_music.gpu_worker_failed", "version": "1.0.0", "toolName": "generate_music", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "extend_video.gpu_worker_failed", "version": "1.0.0", "toolName": "extend_video", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "replace_video_segment.gpu_worker_failed", "version": "1.0.0", "toolName": "replace_video_segment", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "overlay_video.gpu_worker_failed", "version": "1.0.0", "toolName": "overlay_video", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "add_subtitles.gpu_worker_failed", "version": "1.0.0", "toolName": "add_subtitles", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "stitch_video.gpu_worker_failed", "version": "1.0.0", "toolName": "stitch_video", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolName}} worker failed. {{message}} Want me to try again or change the request?" }, { "recipeId": "orbit_video.gpu_worker_failed", "version": "1.0.0", "toolName": "orbit_video", "errorCode": "GPU_WORKER_FAILED", "mode": "stopAndAsk", "maxRetries": 0, "repairNoteTemplate": "The {{toolN