شعار Avatar Forge Pipeline

Avatar Forge Pipeline

المجتمع
LycheeAILab
avatar-forge-pipeline

Create a final zeroshot talking-avatar video or prepare its script from a reference video. Use when WorkBuddy should accept an uploaded video or authorized Douyin link, transcribe and rewrite spoken copy, authenticate with LycheeAILab, clone an authorized voice, synthesize target speech, build an internal motion template, fast-clone a digital human, run zeroshot inference, or resume an interrupted job.

نظرة عامة

الناشرLycheeAILab
المستودعavatar-forge
اسم المهارةavatar-forge-pipeline
النجوم
107
التفريعات
22
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها LycheeAILab على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Avatar Forge Pipeline في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/LycheeAILab/avatar-forge/tree/main/workbuddy/avatar-forge-pipeline
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LycheeAILab/avatar-forge.git /tmp/avatar-forge
mkdir -p .claude/skills
cp -r /tmp/avatar-forge/workbuddy/avatar-forge-pipeline .claude/skills/avatar-forge-pipeline
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Avatar Forge Pipeline في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Avatar Forge Pipeline تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Avatar Forge Pipeline بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Avatar Forge Pipeline for WorkBuddy

Identify the installed release

Read the adjacent VERSION file when asked which release is installed. Report that exact value instead of inferring a version from conversation history or documentation prose. This package is release 2.3.0.

Keep the final-output contract

Return only the final MP4 produced by LycheeAILab zeroshot inference unless the user explicitly requests standalone LycheeTTS audio.

  • RunningHub is allowed only for the internal motion-template stage.
  • Never return the RunningHub template, URL, task ID, payload, or file.
  • Fast clone and zeroshot inference must use the LycheeAILab digital-human platform.
  • Delete the internal template after fast clone succeeds.
  • Never resubmit a paid stage when a saved task can be resumed.

Select the requested capability

  • Person video: authorized person MP4 + finished audio, or script + reference voice / speaker_id -> fast clone -> zeroshot. Use --video instead of --image; no RunningHub calls.

  • Complete: portrait + authorized reference voice or existing LycheeTTS speaker_id + script -> internal template -> target speech -> fast clone -> zeroshot MP4.

  • Avatar only: portrait + finished WAV/MP3 -> internal template -> fast clone -> zeroshot MP4.

  • Zeroshot only: ready asset_id + player_id + finished WAV/MP3 -> zeroshot MP4.

  • Clone voice: authorized reference audio -> LycheeTTS clone through Lab; normalize requestId as speakerId when needed.

  • Voice only: existing speaker_id + script -> LycheeTTS MP3 through Lab, only when explicitly requested.

  • Reference-video script: uploaded video or authorized Douyin URL -> local video -> original transcript -> rewritten speaking script. Stop unless the user asks to continue.

Run from the Skill directory

WorkBuddy exposes the installed directory as ${CODEBUDDY_SKILL_DIR}. Use absolute paths for all user inputs and outputs.

powershell
python "${CODEBUDDY_SKILL_DIR}/scripts/run_pipeline.py" `
  --image "C:/absolute/input/person.png" `
  --voice "C:/absolute/input/reference.wav" `
  --script-file "C:/absolute/input/script.txt" `
  --output "C:/absolute/output/avatar-zeroshot.mp4"

On macOS or Linux:

bash
python3 "${CODEBUDDY_SKILL_DIR}/scripts/run_pipeline.py" \
  --image "/absolute/input/person.png" \
  --voice "/absolute/input/reference.wav" \
  --script-file "/absolute/input/script.txt" \
  --output "/absolute/output/avatar-zeroshot.mp4"

Before any paid stage, confirm that the user is authorized to use the portrait, voice, and script. If authentication is missing, run:

powershell
python "${CODEBUDDY_SKILL_DIR}/scripts/run_pipeline.py" --login-only

The browser must open https://lab.lycheeai.com.cn. The randomized 127.0.0.1 callback is local-only and returns the user's revocable Lab credential to the local process; it is not a web service address.

Before uploading a portrait, show this notice and obtain confirmation:

请确认人物脸部清晰、没有遮挡、完整露出,且人物在画面中的比例适中。模糊、遮脸、面部超出画面或人物过大/过小都会影响数字人效果。

Inspect the image when possible. Request a replacement if the face is unclear, obscured, cropped, unusably exposed, or poorly scaled.

Prepare a script from video

This section extracts spoken copy only. If the user wants to animate the person in the video, use the direct person-video workflow below, not a portrait extraction or transcription workflow.

Read references/video-recreation.md first. For a local or uploaded video:

The WorkBuddy package includes a cookie-free Douyin engine derived from the proven DouK request flow, with yt-dlp as a fallback. The installer installs requirements.txt; do not require a separate downloader project, browser cookies, Windows DPAPI, or a ChatGPT browser extension.

powershell
python "${CODEBUDDY_SKILL_DIR}/scripts/prepare_video_source.py" --video "C:/absolute/input/reference.mp4"

For an authorized Douyin URL:

powershell
python "${CODEBUDDY_SKILL_DIR}/scripts/prepare_video_source.py" `
  --douyin-url "https://v.douyin.com/..." `
  --output "C:/absolute/output/reference.mp4"

The command first uses the bundled cookie-free engine and automatically falls back to yt-dlp. Do not add browser-cookie flags or send the user to manually download merely because DPAPI or an extension is unavailable. Never ask for, read, print, copy, or save browser cookies.

Prefer an available trusted transcription tool. For optional fully local transcription:

powershell
python -m pip install -r "${CODEBUDDY_SKILL_DIR}/requirements-transcription.txt"
python "${CODEBUDDY_SKILL_DIR}/scripts/transcribe_video.py" "C:/absolute/input/reference.mp4" --output "C:/absolute/output/transcript-original.txt"

Keep transcript-original.txt unchanged and save the rewrite separately as script-rewritten.txt. Preserve facts, names, and numbers; rewrite the hook, structure, pacing, transitions, and conclusion. Never fabricate claims. Do not continue into voice or avatar generation unless the user asks.

Preserve the fixed stage order

The following template step applies only to images. Person-video mode skips it and sends the original MP4 to fast clone.

  1. Create the internal motion template from the portrait and bundled assets/template-driver.wav.
  2. Clone the authorized reference voice when needed and save the returned requestId as speakerId.
  3. Generate the formal target speech through the protected LycheeAILab LycheeTTS endpoint.
  4. Fast-clone the avatar through LycheeAILab and obtain player_id.
  5. Run LycheeAILab zeroshot inference with player_id and the formal target speech.
  6. Verify the MP4 has audio, video, and positive duration; return only that MP4.

Never use the user's script, reference voice, target audio, or LycheeTTS output to drive the template stage. Never ask for provider keys; the local client sends only the user's Lab credential.

Person-video workflow

Confirm authorization for the depicted person and target voice. Prefer a single clear, unobstructed face without cuts; do not promise exact preservation of source actions/scenes. Require a readable MP4 up to 100 MiB, 120 seconds, 1080p (long edge ≤1920 / short edge ≤1080), 25fps and FFprobe. Preserve the user's source file; never treat it as a disposable internal template or send it to RunningHub.

powershell
python "${CODEBUDDY_SKILL_DIR}/scripts/run_pipeline.py" --video "C:/absolute/person.mp4" --avatar-only --audio "C:/absolute/speech.mp3" --output "C:/absolute/result.mp4"

For generated speech replace --avatar-only --audio ... with --script-file ... --voice ... or --script-file ... --speaker-id .... Original video audio is not implicitly a voice reference. Persist assetId, clone and inference IDs, and playerId; reuse the last two asset/player values with --infer-only for future scripts. Lab limits final output to 300 seconds; direct long-video requests to https://lab.lycheeai.com.cn/ customer support, never silently trim.

Recovery rules

  • Re-run the identical command and output path to resume from .avatar-forge/<output-stem>/state.json.
  • A timeout is not a failure. Poll the saved template, clone, or inference request.
  • Do not use --reset-state unless the user explicitly authorizes a new paid workflow.
  • Do not resubmit template, fast-clone, or zeroshot stages whose task IDs are already saved.

Verify without spending

After installation, run only the local doctor unless the user explicitly authorizes a real generation:

powershell
python "${CODEBUDDY_SKILL_DIR}/scripts/doctor.py"

The doctor checks Python, requests, package files, and the fixed template-audio hash. It does not authenticate, upload media, or submit provider tasks.

Read supporting contracts when needed

  • Read references/workflow.md before changing or debugging stage order.
  • Read references/api-contracts.md for Lab request and response fields.
  • Read references/verification-gates.md before declaring a generated deliverable complete.
  • Read references/video-recreation.md before downloading, transcribing, or rewriting a reference video.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Avatar Forge Pipeline؟

Create a final zeroshot talking-avatar video or prepare its script from a reference video. Use when WorkBuddy should accept an uploaded video or authorized Douyin link, transcribe and rewrite spoken copy, authenticate with LycheeAILab, clone an authorized voice, synthesize target speech, build an internal motion template, fast-clone a digital human, run zeroshot inference, or resume an interrupted job.

لماذا تستخدم Avatar Forge Pipeline على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Avatar Forge Pipeline عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Avatar Forge Pipeline في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/LycheeAILab/avatar-forge/tree/main/workbuddy/avatar-forge-pipeline. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Avatar Forge Pipeline؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Avatar Forge Pipeline؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Avatar Forge Pipeline معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Avatar Forge Pipeline مجانية؟

نعم. نشرها LycheeAILab على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇