返回顶部
G

GIFGIF搜索创建

Find, search, and create GIFs with proper optimization and accessibility.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
1,002
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

GIF

Requirements

Required for creating GIFs:

  • - ffmpeg — video to GIF conversion

Optional:

  • - gifsicle — post-optimization (reduces size 30-50%)
  • INLINECODE2 — for Giphy search API
  • INLINECODE3 — for Tenor search API

Where to Find GIFs

SiteBest forAPI
GiphyGeneral, trendingYes (key required)
Tenor
Messaging apps | Yes (key required) | | Imgur | Viral/community | Yes | | Reddit r/gifs | Niche, unique | No |

Creating GIFs with FFmpeg

Always use palettegen (without it, colors look washed out):

ffmpeg -ss 0 -t 5 -i input.mp4 \
  -filter_complex "fps=10,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" \
  output.gif

SettingValueWhy
fps8-12Higher = much larger file
scale
320-480 | 1080p GIFs are massive |
| lanczos | Always | Best scaling quality |

Post-Optimization

If gifsicle is available:
CODEBLOCK1

Reduces size 30-50% with minimal quality loss.

Video Alternative

For web, use video instead of large GIFs (80-90% smaller):

CODEBLOCK2

Accessibility

  • - WCAG 2.2.2: Loops >5s need pause control
  • prefers-reduced-motion: Show static image instead
  • Alt text: Describe the action ("Cat jumping off table")
  • Three flashes: Nothing >3 flashes/second (seizure risk)

Common Mistakes

  • - No palettegen in FFmpeg — colors look terrible
  • FPS >15 — file size explodes for no visual benefit
  • No lazy loading on web — blocks page load
  • Using huge GIF where video would work — 10x larger

API Quick Reference

Giphy search:
CODEBLOCK3

Tenor search:
CODEBLOCK4

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 gif-1776420047 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 gif-1776420047 技能

通过命令行安装

skillhub install gif-1776420047

下载

⬇ 下载 GIF v1.0.1(免费)

文件大小: 1.84 KB | 发布时间: 2026-4-17 20:20

v1.0.1 最新 2026-4-17 20:20
Declare required binary (ffmpeg), document optional deps (gifsicle, API keys)

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部