Skillpedia
مونتاج الفيديو14k · #11252

krillinai-cli

ما الذي تفعله

ترشد هذه المهارة إلى استخدام أداة سطر أوامر KrillinAI، التي تتولى الترجمات والدبلجة ومعالجة الفيديو وصور الأغلفة. وهي مخصصة لصنّاع المحتوى الذين يريدون توطين فيديوهاتهم أو إعادة استخدامها.

متى تستخدمها

  • ✓عندما تريد ترجمات بلغة ثانية لفيديو.
  • ✓عندما تريد صوتًا مدبلجًا بلغة أخرى لفيديو.
  • ✓عندما تحتاج إلى نسخة عمودية بالطول من فيديو أفقي.

رابط المهارة

https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-cli/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/krillinai/OpenCreator/blob/master/skills/krillinai-cli/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“هل يمكنك إنشاء ترجمات صينية ونسخة مدبلجة لفيديو YouTube الإنجليزي الخاص بي، ثم نسخة عمودية؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يختار الوكيل أمر KrillinAI المناسب لهدفك، مثل الترجمات أو الدبلجة أو المعالجة، ويقرأ ملفات النتائج للتأكد من نجاح كل خطوة. وتعمل كل مرحلة في مجلد عمل خاص بها.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

KrillinAI CLI

Use this as the top-level routing skill for KrillinAI command-line work.

Build And Locate The Binary

Build both KrillinAI binaries through the repository script:

pnpm krillinai:build

For the current machine, locate the CLI without assuming a platform or architecture:

TARGET="$(node -p "process.platform + '-' + process.arch")"
SUFFIX="$(node -p "process.platform === 'win32' ? '.exe' : ''")"
KRILLINAI_CLI="$PWD/.runtime/build/krillinai/$TARGET/bin/krillinai-cli$SUFFIX"
test -f "$KRILLINAI_CLI"

The CLI loads config/config.toml relative to its process working directory. For real runs from a source checkout, use runtime/krillinai as the process working directory and create its ignored config/config.toml from config/config-example.toml without overwriting an existing file. A release archive should be run from its unpacked package root.

For build layout, configuration, JSON, manifest, output, and error details, read:

skills/krillinai-cli/references/cli-contract.md

Choose The Command

User intent Command / skill
Generate source, target, bilingual, and short vertical subtitles subtitle; use krillinai-subtitle
Generate target-language dubbing from subtitles tts; use krillinai-tts
Create landscape videos render-horizontal; use krillinai-render-horizontal
Create portrait/short-form videos render-vertical; use krillinai-render-vertical
Generate a cover from a complete image prompt cover; use krillinai-cover
Generate speech from plain text speech
List provider voice codes for Aliyun, OpenAI, or MiniMax voices
Validate a requested multi-stage output plan pipeline --dry-run; use krillinai-pipeline

pipeline only validates plans in dry-run mode; non-dry-run execution returns unsupported_command. status is reserved and unsupported.

Operating Rules For Agents

  • Use a dedicated --workdir; do not scatter outputs in the repo root.
  • Use --dry-run for command-shape validation before external calls.
  • Parse stdout as JSON lines. The terminal response is the object containing ok; OpenCreator mode may emit progress frames first.
  • Treat krillinai_manifest.json and actual output files as the source of truth after a real stage.
  • Reuse manifest outputs for later stages instead of guessing filenames.
  • If a command fails, classify by error.kind: usage, retryable, dependency, or internal.
  • Avoid rerunning expensive stages if the manifest already has valid upstream outputs.
  • Do not claim that cover consumed a reference image: the current CLI accepts a complete text prompt and size only.
  • Do not request an Edge TTS voice catalog: voices currently supports aliyun, openai, and minimax.

Minimal Workflow

REPO_ROOT="$PWD"
WORKDIR="$REPO_ROOT/tasks/demo"
mkdir -p "$WORKDIR"

(cd "$REPO_ROOT/runtime/krillinai" && "$KRILLINAI_CLI" subtitle \
  "https://www.youtube.com/watch?v=VIDEO_ID" \
  --origin-lang en \
  --target-lang zh_cn \
  --workdir "$WORKDIR" \
  --caption-source any \
  --prepare-video)

(cd "$REPO_ROOT/runtime/krillinai" && "$KRILLINAI_CLI" render-vertical \
  --workdir "$WORKDIR")
الأسئلة الشائعة

من أين تقرأ الأداة إعداداتها؟

من ملف إعداد في المجلد الذي تشغّل منه الأداة، ويجب ضبطه ببيانات مزودك.

هل تعمل من رابط YouTube؟

نعم. خطوة الترجمات يمكن أن تبدأ من رابط، فتستخدم ترجمات المنصة أولًا، ثم التفريغ الصوتي إذا لم تتوفر.

هل تُشغَّل المراحل واحدة تلو الأخرى؟

كل مرحلة تُشغَّل بأمر مستقل، وتُحفظ النتائج في مجلد العمل نفسه.

التفاصيل

الوصف الأصلي من المؤلف

Use when an agent needs to build or operate the embedded KrillinAI CLI, choose a supported command, or interpret its JSON, manifest, subtitle, dubbing, render, cover, speech, and voice outputs.

repo: krillinai/OpenCreator

الشعبية

نجوم GitHub
14k
الترتيب
#11252
الترخيص
Apache-2.0
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة