3dicon 标志

3dicon

社区
samyost1
3dicon

Turn a prompt or a still image into a looping animated icon with real transparency — GPT Image / Nano Banana for the art, Seedance via OpenRouter for the motion, exact-unpremultiply matting for the alpha, animated WebP out. Use when asked to animate an app icon, make a 3D icon loop, produce a transparent animated asset, or add motion to flat icon art.

概览

发布者samyost1
代码仓库3dicon
技能名称3dicon
星标数
555
复刻数
47
附带文件
20
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 20 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 samyost1 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 3dicon AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/samyost1/3dicon/tree/main/skills/3dicon
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/samyost1/3dicon.git /tmp/3dicon
mkdir -p .claude/skills
cp -r /tmp/3dicon/skills/3dicon .claude/skills/3dicon
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 3dicon,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 3dicon。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 3dicon 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

3dicon

Generate a still, animate it into a seamless loop, key the background out properly, and encode it as an animated WebP with true soft alpha — the format expo-image, Chrome and Safari all render natively, with no Lottie conversion and no new native dependency.

Before anything

  1. pip install -r requirements.txt (or uv pip install -r requirements.txt).
  2. cp .env.example .env and fill in the keys for the backend you want.
  3. ffmpeg must be on PATH.

Check the keys are present before running — animate costs money, and a run that dies halfway has already spent it.

Always stop after the still

One still, then ask. Never generate several takes to choose from, and never run through to the animation without the user seeing the art first.

  1. Generate exactly ONE still.
  2. Show it to the user and ask plainly whether they are happy with the static design before anything else happens.
  3. Only on a yes, animate it.

Why this is a hard rule, not a nicety: the still is 13 cents and the full run is 48 cents and four minutes, and every later stage inherits the still's object, colour and weight. Animating art the user has not approved means paying twice. run therefore stops after the still on purpose.

If they are not happy, adjust the prompt and generate one replacement — not a grid of options. Variants exist behind --variants but are off by default and should stay that way unless the user asks to compare.

How to report back

Keep the chat almost empty. The user is looking at an image, not reading a report — everything they need is either in the picture or in one line under it.

After the still, say only this, then stop and wait:

Still ready. (show the image) Happy with it, or change something?

Do not explain the prompt, list what you did, or describe the image back to them. They can see it.

Then propose the motion and stop again. Do not animate on the strength of the still being approved — the motion is the second decision and it is the one that costs four minutes. Propose exactly one:

Motion — (one plain sentence: what actually happens, in physical terms) event · lively · --emit

Agree, or describe the motion you want?

One sentence and the flags. No reasoning, no alternatives, no explanation of what the flags mean.

If they describe their own motion, translate it. They will use ordinary words; your job is to turn those into the flags and one physical sentence, not to pass their phrasing through. Work out:

  • what does this object do when left alone? → --strategy
  • how much should the object itself move? → --energy
  • would the action throw something off? → --emit
  • what literally happens to the material? → --motion

Then show the translated proposal in the same format and confirm before running. If what they asked for is not supported — a camera move, something entering the frame, the object travelling away — say so in one line and offer the nearest thing that is.

animate --dry-run composes the full prompt and spends nothing. Use it if you need to check what the flags expand to; do not paste the result into the chat.

After the animation, one line of numbers and the file:

Done — flame.webp · 857 KB · 122f @ 24fps (show the contact sheet)

If verify fails, one line on what failed and one on what you propose:

Motion too weak — step 0.9, needs 1.0. Retry as event with --emit?

Never paste raw CLI output, stage-by-stage progress, the composed motion prompt, or a summary of the pipeline. If a stage succeeds, its output is the file — say the filename and move on. Save the detail for when something breaks and the user has to choose what to do next.

The pipeline

bash
python -m iconloop --out out still   --prompt "a 3D stopwatch, sage green and cream, soft matte plastic"
python -m iconloop --out out animate --motion "the stopwatch rocks gently while its hand sweeps clockwise"
python -m iconloop --out out matte
python -m iconloop --out out encode  --sweep
python -m iconloop --out out encode  --size 288 --name timer
python -m iconloop --out out verify

run is just still plus the reminder to stop and ask. The stages are separate because each one is a place to look before spending the next thing.

Choosing the motion

Before animating, answer one question: what does this object do when left alone? The answer picks the strategy, and picking it wrong is the main cause of a dull or generic result.

answerstrategywhat you get
It moves by itself — flows, burns, breathes, ticksnativecontinuous motion from its own physics
Nothing. It is inert until usedeventit performs its function once, then rests
Nothing, but part of it is loose, hinged or lightpartthe body anchors, one small piece moves
Nothing, and it has no moving parts at allsurfacelight or material travels across a fixed form

Most objects people ask for are inert. Asking an inert object to move naturally is what produces a turntable spin or an aimless bob — it has no natural motion, so the model supplies a generic one. Reach for event first unless the thing genuinely moves on its own.

Add --emit when the action would realistically throw something off — a fragment, a droplet, a spark, a glint. For an inert object that emission is often the entire reason the animation reads at icon size.

event and part also permit the object to be temporarily altered — something removed, opened, split, filled — as long as it returns to its opening state so the loop closes. Without that permission an object can only ever jiggle.

How much it moves

--energy decides whether the object itself moves, separately from what it is doing. Body motion is not the enemy — aimless body motion is. A squash, a recoil, a quick shake, an anticipation before an action: that is most of the vocabulary that makes something feel alive, and forbidding it to avoid a turntable spin throws away the whole language.

energythe object
stillholds completely rigid
calmleans, settles, breathes a little
livelysquashes, tilts, recoils, shakes, springs back
playfulanticipates, overshoots, wobbles, hops in place

Defaults follow the strategy — native and event get lively, part gets calm, surface gets still — and an explicit --energy always wins. If a result feels lifeless, raise it before changing anything else.

Only two things stay forbidden at every level: rotating as a whole, and drifting. Everything else is available.

Small and many beats large and one. A single big motion of the whole object is the obvious choice and the worst one: it risks the frame edge, it reads as generic, and it says nothing about what the object is. Motion distributed over the object's own details cannot leave the frame and is specific to that object by construction. Where it has several of the same element, they must move out of step with each other — unison is the loudest tell that something was animated rather than observed.

Everything that goes out comes back. Anything that extends, rises, spreads or is thrown off must retract, settle, be reabsorbed or fade. Stated as physics rather than as a boundary, because a boundary is something the model can cross without noticing — and a round trip is what the seamless loop needs anyway.

Animate the effect, not its cause. The commonest way a good result still comes out wrong: the model reaches for whatever would normally cause the motion, and that cause is usually the object being moved by something. The physics ends up correct and the icon ends up bobbing, because at icon size the cause is invisible and only the displacement reads. Describe the effect by itself and let gravity, heat, air, tension or the object's own forces drive it.

Then say in --motion what the specific action is, in plain physical language. Describe what happens to the material, not what the animation should feel like.

Rules that matter

Resolution is the quality lever, not the WebP quality setting. Measured on one icon: quality 50 to 90 cut colour error from 2.96 to 1.84 out of 255 and added 500KB — nothing you can see. The visible loss is the downscale from a 1440px render. Defaults are now a 512px master and a 384px output; raise --size before you touch --quality, and never above the master, which only upscales.

Encode at the source frame rate. Kling returns 24fps. Sampling down to 8fps to hit a size target is the single most common way to ruin one of these — it produces judder that looks like a bad render, bad matting, or a bad player, and is none of those. --sweep prints what each rate actually costs; choose with the numbers in front of you. Smooth, slow motion suffers worst, so the icons that most want animating are the ones a low frame rate hurts most.

The last frame is set to the first frame. That is what makes the model return to its opening pose and the loop close. It is handled for you in kling.py on both backends; do not remove it and try to cross-fade instead.

Motion runs through OpenRouter on Seedance 2.0 by default. --model picks another — Seedance 2.5, Veo 3.1, Hailuo 3 and Wan 2.7 all accept a first and last frame. Not Kling 3.0: it caps prompts at 2500 characters and the composed motion clause is longer, so it rejects the request outright. --via replicate is the fallback and stops at Kling 2.5.

The backing colour is load-bearing. The still is flattened onto a known mid-grey before it is sent. Because the colour is known exactly, the matte stage solves C = (F - (1-a)*BG)/a for the true foreground rather than estimating it — measured, that cut edge colour error from 26.9 to 15.9. Do not switch it to chroma-key green or magenta: those spill onto glossy edges.

Believe the verifier, not the contact sheet. A render can look animated in stills and be almost entirely static — it has happened, 1 moving frame out of 121. verify measures motion inside the object and exits non-zero. If it says the render is static, re-prompt; do not encode it.

Never temporally smooth alpha. It seems like the obvious anti-flicker move and it smears a ghost ring around anything that moves.

What it cannot do

See docs/limitations.md. The short version: the soft contact shadow does not survive matting, file size scales with frame count, transparent MP4 needs an x265 build most distros do not ship, and an animated WebP cannot honour reduced-motion — ship the still alongside it.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

3dicon AI 技能有什么作用?

Turn a prompt or a still image into a looping animated icon with real transparency — GPT Image / Nano Banana for the art, Seedance via OpenRouter for the motion, exact-unpremultiply matting for the alpha, animated WebP out. Use when asked to animate an app icon, make a 3D icon loop, produce a transparent animated asset, or add motion to flat icon art.

为什么在 TypingMind 中使用 3dicon?

因为您只需安装一次,就能搭配任何模型使用。3dicon 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 3dicon?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/samyost1/3dicon/tree/main/skills/3dicon。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 3dicon?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

3dicon 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 3dicon 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

3dicon AI 技能免费吗?

是的。samyost1 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇