chore: publish 9mew skill endpoints as version 0.1.1

This commit is contained in:
boris
2026-10-19 02:56:40 -07:00
parent 7ac0ca0213
commit 5bcf5a854b
11 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -38,14 +38,14 @@ tools/
Default install target is `${CODEX_HOME:-$HOME/.codex}/skills`.
```bash
curl -fsSL https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main/tools/install.sh \
curl -fsSL https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main/tools/install.sh \
| bash -s -- sub2api-gpt-image-2
```
Alternative with git clone:
```bash
git clone https://git.omniclaw.store/zsb/omniclaw-skills.git
git clone https://git.9mew.com/zsb/omniclaw-skills.git
cd omniclaw-skills
./tools/install.sh sub2api-gpt-image-2
```
+4 -4
View File
@@ -5,7 +5,7 @@ This guide describes how to call `gpt-image-2` through sub2api or any OpenAI-com
Default examples use:
```text
BASE_URL=https://claude.omniclaw.store/v1
BASE_URL=https://claude.9mew.com/v1
API_KEY=<sub2api API key generated from the /keys page>
```
@@ -48,7 +48,7 @@ Official references:
## Authentication
```bash
export BASE_URL="https://claude.omniclaw.store/v1"
export BASE_URL="https://claude.9mew.com/v1"
export API_KEY="sk-..."
```
@@ -293,7 +293,7 @@ import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.API_KEY,
baseURL: process.env.BASE_URL ?? "https://claude.omniclaw.store/v1",
baseURL: process.env.BASE_URL ?? "https://claude.9mew.com/v1",
});
const result = await client.images.generate({
@@ -319,7 +319,7 @@ from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url=os.environ.get("BASE_URL", "https://claude.omniclaw.store/v1"),
base_url=os.environ.get("BASE_URL", "https://claude.9mew.com/v1"),
)
result = client.images.generate(
+4 -4
View File
@@ -3,7 +3,7 @@
本文档面向 sub2api/OpenAI-compatible 网关调用 `gpt-image-2`。示例默认使用:
```text
BASE_URL=https://claude.omniclaw.store/v1
BASE_URL=https://claude.9mew.com/v1
API_KEY=<从 /keys 页面生成的 sub2api key>
```
@@ -43,7 +43,7 @@ gpt-image-2-2026-04-21
## 认证
```bash
export BASE_URL="https://claude.omniclaw.store/v1"
export BASE_URL="https://claude.9mew.com/v1"
export API_KEY="sk-..."
```
@@ -288,7 +288,7 @@ import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.API_KEY,
baseURL: process.env.BASE_URL ?? "https://claude.omniclaw.store/v1",
baseURL: process.env.BASE_URL ?? "https://claude.9mew.com/v1",
});
const result = await client.images.generate({
@@ -314,7 +314,7 @@ from openai import OpenAI
client = OpenAI(
api_key=os.environ["API_KEY"],
base_url=os.environ.get("BASE_URL", "https://claude.omniclaw.store/v1"),
base_url=os.environ.get("BASE_URL", "https://claude.9mew.com/v1"),
)
result = client.images.generate(
Binary file not shown.
+18 -18
View File
@@ -1,24 +1,24 @@
{
"schema_version": "1.0.0",
"generated_at": "2026-04-24T08:11:41.942Z",
"generated_at": "2026-10-19T09:52:57.157Z",
"repository": {
"name": "zsb/omniclaw-skills",
"git_url": "https://git.omniclaw.store/zsb/omniclaw-skills.git",
"raw_base_url": "https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main",
"git_url": "https://git.9mew.com/zsb/omniclaw-skills.git",
"raw_base_url": "https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main",
"branch": "main"
},
"skills": [
{
"name": "sub2api-gpt-image-2",
"version": "0.1.0",
"version": "0.1.1",
"title": "Sub2API GPT Image 2",
"description": "Generate, edit, stream, and troubleshoot GPT Image 2 calls through sub2api/OpenAI-compatible image APIs.",
"path": "skills/sub2api-gpt-image-2",
"raw_url": "https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main/skills/sub2api-gpt-image-2/SKILL.md",
"package": "packages/sub2api-gpt-image-2-0.1.0.tar.gz",
"package_url": "https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main/packages/sub2api-gpt-image-2-0.1.0.tar.gz",
"sha256": "d226c0327193646879e5d9de081a9e29400efa15e194f9c5e00620bd21cceb22",
"size_bytes": 5420,
"raw_url": "https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main/skills/sub2api-gpt-image-2/SKILL.md",
"package": "packages/sub2api-gpt-image-2-0.1.1.tar.gz",
"package_url": "https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main/packages/sub2api-gpt-image-2-0.1.1.tar.gz",
"sha256": "395e8a5c218e3e12d90ea88b35661047689a0fc2fc3f402a8eda3d329ab63f54",
"size_bytes": 5068,
"api_docs": [
{
"id": "sub2api/gpt-image-2.zh",
@@ -26,14 +26,14 @@
"product": "sub2api",
"language": "zh",
"path": "apis/sub2api/gpt-image-2.zh.md",
"url": "https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main/apis/sub2api/gpt-image-2.zh.md",
"url": "https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main/apis/sub2api/gpt-image-2.zh.md",
"tags": [
"sub2api",
"gpt-image-2",
"zh"
],
"source_urls": [
"https://claude.omniclaw.store/v1",
"https://claude.9mew.com/v1",
"https://developers.openai.com/api/docs/models/gpt-image-2",
"https://developers.openai.com/api/docs/guides/image-generation",
"https://developers.openai.com/api/reference/resources/images"
@@ -45,14 +45,14 @@
"product": "sub2api",
"language": "en",
"path": "apis/sub2api/gpt-image-2.en.md",
"url": "https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main/apis/sub2api/gpt-image-2.en.md",
"url": "https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main/apis/sub2api/gpt-image-2.en.md",
"tags": [
"sub2api",
"gpt-image-2",
"en"
],
"source_urls": [
"https://claude.omniclaw.store/v1",
"https://claude.9mew.com/v1",
"https://developers.openai.com/api/docs/models/gpt-image-2",
"https://developers.openai.com/api/docs/guides/image-generation",
"https://developers.openai.com/api/reference/resources/images"
@@ -71,7 +71,7 @@
"codex",
"openai-compatible-agent"
],
"updated_at": "2026-04-24"
"updated_at": "2026-10-19"
}
],
"apis": [
@@ -81,14 +81,14 @@
"product": "sub2api",
"language": "en",
"path": "apis/sub2api/gpt-image-2.en.md",
"url": "https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main/apis/sub2api/gpt-image-2.en.md",
"url": "https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main/apis/sub2api/gpt-image-2.en.md",
"tags": [
"sub2api",
"gpt-image-2",
"en"
],
"source_urls": [
"https://claude.omniclaw.store/v1",
"https://claude.9mew.com/v1",
"https://developers.openai.com/api/docs/models/gpt-image-2",
"https://developers.openai.com/api/docs/guides/image-generation",
"https://developers.openai.com/api/reference/resources/images"
@@ -100,14 +100,14 @@
"product": "sub2api",
"language": "zh",
"path": "apis/sub2api/gpt-image-2.zh.md",
"url": "https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main/apis/sub2api/gpt-image-2.zh.md",
"url": "https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main/apis/sub2api/gpt-image-2.zh.md",
"tags": [
"sub2api",
"gpt-image-2",
"zh"
],
"source_urls": [
"https://claude.omniclaw.store/v1",
"https://claude.9mew.com/v1",
"https://developers.openai.com/api/docs/models/gpt-image-2",
"https://developers.openai.com/api/docs/guides/image-generation",
"https://developers.openai.com/api/reference/resources/images"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://release.omniclaw.store/skills/manifest.schema.json",
"$id": "https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main/registry/manifest.schema.json",
"title": "OmniClaw Skills Registry Manifest",
"type": "object",
"required": ["schema_version", "generated_at", "repository", "skills", "apis"],
+2 -2
View File
@@ -19,7 +19,7 @@ description: Use when Codex or another agent needs to call, document, troublesho
Use these defaults unless the task says otherwise:
```text
BASE_URL=https://claude.omniclaw.store/v1
BASE_URL=https://claude.9mew.com/v1
model=gpt-image-2
size=1024x1024
quality=medium
@@ -36,7 +36,7 @@ Run:
```bash
export API_KEY="sk-..."
export BASE_URL="https://claude.omniclaw.store/v1"
export BASE_URL="https://claude.9mew.com/v1"
python3 ~/.codex/skills/sub2api-gpt-image-2/scripts/generate_image.py \
--prompt "A premium product poster for an AI service" \
--size 1536x1024 \
@@ -13,7 +13,7 @@ def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
description="Generate an image with gpt-image-2 through an OpenAI-compatible /v1/images/generations endpoint."
)
parser.add_argument("--base-url", default=os.environ.get("BASE_URL", "https://claude.omniclaw.store/v1"))
parser.add_argument("--base-url", default=os.environ.get("BASE_URL", "https://claude.9mew.com/v1"))
parser.add_argument("--api-key-env", default="API_KEY")
parser.add_argument("--prompt", required=True)
parser.add_argument("--output", default="image.png")
@@ -1,11 +1,11 @@
{
"name": "sub2api-gpt-image-2",
"version": "0.1.0",
"version": "0.1.1",
"title": "Sub2API GPT Image 2",
"description": "Generate, edit, stream, and troubleshoot GPT Image 2 calls through sub2api/OpenAI-compatible image APIs.",
"tags": ["sub2api", "openai", "gpt-image-2", "images", "responses", "codex"],
"agents": ["codex", "openai-compatible-agent"],
"api_docs": ["sub2api/gpt-image-2.zh", "sub2api/gpt-image-2.en"],
"updated_at": "2026-04-24"
"updated_at": "2026-10-19"
}
+2 -2
View File
@@ -13,8 +13,8 @@ const registryDir = path.join(root, "registry");
const repository = {
name: "zsb/omniclaw-skills",
git_url: "https://git.omniclaw.store/zsb/omniclaw-skills.git",
raw_base_url: "https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main",
git_url: "https://git.9mew.com/zsb/omniclaw-skills.git",
raw_base_url: "https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main",
branch: "main",
};
+2 -2
View File
@@ -3,8 +3,8 @@ set -euo pipefail
SKILL_NAME="${1:-}"
VERSION="${2:-latest}"
REPO_URL="${OMNICLAW_SKILLS_REPO:-https://git.omniclaw.store/zsb/omniclaw-skills.git}"
RAW_BASE_URL="${OMNICLAW_SKILLS_RAW_BASE_URL:-https://git.omniclaw.store/zsb/omniclaw-skills/raw/branch/main}"
REPO_URL="${OMNICLAW_SKILLS_REPO:-https://git.9mew.com/zsb/omniclaw-skills.git}"
RAW_BASE_URL="${OMNICLAW_SKILLS_RAW_BASE_URL:-https://git.9mew.com/zsb/omniclaw-skills/raw/branch/main}"
DEST_DIR="${CODEX_HOME:-$HOME/.codex}/skills"
if [[ -z "$SKILL_NAME" ]]; then