Logo vun Gif Maker

Gif Maker

Communautéit
Mikefluff
gif-maker

Short looping GIF utility. Modes: (A) MP4-to-GIF with 2-pass palette optimization; (B) generate 1-3s clip via Veo/Sora/Kling/Runway/fal-video then convert. Aspect presets 1:1, 9:16, 16:9, 2:1. Use when: 'gif', 'looping animation', 'short loop', 'make a gif', 'сделай гифку', 'короткая зацикленная анимация'.

Iwwersiicht

EditeurMikefluff
Repositoryskills
Skill-Nummgif-maker
Stären
26
Forks
2
Matgeliwwert Fichieren
5
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 5 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum Mikefluff op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Gif Maker an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/Mikefluff/skills/tree/main/skills/gif-maker
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mikefluff/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/gif-maker .claude/skills/gif-maker
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Gif Maker an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Gif Maker automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Gif Maker net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Distinct from reel-builder:

  • No script / music / captions — single short looping clip
  • Output format is GIF, not MP4
  • Much shorter duration (1-3s vs 8-30s)

Distinct from video-prompt:

  • Output is GIF (palette-optimized), not MP4
  • Wraps video-prompt --execute for generation mode, then converts
  • Aspect crop and frame-rate optimization built-in

This skill does NOT:

  • Generate long videos (>5s) — those are reels / shorts; use reel-builder
  • Output WebP / APNG / animated AVIF — GIF only (most universally supported format)
  • Background-removal frame-by-frame — GIF supports binary transparency but skill doesn't try
  • Combine multiple clips into one GIF — single source → single GIF

ROLE

Two modes:

Mode A — convert MP4 to GIF: Read an existing MP4 → apply optional aspect crop + trim → run 2-pass palette generation (palettegen + paletteuse) for high-quality color → save GIF.

Mode B — generate then convert: Read prompt + provider → call video provider for a short clip → save intermediate MP4 → run conversion pipeline → save GIF.

PIPELINE

Mode A — gif-maker --input <mp4>

  1. Resolve input — path to existing MP4.
  2. Detect ffmpeg — fail if absent (print install instructions).
  3. Aspect crop (optional) — center-crop to --aspect 1:1|9:16|16:9|4:5|2:1|1:2.
  4. Trim (optional) — --start <s> --duration <s>.
  5. 2-pass palette generation:
    • Pass 1: palettegen → palette.png (256 colors, stats_mode=diff)
    • Pass 2: paletteuse with bayer dithering → output GIF
  6. Save to ./generated/gif/<stem>.gif (or --output <path>).

Mode B — gif-maker --prompt "..." --model <video-slug>

  1. Resolve prompt + model (default suggestion: veo-3-1-fast for cheapest, kling-3 for best motion).
  2. Pre-flight: check provider available + cost-confirm.
  3. Generate — call video provider (poll if async).
  4. Save intermediate MP4 to ./generated/gif/_source/.
  5. Run Mode A pipeline on the intermediate.
  6. Final GIF to ./generated/gif/<slug>.gif.

MODES

Mode A — convert existing

  • gif-maker --input <path.mp4> (required)

Mode B — generate then convert

  • gif-maker --prompt "<text>" --model <video-slug> (both required)
  • --prompt-file <path> — alternative to --prompt
  • --duration <seconds> — target generation length (default depends on model, typically 3-5s; we trim down to keep GIF small)

Output controls (both modes)

  • --output <path> — explicit output GIF path
  • --aspect 1:1|9:16|16:9|4:5|2:1|1:2 — center-crop to ratio
  • --fps N — GIF frame rate (default 12; range 6-24)
  • --width N — output width in px (default by aspect: 720 for landscape, 540 for portrait/square)
  • --start <s> — trim start
  • --duration <s> — trim length (Mode A) / target generation (Mode B)
  • --yes — skip cost confirmation (Mode B)
  • --timeout <s> — poll timeout for async video gen (default 600)

REFERENCES (load on demand)

FileWhen to load
references/quality-tuning.mdWhen GIF is too large, colors look banded, or motion is choppy
references/model-picker.mdMode B — which video provider for which kind of clip (motion / talking head / abstract loop)
references/troubleshoot.mdWhen ffmpeg fails, palette breaks, source is too long, etc.

EXAMPLES

See examples/before-after.md — 3 calibration runs: convert existing reel to social GIF, generate abstract loop from prompt, convert long video to short looping GIF with trim.

CONSTRAINTS

  • GIFs should be SHORT. 1-3 seconds is the sweet spot. 5+ seconds creates huge files (>10MB), losing the "lightweight" advantage of GIF over MP4.

  • GIFs are large by nature. Even with palette optimization, expect 500KB-3MB for 2-3 second clips. For smaller files: lower --fps (8-10), lower --width (480 or smaller), shorter --duration.

  • Lossy color via 256-color palette. GIF max is 256 colors. Photoreal video → noticeable banding. Animated motion / illustrations / cartoons → great. Cue this in Mode B prompt: "flat illustration / animated / cartoon aesthetic" works better than "photoreal".

  • Aspect crop is center-crop. Source aspect 16:9, target 1:1 → loses left+right portions.

  • Looping is implicit. GIFs always loop by default (loop=0 = infinite). Source video should naturally loop or close-to-loop for best effect.

  • No audio. GIFs don't support audio. If user needs audio + animation, that's MP4 territory (use reel-builder or video-prompt --execute).

  • ffmpeg required. Install via brew install ffmpeg (Mac) / apt-get install ffmpeg (Debian). Without it, skill prints the manual ffmpeg command for the user to run.

  • Default fps 12. 12fps is the GIF sweet spot. Higher fps = bigger file. Lower fps = choppy motion. Override only when needed.

  • Cost in Mode B depends on the chosen video provider. Veo 3.1 Fast ~$0.40/sec; Kling 3 ~$0.50/sec; Sora 2 ~$1.00/sec. A 3-second clip = $1.20-$3.00.

  • No frame interpolation. This skill doesn't upsample frame rates — it samples the existing video at --fps. For smoother motion, generate at higher native fps in Mode B.

  • Never print API keys (Mode B). Mask in errors.

INVOCATION HINTS

When the user says any of:

  • "gif", "make a gif", "looping animation", "short loop"
  • "convert this MP4 to GIF", "compress this video as a GIF"
  • "сделай гифку", "короткая зацикленная анимация", "конвертируй в gif"
  • "loop of X", "2-second loop of Y for Twitter"

Mode A is the default when --input is provided. Mode B requires both --prompt and --model.

Defaults: --fps 12 --width <by-aspect>. Mode B model default suggestion: veo-3-1-fast (cheapest, fast). For best motion: kling-3. For abstract / artistic: fal-video with hosted model id.

This skill is distinct from:

  • reel-builder — full reels with script + music + captions, MP4 output
  • video-prompt — single-clip MP4 generation
  • subtitle-burner — captions on video (no animation)
  • bg-remover — image utility, not video

If the user wants to add captions to the GIF: not supported in v1. Workaround: use subtitle-burner --inline "<text>" on the intermediate MP4 (Mode B) BEFORE conversion, then GIF the result.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Gif Maker?

Short looping GIF utility. Modes: (A) MP4-to-GIF with 2-pass palette optimization; (B) generate 1-3s clip via Veo/Sora/Kling/Runway/fal-video then convert. Aspect presets 1:1, 9:16, 16:9, 2:1. Use when: 'gif', 'looping animation', 'short loop', 'make a gif', 'сделай гифку', 'короткая зацикленная анимация'.

Firwat Gif Maker op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Gif Maker besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Gif Maker an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Mikefluff/skills/tree/main/skills/gif-maker an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Gif Maker benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Gif Maker benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Gif Maker domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Gif Maker gratis?

Jo. De Skill gëtt vum Mikefluff ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇