Logo von Image Proxy

Image Proxy

Community
ninemouth
image-proxy

Generate or edit raster images through an explicitly configured OpenAI-compatible third-party image provider, including ThinkAI by default, with dry-run request snapshots, source-image and mask uploads, progress files, secure local key configuration, and downloaded output verification. Use when the user asks to use a third-party image proxy, ThinkAI, an OpenAI-compatible image endpoint, or the image-proxy skill; do not use it for native Codex image generation or a full ecommerce production workflow.

Übersicht

Herausgeberninemouth
Repositorysellerpilot-product-image-industrial
Skill-Nameimage-proxy
Sterne
43
Forks
5
Mitgelieferte Dateien
10
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 10 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von ninemouth auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Image Proxy in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/ninemouth/sellerpilot-product-image-industrial/tree/main/standalone/image-proxy
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ninemouth/sellerpilot-product-image-industrial.git /tmp/sellerpilot-product-image-industrial
mkdir -p .claude/skills
cp -r /tmp/sellerpilot-product-image-industrial/standalone/image-proxy .claude/skills/image-proxy
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Image Proxy in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Image Proxy automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Image Proxy nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Image Proxy

Use this skill as an independent provider execution layer. It sends a finalized prompt to one configured OpenAI-compatible image endpoint, optionally uploads source/reference images and a PNG mask for edits, downloads the returned image assets, and writes request/response/summary evidence in the requested output directory.

Codex chat commands

Users operate this Skill from Codex chat. Do not require them to open Terminal or paste an API Key into the conversation.

text
$image-proxy status
$image-proxy dry-run --prompt "<final prompt>" --size 2k --quality hd
$image-proxy generate --prompt "<final prompt>" --size 2k --quality hd
$image-proxy edit --prompt "<final prompt>" --image <attached-or-local-image> --mask <optional-png-mask>
$image-proxy sync
  • status resolves only non-secret local provider state.
  • dry-run, generate, and edit are Codex intents. Codex runs the deterministic scripts internally and returns the output/evidence; the user should not be sent to a shell.
  • A Web-managed installation automatically pulls and applies the current user's sellerpilot-image configuration before every real third-party request. If the shared device session is missing, the tool opens the Marqel Web approval flow, waits for the current user to approve it, and resumes the same configuration pull automatically. Dry-runs stay network-free and never trigger configuration delivery.
  • sync is a troubleshooting/recovery intent only. Do not make the user copy or paste this command as part of initial setup or normal use.

Scope and boundaries

  • Use only when the user explicitly selects this skill or a third-party image provider.
  • Use the configured endpoint and model exactly. The default profile is ThinkAI at https://www.thinkai.tv/v1 with gpt-image-2; this is a default, not a claim that the provider is available or that the API key is configured.
  • Never silently fall back to native Codex image generation, another provider, or a guessed endpoint.
  • Never print, echo, commit, or include an API key in prompts, request snapshots, progress files, summaries, or diagnostics. Prefer environment variables or masked local entry through the interactive configurator.
  • A Marqel-managed installation may store the user-scoped delivered key in the dedicated local provider file protected by mode 600 or a Windows user-only ACL. Never copy that key into another config, environment file, command, or report.
  • This skill does not perform product fact extraction, platform research, buyer-facing copy strategy, identity/physics/marketing QA, tldraw review, publishing, uploading, or platform operations. It is intentionally independent from any ecommerce production skill.
  • A successful provider response proves only that the provider returned decodable image bytes. It does not prove product identity, visual quality, platform compliance, or commercial performance.

Execution workflow

  1. Treat the user’s prompt as the provider request. If the prompt contains unsupported product facts, safety claims, or exact text that must be reliable, stop and resolve those facts before calling the provider.

  2. For a managed package, every non-dry-run request invokes scripts/sync-marqel-provider.mjs automatically before provider transport. The script discovers marqel-control-center-auth beside this Skill in the same user-level Skill root, starts Web device approval automatically when no reusable session exists, and retries the pull after approval. The user must only review and approve the device in Web; never ask them to copy a Base URL, API Key, Token, config JSON, device code, or sync command. Use scripts/sync-marqel-provider.mjs --force only when the user explicitly asks for troubleshooting or recovery. Missing/revoked authorization, inactive membership, incomplete Web configuration, or a failed refresh must stop before contacting the Provider; never use a stale Web-managed key after sync failure.

  3. Resolve the local provider status without exposing secrets:

    bash
    node scripts/resolve-provider.mjs

    status: ready means a key is available to this local process. configuration_required means configuration is needed; it is not permission to switch providers. The managed installer checks this status independently from the SellerPilot main Skill; one ready consumer is not evidence that the other received the same delivery.

  4. For a standalone, non-Marqel installation only, configure the provider once when needed. Keep the user inside Codex: interpret $image-proxy configure by opening the masked OS dialog through the interactive configurator. Environment variables remain an internal CI option, not a user-facing setup requirement:

    bash
    export THINKAI_IMAGE_API_KEY="<key>"

    For a persistent local configuration, pass the key over stdin or use the masked OS dialog. The config file is stored under the Codex home in the standalone skill namespace and is written with mode 600:

    bash
    printf '%s\n' '<key>' | node scripts/configure-image-provider.mjs --api-key-stdin
    node scripts/configure-image-provider-interactive.mjs

    Do not put a real key in shell history, chat, or a committed file. Use --base-url, --model, --name, and --api-key-env only for an explicitly selected compatible provider.

  5. Run a dry-run before the first real request or whenever the endpoint/model/size changes. A dry-run writes request.json and summary.json and never calls the network:

    bash
    node scripts/openai-compatible-image-runtime.mjs \
      --prompt "<final prompt>" \
      --output-dir /abs/output \
      --size 2k \
      --quality hd \
      --dry-run
  6. Execute generation or edit only after the dry-run request is correct:

    bash
    node scripts/openai-compatible-image-runtime.mjs \
      --prompt "<final prompt>" \
      --output-dir /abs/output \
      --size 2k \
      --quality hd \
      --progress-file /abs/output/progress.json

    Add --image /abs/source.png once per source/reference image to use /images/edits; add --mask /abs/mask.png for a PNG edit mask. Use --n N for multiple provider outputs. The runtime accepts 1k, 2k, 4k, or an explicit WIDTHxHEIGHT size.

  7. Read summary.json, check that status is generated, and verify the listed image files exist and are decodable. Keep request.json, response.json, summary.json, and progress.json with the run when an audit trail is useful. If a request fails, preserve the output directory and retry only after changing the provider-visible evidence or fixing the reported configuration/transport issue.

Provider configuration and paths

Use the path helper before giving installation or configuration instructions on a different operating system:

bash
node scripts/codex-path-info.mjs

The default configuration location is:

  • The installed Skill uses the single user-level Skill root selected by the host/managed installer (current default .agents/skills; an existing legacy managed root remains supported). Auth is always discovered as a sibling in that same root; never install or synchronize into two roots.
  • macOS/Linux provider config: $CODEX_HOME/image-proxy/image-provider.json; when CODEX_HOME is unset, Codex uses ~/.codex.
  • Windows provider config: %CODEX_HOME%\image-proxy\image-provider.json; when unset, Codex uses %USERPROFILE%\.codex.

The runtime also accepts --config /abs/config.json. A config may be either the standalone shape written by the configurator:

json
{
  "provider_mode": "third_party_proxy",
  "third_party": {
    "enabled": true,
    "name": "ThinkAI",
    "base_url": "https://www.thinkai.tv/v1",
    "model": "gpt-image-2",
    "api_key_env": "THINKAI_IMAGE_API_KEY"
  }
}

or a flat object with base_url, model, api_key_env, and optional api_key. Keep api_key out of version control; an environment variable is preferred.

For a Web-managed package, scripts/sync-marqel-provider.mjs maps only the authenticated user's effective sellerpilot-image delivery into this same file. It records non-secret _marqel delivery revision/digest metadata, acknowledges applied only after an atomic secure write, and replaces a removed/incomplete managed delivery with a disabled keyless record. The upstream API Key never enters the Skill package, Web page/DOM, chat, logs, or installation report.

Resources

  • Read references/provider-contract.md when adapting the endpoint, debugging a response shape, or deciding whether a source image should be sent as an edit input.
  • Run npm run verify from this skill directory for a network-free smoke test. It checks frontmatter, scripts, generation/edit dry-runs, secure configuration plumbing, custom-provider resolution, and masked configuration behavior.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Image Proxy?

Generate or edit raster images through an explicitly configured OpenAI-compatible third-party image provider, including ThinkAI by default, with dry-run request snapshots, source-image and mask uploads, progress files, secure local key configuration, and downloaded output verification. Use when the user asks to use a third-party image proxy, ThinkAI, an OpenAI-compatible image endpoint, or the image-proxy skill; do not use it for native Codex image generation or a full ecommerce production workflow.

Warum Image Proxy in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Image Proxy besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Image Proxy in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/ninemouth/sellerpilot-product-image-industrial/tree/main/standalone/image-proxy ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Image Proxy nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Image Proxy verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Image Proxy damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Image Proxy kostenlos?

Ja. Der Skill wird von ninemouth auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇