كيف تصنع رسوم Lottie المتحركة باستخدام Claude

يصنع Claude رسوم Lottie المتحركة بطريقتين: مهارة text-to-lottie مفتوحة المصدر تكتب Lottie JSON في Claude Code أو Codex وتعرض معاينة حية له، وCreator MCP من LottieFiles يبني ملف dotLottie قابلًا للتعديل في Lottie Creator انطلاقًا من موجّه. ويضم أرشيف motif ستة منشورات من هذا النوع تعود إلى سبتمبر 2026، أربعة منها لصنّاع مستقلين.

كتابة بمساعدة الذكاء الاصطناعي: صِيغت مسودة هذا الدليل باستخدام Claude Opus 5.5، وكل معلومة فيه مرتبطة بمصادرها.

Checked 2026-11-12. A Lottie is a small vector animation file that a player draws inside an app or web page, so it scales to any size and can loop or react to state. Claude does not export one by itself, but two routes give you a real Lottie file: a skill for coding agents and an MCP connection to LottieFiles' editor. motif's archive has six posts made the second way, all from September 2026, and none yet from the first.

أي المسارين تختار؟

Routes to a Lottie file with Claude, checked 2026-11-12
RouteWhat you getRuns inLicence or planHow to start
text-to-lottie by Diffusion StudioLottie JSON scenes, shown in a bundled player that updates while the agent editsClaude Code, Codex or another agent that supports skillsMIT, free (5,708 stars, last pushed 2026-07-25)`npx skills add diffusionstudio/lottie`, then ask for an animation using `text-to-lottie`
Lottie Creator MCP by LottieFilesA dotLottie file built as editable layers in Lottie Creator; since 2026-11-10 also an MP4 (H.264) or WebM with alpha through a queued renderClaude, Cursor, Codex or another MCP clientNeeds a LottieFiles sign-in; the announcements state no plan requirementClaude Code: `claude mcp add --transport http creator-mcp https://creator-mcp.lottiefiles.com/mcp`, then sign in with LottieFiles
Claude Motion or a code routeAn MP4 video, not a LottieClaude app, Claude CodeSee that guideUse this when the result is for social video, not for an app

كيف تعمل text-to-lottie؟

تثبّت المهارة، ثم تصف الرسم المتحرك. يجهّز الوكيل مساحة عمل فيها مشغّل يكون فيه كل رسم متحرك مشهدًا مستقلًا، يُحفظ ملفًا باسم `lottie.json` في مجلده الخاص داخل `public/projects/`، ويُعاد تحميل المشغّل كلما عدّل الوكيل، فتستطيع التنقل عبر الخط الزمني وطلب التغييرات (README لـtext-to-lottie). ويطلب المثال الوارد في README نفسه من Claude أن يكشف مسار SVG في اتجاهه الطبيعي بتدرّج لوني وتوقيت ease-in-out على خلفية شفافة. ويمكن استخدام النتيجة مباشرة بصيغة Lottie JSON، أو استيرادها إلى After Effects لتحسينها.

كيف تكتب موجّهًا يعطيك ملف Lottie جيدًا؟

  1. امنح النموذج مادة ملموسة يستند إليها: أعطه ملفات SVG أو بيانات حقيقية أو لقطات شاشة. يقول ملف README إن النتائج تكون أفضل بكثير حين ينطلق الرسم المتحرك من عناصر ملموسة.
  2. استخدم مصطلحات التصميم الحركي مثل ease-in وease-out وease-in-out لضبط التوقيت.
  3. صِف حركات الكاميرا: الاقتراب، والتحريك الأفقي، والتكبير، والحركة التي تحاكي هياكل التحريك (rig).
  4. اطلب عناصر التحكم التي تحتاجها. فالمخرَج لا يتيح عادةً افتراضيًا إلا عنصر تحكم في لون الخلفية.
  5. حدّد معدل الإطارات والعدد الإجمالي للإطارات حين تكون المدة مهمة.

هذه النصائح الخمس تلخيص لـدليل الموجّهات في text-to-lottie. والعادات نفسها تفيد مع Lottie Creator، إذ تقول LottieFiles إن MCP يستطيع إنشاء الطبقات وضبط التوقيت وتوليد نسخ متنوعة وإجراء فحوص إمكانية الوصول انطلاقًا من موجّه واحد (LottieFiles).

Not every route uses Claude. LottieFiles also launched Lottie AI on 9 November 2026, a standalone text-to-Lottie generator with its own Turbo and Quality modes; its announcement does not mention Claude.

كيف تشغّل الملف في تطبيق أو موقع؟

على الويب، حمّل ملف JSON باستخدام `lottie.loadAnimation` من lottie-web مع عارض SVG؛ وفي React Native، اعرضه عبر وحدة Skottie في React Native Skia؛ وعلى iOS وAndroid، استخدم `LottieAnimationView` من مكتبات Lottie. ويعرض README الخاص بـtext-to-lottie كل طريقة من هذه، إضافة إلى Flutter (README). أما ملفات dotLottie، فمشغّل dotlottie-web من LottieFiles مدرج في مكتبات motif.

ماذا صنع الناس باستخدام Claude وLottie؟

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

Can Claude make Lottie animations?

Yes, through a skill or an MCP. The text-to-lottie skill writes Lottie JSON in Claude Code or Codex (text-to-lottie), and the Lottie Creator MCP lets Claude build a dotLottie in LottieFiles' editor (LottieFiles).

Is text-to-lottie free?

Yes. The repository is MIT-licensed and installs with `npx skills add diffusionstudio/lottie`; it needs no paid API (text-to-lottie). It runs in your coding agent, so your Claude plan limits still apply.

Can I edit the Lottie afterwards?

Yes. text-to-lottie output can be imported into After Effects, and files made through the Lottie Creator MCP are built from editable layers in Lottie Creator (text-to-lottie, LottieFiles).

Should I use Lottie or MP4?

Use Lottie for animation inside a product (loaders, icons, onboarding, empty states) and MP4 for posting a video. Claude Motion exports MP4 only, on Team and Enterprise plans; the Lottie Creator MCP can export both a Lottie and, since 10 November 2026, an MP4 or WebM.

Is the Lottie Creator MCP local or remote?

Remote since 10 November 2026. LottieFiles now lists a hosted server at creator-mcp.lottiefiles.com/mcp that you add to Claude Code with `claude mcp add --transport http` and sign in to; its docs no longer describe the local npx package. LottieFiles' earlier announcement described a local bridge that showed "Local MCP bridge connected".

المصادر

  1. ملف README لـdiffusionstudio/lottie (text-to-lottie)
  2. LottieFiles: Your AI can now control Lottie Creator (2026-04-15)
  3. LottieFiles/dotlottie-web
  4. airbnb/lottie-web
  5. مركز مساعدة Claude: Get started with Claude Motion
  6. @reallynattu على X (2026-09-22)
  7. LottieFiles: Creator MCP, the motion engine for AI agents (2026-11-10)
  8. LottieFiles: What is Lottie AI (2026-11-09)
  9. LottieFiles docs: MCP
كل الأدلة