Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

9.1 KB
Raw Blame
// Template instructions shared by the Studio and connection-page catalogs.
export const templatePrompts: Record<string, string> = {
  "en": "Instructions: Use the OpenMotion plugin. If it is not installed, follow {installUrl} to install and connect it, then continue.\nSelected template: {name} ({id})\nCreative brief: Adapt the template using my requirements and attachments. Preserve its main motion and style by default, and deliver HTML and MP4.\nMy requirements:\n",
  "zh-CN": "使用说明:请使用 OpenMotion 插件。如未安装,请按 {installUrl} 安装并接入后继续。\n指定模板:{name}({id})\n创作要求:基于模板,结合我的要求和附件创作,默认保留主要动效与风格,并交付 HTML 和 MP4。\n我的要求:\n",
  "de": "Anleitung: Verwende das OpenMotion-Plugin. Falls es noch nicht installiert ist, installiere und verbinde es gemäß {installUrl} und fahre dann fort.\nAusgewählte Vorlage: {name} ({id})\nGestaltungsauftrag: Passe die Vorlage anhand meiner Anforderungen und Anhänge an. Behalte standardmäßig die wesentlichen Bewegungen und den Stil bei und liefere HTML und MP4.\nMeine Anforderungen:\n",
  "fr": "Instructions : utilise le plugin OpenMotion. S’il n’est pas installé, suis {installUrl} pour l’installer et le connecter, puis continue.\nModèle sélectionné : {name} ({id})\nConsignes de création : adapte le modèle à mes exigences et pièces jointes. Conserve par défaut ses mouvements principaux et son style, et livre un HTML et un MP4.\nMes exigences :\n",
  "es": "Instrucciones: usa el plugin OpenMotion. Si no está instalado, sigue {installUrl} para instalarlo y conectarlo; después, continúa.\nPlantilla seleccionada: {name} ({id})\nIndicaciones creativas: adapta la plantilla según mis requisitos y archivos adjuntos. Conserva por defecto sus movimientos principales y su estilo, y entrega HTML y MP4.\nMis requisitos:\n",
  "it": "Istruzioni: usa il plugin OpenMotion. Se non è installato, segui {installUrl} per installarlo e collegarlo, poi continua.\nModello selezionato: {name} ({id})\nIndicazioni creative: adatta il modello ai miei requisiti e agli allegati. Mantieni per impostazione predefinita i movimenti principali e lo stile, e consegna HTML e MP4.\nI miei requisiti:\n",
  "ja": "使用方法:OpenMotion プラグインを使用してください。未インストールの場合は、{installUrl} の手順に従ってインストールと接続を済ませてから続けてください。\n指定テンプレート:{name}({id})\n制作要件:テンプレートを基に、私の要望と添付素材を取り入れて制作してください。原則として主な動きとスタイルを保ち、HTML と MP4 を納品してください。\n私の要望:\n",
  "ko": "사용 안내: OpenMotion 플러그인을 사용해 주세요. 설치되어 있지 않으면 {installUrl}의 안내에 따라 설치하고 연결한 후 계속 진행해 주세요.\n지정 템플릿: {name} ({id})\n제작 요구사항: 템플릿을 바탕으로 내 요구사항과 첨부 자료를 반영해 제작해 주세요. 기본적으로 주요 모션과 스타일을 유지하고 HTML과 MP4를 제공해 주세요.\n내 요구사항:\n",
  "ru": "Инструкции: Используйте плагин OpenMotion. Если он не установлен, установите и подключите его по инструкции {installUrl}, затем продолжите.\nВыбранный шаблон: {name} ({id})\nТворческое задание: Адаптируйте шаблон с учётом моих требований и вложений. По умолчанию сохраните основные движения и стиль и предоставьте HTML и MP4.\nМои требования:\n",
  "tr": "Talimatlar: OpenMotion eklentisini kullanın. Yüklü değilse {installUrl} adresindeki talimatlarla kurup bağlayın, ardından devam edin.\nSeçilen şablon: {name} ({id})\nYaratıcı brief: Şablonu isteklerime ve eklerime göre uyarlayın. Varsayılan olarak ana hareketleri ve stili koruyun; HTML ve MP4 teslim edin.\nİsteklerim:\n",
  "pt-br": "Instruções: Use o plugin OpenMotion. Se ainda não estiver instalado, siga {installUrl} para instalar e conectar, depois continue.\nModelo selecionado: {name} ({id})\nBriefing criativo: Adapte o modelo com base nos meus requisitos e anexos. Por padrão, preserve os principais movimentos e o estilo e entregue HTML e MP4.\nMeus requisitos:\n"
};

export const repositoryTemplatePrompts: Record<keyof typeof templatePrompts, string> = {
  en: 'Use the connected local OpenMotion plugin. Selected template: {name} ({id}). Call openmotion_get_template with this exact ID, read the local instructions and motionDocument, and inspect examples through localSource paths. Adapt the guidance into a new editable project, preserve the source template, and review it in the local Studio. Export MP4 when requested.\nMy requirements:\n',
  'zh-CN': '使用当前已连接的本地 OpenMotion 插件。选中模板:{name}({id})。以该准确 ID 调用 openmotion_get_template,读取本地 instructions 和 motionDocument,并通过 localSource 路径查看示例。将动效规范应用到新的可编辑工程,保留原模板,在本地 Studio 审阅;需要视频文件时再导出 MP4。\n我的需求:\n',
  de: 'Nutze das verbundene lokale OpenMotion-Plugin. Vorlage: {name} ({id}). Rufe openmotion_get_template mit dieser ID auf, lies die lokalen instructions und motionDocument und prüfe Beispiele über localSource. Übertrage die Regeln in ein neues bearbeitbares Projekt, behalte die Vorlage und prüfe das Ergebnis im lokalen Studio. Exportiere MP4 auf Anfrage.\nMeine Anforderungen:\n',
  fr: 'Utilisez le plugin OpenMotion local connecté. Modèle : {name} ({id}). Appelez openmotion_get_template avec cet ID, lisez les instructions locales et motionDocument et consultez les exemples via localSource. Appliquez les règles à un nouveau projet modifiable, conservez le modèle et vérifiez le résultat dans le Studio local. Exportez en MP4 sur demande.\nMes besoins :\n',
  es: 'Usa el plugin local de OpenMotion conectado. Plantilla: {name} ({id}). Llama a openmotion_get_template con este ID, lee instructions y motionDocument locales y consulta los ejemplos mediante localSource. Aplica las reglas a un proyecto editable nuevo, conserva la plantilla y revisa el resultado en Studio local. Exporta MP4 cuando se solicite.\nMis requisitos:\n',
  it: 'Usa il plugin OpenMotion locale connesso. Modello: {name} ({id}). Chiama openmotion_get_template con questo ID, leggi instructions e motionDocument locali e consulta gli esempi tramite localSource. Applica le regole a un nuovo progetto modificabile, conserva il modello e verifica il risultato nello Studio locale. Esporta MP4 su richiesta.\nLe mie esigenze:\n',
  ja: '接続済みのローカル OpenMotion プラグインを使用してください。選択したテンプレート:{name}({id})。この ID で openmotion_get_template を呼び、ローカルの instructions と motionDocument を読み、localSource のパスで例を確認してください。元のテンプレートを保持し、規則を新しい編集可能なプロジェクトに適用してローカル Studio で確認してください。依頼があれば MP4 を書き出してください。\n要件:\n',
  ko: '연결된 로컬 OpenMotion 플러그인을 사용하세요. 선택한 템플릿: {name} ({id}). 이 ID로 openmotion_get_template을 호출하고 로컬 instructions와 motionDocument를 읽은 뒤 localSource 경로에서 예제를 확인하세요. 원본 템플릿을 보존하고 규칙을 새로운 편집 가능한 프로젝트에 적용하여 로컬 Studio에서 검토하세요. 요청 시 MP4로 내보내세요.\n요구 사항:\n',
  ru: 'Используйте подключённый локальный плагин OpenMotion. Шаблон: {name} ({id}). Вызовите openmotion_get_template с этим ID, прочитайте локальные instructions и motionDocument и изучите примеры по путям localSource. Примените правила в новом редактируемом проекте, сохраните исходный шаблон и проверьте результат в локальном Studio. Экспортируйте MP4 по запросу.\nМои требования:\n',
  tr: 'Bağlı yerel OpenMotion eklentisini kullanın. Seçilen şablon: {name} ({id}). Bu ID ile openmotion_get_template çağırın, yerel instructions ve motionDocument içeriğini okuyun ve localSource yollarından örnekleri inceleyin. Kaynak şablonu koruyarak kuralları yeni düzenlenebilir bir projeye uygulayın ve yerel Studio içinde kontrol edin. İstendiğinde MP4 dışa aktarın.\nİsteklerim:\n',
  'pt-br': 'Use o plugin local do OpenMotion conectado. Modelo: {name} ({id}). Chame openmotion_get_template com esse ID, leia instructions e motionDocument locais e consulte os exemplos pelos caminhos localSource. Aplique as regras em um novo projeto editável, preserve o modelo e revise o resultado no Studio local. Exporte MP4 quando solicitado.\nMeus requisitos:\n',
};