一句提示词轻松接入 OpenClaw、小龙虾、Hermes 等 AI Agent | 顶级生图模型 GPT-IMAGE-2 低至 3 分钱一张
注册订阅、创建令牌、让 Agent 学习 API 文档,再发送一句提示词,就能把 GPT-IMAGE-2 生图能力接入 OpenClaw、小龙虾、Hermes、Codex、Claude Code 等主流 AI Agent。
一句提示词轻松接入openclaw小龙虾Hemes等AI Agent | 顶级生图模型GPT-IMAGE-2低至3分钱一张
本文介绍如何通过 **superaiapi.com** 订阅 GPT-IMAGE-2 生图套餐,然后用一句提示词将服务接入 OpenClaw、小龙虾、Hermes 等主流 AI Agent,实现低成本高质量生图(低至 3分钱/张)。
一、注册订阅与令牌配置
步骤1:注册并打开钱包管理
前往 https://superaiapi.com/ 注册并登录,点击右上角进入钱包管理页面。
步骤2:订阅 GPT-IMAGE-2 生图套餐
在钱包管理页面,找到额度充值右侧的「订阅套餐」按钮,选择 gpt-image-2 生图套餐 并完成支付。
步骤3:创建令牌
订阅完成后,前往令牌管理页面,点击「添加令牌」。
**注意:**令牌名称可以随意填写,但**令牌分组必须选择「gpt-image」**,否则后续无法调用生图服务。
步骤4:验证生图服务
在个人中心左侧找到「绘图」https://superaiapi.com/console/drawing入口,进入绘图工作台进行测试。能成功生成图像说明配置已生效。
二、接入 AI Agent
生图服务就绪后,只需一句提示词即可将其接入任意 AI Agent(Hermes、OpenClaw、小龙虾、Codex、Claude Code 等,原理相同)。
步骤5:让 Agent 学习 API 文档
打开 superaiapi.com 的 API 文档站点 https://superai.apifox.cn/,找到以下两篇文档并复制链接:
📄 gpt-image-2 创建异步图像任务 https://superai.apifox.cn/api-453818652
📄 gpt-image-2 创建异步图像编辑任务 https://superai.apifox.cn/api-453818653
将链接发给你的 AI Agent,并附带以下提示词:
https://superai.apifox.cn/api-453818652
https://superai.apifox.cn/api-453818653
学习这两篇文档,整理成生图的 skill。
等待 Agent 学习整理完毕后,它会提示你提供 API Key。回到 superaiapi.com 令牌管理页面,复制刚才创建的 API Key 发送给 Agent 即可。
三、文生图实战
配置完成后,前往 提示词库 https://superaiapi.com/console/drawing/gallery 挑选参考提示词。
案例:旅行海报生成
从提示词库复制以下模板,将 [country] 替换为目标国家后发送给 Agent:
Create a stylized travel poster / graphic collage for [country]. The main subject should be a stylish international tourist visiting [country], clearly presented as a traveler and not a local resident. Show the tourist wearing modern travel fashion, with details such as a camera, backpack, sunglasses, map, or suitcase, exploring the culture and atmosphere of [country]. Place the tourist in a dynamic composition surrounded by iconic architecture, streets, landscapes, landmarks, transportation, food, signage, and cultural elements associated with [country]. Blend realistic character detail with a graphic collage background made of layered paper textures, torn poster edges, sticker elements, halftone dots, editorial typography, and bold geometric shapes. Include authentic visual motifs from [country], but keep the tourist's appearance and styling globally fashionable and clearly foreign to the setting. Add a large readable headline: "LOST IN [country]". Modern, artistic, premium editorial travel poster aesthetic, balanced layout, print-worthy composition.
Agent 会自动调用你的订阅套餐完成生图:
四、图生图实战
案例:自定义主角海报
首先发送一张照片给你的 Agent,然后附上提示词:
请以我发送给你的照片为主角,使用刚才相同的提示词生成一张在东京的海报。
Agent 接收到的原始照片:
Agent 返回的图生图结果:
**总结:**整个过程只需 5 步 —— 注册订阅 → 创建令牌 → 验证服务 → 让 Agent 学习 API → 发送提示词。所有主流 AI Agent(Hermes、OpenClaw、小龙虾、Codex、Claude Code)均可通过相同方式接入,让你随时随地以极低成本调用顶级生图模型。