Logo di 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.

Panoramica

Autoreninemouth
Repositorysellerpilot-product-image-industrial
Nome della skillimage-proxy
Stelle
43
Fork
5
File inclusi
10
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 10 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da ninemouth su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Image Proxy in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/ninemouth/sellerpilot-product-image-industrial/tree/main/standalone/image-proxy
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Image Proxy in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Image Proxy non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Image Proxy non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Image Proxy su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Image Proxy è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Image Proxy in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/ninemouth/sellerpilot-product-image-industrial/tree/main/standalone/image-proxy. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Image Proxy?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Image Proxy?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Image Proxy: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Image Proxy è gratuita?

Sì. È pubblicata su GitHub da ninemouth con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇