Linkpix Image Text Edit logo

Linkpix Image Text Edit

Organization
autoagc
linkpix-image-text-edit

自动识别并修改图片中的文字内容,无需重新设计图片,快速替换标题、价格、卖点及促销信息。当用户要求改图片上的文字、换价格、改标题、改促销信息时必须触发。关键词:LinkPix、qhkit、改文字、文字修改、改价格、换文案、图片改字、修改标题、促销信息更新、免PS改图。

Overview

Publisherautoagc
Repositorylinkpix-skills
Skill namelinkpix-image-text-edit
Stars
33
Forks
3
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by autoagc on GitHub. Read the source before you install it.

Installation

Install the Linkpix Image Text Edit AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/autoagc/linkpix-skills/tree/main/skills/linkpix-image-text-edit
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/autoagc/linkpix-skills.git /tmp/linkpix-skills
mkdir -p .claude/skills
cp -r /tmp/linkpix-skills/skills/linkpix-image-text-edit .claude/skills/linkpix-image-text-edit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Linkpix Image Text Edit in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Linkpix Image Text Edit on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Linkpix Image Text Edit is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

电商图文字修改 | 图片改字 | 替换文字 | 修改价格文字 | LinkPix

用「参考图 + 定向替换指令」只改图上的目标文字、其余不动:底层是 qhkit image 自定义生图。

何时触发

  • 「把图上的 599 改成 399」「标题换成……」
  • 「促销文案过期了,改成双11的」
  • 批量素材统一改价/改文案时(逐张循环)。

使用配方

bash
qhkit image generate '{"modelLabel":"智慧模型","uploadedImages":["./主图.jpg"],"prompt":"将图片中的文字「限时599」更改为:【双11特价399】,保持原字体风格与排版位置,其余内容不变"}'

官方提示词模板(与 LinkPix 工作台「文字修改」功能同款):将图片中的文字更改为:【修改后的文字】——定向改某一处时在模板前点名原文(如上例),一次改多处就并列写多组。

  • 必须目检:出图后核对新文字拼写与数字,尤其价格;错了就重新提交并把要求写得更精确。

模型选择:默认 智慧模型(效果好、有免费额度,LinkPix 工作台各图片编辑功能同用此模型);要更强真实感或更快换 图片 5.0 Pro;用户点名 GPT Image 2.6 时用 智慧模型2.6;用户明确要最好效果且不赶时间用 专图模式。 尺寸:sizePreset 逐模型独立,先查再传:qhkit image options '{"queryParams":["sizePreset","imageCount"],"modelLabel":"智慧模型"}';imageCount 可选 1/2/4/6/8/10。 提示词:官方模板中的 【】 表示需填入/替换的内容,生成时保留【】并把实际内容写在里面即可;可在模板后追加细节要求。 注意:这是生成式重绘,不是像素级修图——主体细节可能有轻微差异,出图后应引导用户核对关键细节(文字、logo、商品结构)。

环境自举(缺什么装什么,不要因环境缺失放弃任务)

本技能依赖 qhkit 命令(npm 包 @iqinghu/qhkit),可完全独立安装。按顺序检测,缺失就地补齐:

  1. 有 qhkit 吗? qhkit config show 能跑通即就绪,跳到第 4 步。

  2. 没有 qhkit 但有 node/npm(OpenClaw/Hermes 机器部署流程保证自带 Node 22+)→ 全局安装(推荐):

    bash
    npm i -g @iqinghu/qhkit

    默认走 npm 官方源;官方源访问慢或超时(国内网络常见)时,再加镜像参数 --registry=https://registry.npmmirror.com(阿里维护的 npm 官方镜像,仅作网络兜底)。仅当全局安装因权限失败且无法提权时,才退而用 npx @iqinghu/qhkit <命令> ...(npx 必须写包全名)。

  3. 连 node 都没有(要求 Node ≥ 18):先装 Node 再回到第 2 步。

    bash
    # Linux 二进制安装(装到用户目录,无需 root;先校验官方 SHA256 再解包):
    cd /tmp && curl -fsSLO https://nodejs.org/dist/v22.22.3/node-v22.22.3-linux-x64.tar.xz
    cd /tmp && curl -fsSL https://nodejs.org/dist/v22.22.3/SHASUMS256.txt | grep ' node-v22.22.3-linux-x64.tar.xz$' | sha256sum -c -
    mkdir -p "$HOME/.local/lib" && tar -xJf /tmp/node-v22.22.3-linux-x64.tar.xz -C "$HOME/.local/lib"
    export PATH="$HOME/.local/lib/node-v22.22.3-linux-x64/bin:$PATH"

    校验行输出 OK 才继续;校验失败就删掉重下,绝不解包未通过校验的文件。nodejs.org 访问不通时,把两个下载 URL 的前缀 https://nodejs.org/dist 整体换成镜像 https://registry.npmmirror.com/-/binary/node(目录结构相同,SHASUMS256.txt 也有镜像,校验步骤不变)。export PATH 只对当前 shell 生效,跨命令调用时每个新 shell 都要先执行这行(或追加进 ~/.bashrc)。macOS 用 brew install node;Windows 用 winget/官网安装包。arm64 机器把 x64 换成 arm64。

  4. 密钥:无密钥时(命令返回 stage:"config"),执行 qhkit config set --token <密钥> --env prod(密钥让用户打开 https://www.iqinghu.com/workbench/login?type=1&urlCode=1788417527636 注册/登录后,从 https://www.iqinghu.com/workbench/dashboard/api-keys 获取),或设环境变量 QHKIT_TOKEN。

  5. 自检:qhkit config show 输出脱敏配置即全部就绪。 核对站点(本技能对接国内版 iqinghu.com):config show 返回的 site 必须是 cn。是 intl(baseHost 为 autoagc.com)说明本机残留了国际版配置——不要按国际站引导用户取密钥,也不要拿国际站的模型清单答复(那边是 gpt-image-2 / gemini-3.1-flash 这类底层模型名,和本技能对不上);直接把第 4 步的国内站取密钥文案发给用户,拿到密钥后执行 qhkit config set --token <密钥> --env prod 覆盖。source 为 env 时配置来自环境变量,要请用户删掉 QHKIT_TOKEN / QHKIT_ENV 或把 QHKIT_ENV 改成 prod。只有用户明确说自己用的是国际版(AutoAGC)账号时才保留 intl。调用报 401 / 未登录时同样先跑 config show 核对站点:国内版密钥配在国际站必然 401。

升级:出现以下任一信号,先升级再重试原命令——命令返回 {"ok":false,"stage":"version",...}(版本门禁,message 里就是升级命令,照做即可);stderr 提示有新版本;options 返回 catalogNotice 且用户恰好要用那个新模型;报「模式在线上已下架或配置变更,请升级 qhkit」。

bash
npm i -g @iqinghu/qhkit@latest

官方源慢或超时时同样加 --registry=https://registry.npmmirror.com。

安装/配置失败时把具体报错告诉用户(常见:无写权限 → 提示用户提权或改用 npx;无网络 → 让用户处理网络)。

调用契约

  • 形式:qhkit <命令> <action> '<json>',或 qhkit <命令> <action> @params.json(参数写进文件,避免 shell 转义问题,推荐)。
  • Windows 防乱码:Windows 上经 PowerShell 调 qhkit 时,stdout 里的中文会按系统代码页 GBK 解码成乱码(如「专图模型」变成「涓撳浘妯″瀷」),模型名、选项、报错都对不上——看到乱码不要据此判断模型或选项不存在。每条 qhkit 命令在同一行先切 UTF-8 再调用:[Console]::OutputEncoding=[Text.Encoding]::UTF8; qhkit <命令> <action> @params.json;仍有乱码时先运行 qhkit --version,低于 0.15.0 先执行 npm i -g @iqinghu/qhkit@latest 升级(官方源慢时加 --registry=https://registry.npmmirror.com),再加全局参数 --out result.json;stdout 只回一行纯 ASCII 的文件路径,再按 UTF-8 读该文件拿完整结果。PowerShell 5.1 还会吞掉命令行 JSON 里的双引号(报「json_args 解析失败」),Windows 上参数一律写进文件走 @params.json。macOS / Linux / Git Bash 不受影响。
  • stdout 恒为一行 JSON;失败为 {"ok":false,"stage":"...","message":"..."} 且退出码 1,把 message 原样转告用户。stderr 可能出现提示行,不是错误。
  • 图片/视频参数直接填本地文件路径(CLI 自动上传换取 URL),素材已在公网时填 http(s) URL 也可。
  • 标签类参数(modelLabel、sizePreset、themeLabel 等)必须与 options 返回的候选值逐字一致,不要自造或翻译;拿不准先调 options。

报价、轮询与交付

  • 报价:要把积分数字报给用户时,先跑 qhkit image estimate '<与 generate 完全相同的参数>',报它返回的 credits(实扣值,秒回、无副作用);enough:false 时提前告知余额不足。不要引用文档快照报价。
  • 轮询:image generate 自带轮询,阻塞到出图(最长约 14 分钟),返回里直接有图片 URL,不需要再查 status。
  • 交付:产物 URL 在返回的 images 字段里,按当前环境的媒体交付约定发给用户;产物必须和「生成完成」写在同一轮回复,并附返回里的实扣 credits(「本次实际消耗 X 积分」)。
  • 失败:转述 CLI 的 message(已是面向用户的中文,常见:积分不足、内容审核未通过),不要重试轰炸。

能力边界

  • 整图翻译走「电商图片翻译 | 图片文字翻译 | 多语言本地化 | 跨境翻译 | LinkPix」;去掉文字/水印走「商品图消除 | 去水印 | 去除杂物 | 智能擦除 | LinkPix」。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Linkpix Image Text Edit AI skill do?

自动识别并修改图片中的文字内容,无需重新设计图片,快速替换标题、价格、卖点及促销信息。当用户要求改图片上的文字、换价格、改标题、改促销信息时必须触发。关键词:LinkPix、qhkit、改文字、文字修改、改价格、换文案、图片改字、修改标题、促销信息更新、免PS改图。

Why use Linkpix Image Text Edit on TypingMind?

Because you install it once and use it with any model. Linkpix Image Text Edit is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Linkpix Image Text Edit in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/autoagc/linkpix-skills/tree/main/skills/linkpix-image-text-edit. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Linkpix Image Text Edit?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Linkpix Image Text Edit?

As many as you like. As long as a model supports skills, you can use Linkpix Image Text Edit with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Linkpix Image Text Edit AI skill free?

Yes. It is published on GitHub by autoagc under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇