Aller au contenu
Skillpedia
Images et icônes12k · #11582

apikey-image-gen

Ce qu’il fait

Cette skill crée ou modifie des images via Ekko Studio, à l'aide d'un fournisseur d'images défini dans le fichier de configuration de votre profil. Elle s'adresse aux personnes qui veulent des images produites sans saisir de clé API dans le chat.

Quand l’utiliser

  • ✓Quand vous voulez générer une image à partir d'une description écrite.
  • ✓Quand vous voulez modifier ou redessiner une image existante.
  • ✓Quand vous avez configuré un fournisseur d'images personnalisé et voulez que l'agent l'utilise.

Lien du skill

https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/apikey-image-gen/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/EKKOLearnAI/ekko-studio/blob/main/packages/skills/apikey-image-gen/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Générez un croquis de logo simple pour mon café en utilisant mon fournisseur d'images configuré.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent envoie votre demande au point de terminaison média de Studio, qui lit le fournisseur d'images dans les réglages de votre profil et gère les clés. Il renvoie les chemins des fichiers image enregistrés.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Studio Image Generation

Use this skill when the user wants to generate an image or edit an existing image.

Always call Ekko Studio's media endpoint. Do not call an upstream image API directly, and do not ask the user for an API key. The server reads the selected/requested profile's config.yaml and uses a configured custom provider. By default it uses the provider named fun-codex, but callers may request another configured provider by sending provider, provider_name, or custom_provider.

This skill is separate from Hermes Agent's native image_generate tool. The native tool reads image_gen from config.yaml; this Studio-managed endpoint reads the auxiliary.image_generation and auxiliary.image_edit routes below. Changing one does not change the other.

Do not use any built-in image generation tool as a fallback. If the Hermes Web UI endpoint returns 401, 403, connection failure, or any other error, stop and report the Hermes Web UI error to the user.

custom_providers:
  - name: fun-codex
    base_url: https://api.apikey.fan/v1
    api_key: ...
    model: gpt-5.5
    api_mode: codex_responses

Example with another configured provider:

custom_providers:
  - name: agnes
    base_url: https://agnes.example/v1
    api_key_env: AGNES_API_KEY
    model: agnes-image-2.1-flash

auxiliary:
  image_generation:
    provider: agnes
    model: gpt-image-2
    timeout: 600
  image_edit:
    provider: agnes
    model: gpt-5.4-mini
    timeout: 600

image_generation supplies the route for text-to-image and multipart image edits. image_edit supplies the route and primary model for image-to-image through the Responses API. If the active route has no provider, the server falls back to the other image route and then to fun-codex.

Endpoint:

POST <Hermes Web UI base URL>/api/studio/media/apikey-image-generate

Resolve the Hermes Web UI base URL in this order:

  1. HERMES_WEB_UI_URL environment variable, if set.
  2. http://127.0.0.1:${PORT}, if PORT is set.
  3. http://127.0.0.1:8648 for the Web UI single-server default.

Common local ports:

  • Development API backend: http://127.0.0.1:8647. Use this with npm run dev; do not target the Vite frontend port.
  • Web UI single-server default: http://127.0.0.1:8648.
  • Desktop app default: http://127.0.0.1:8748.
  • Custom port: set HERMES_WEB_UI_URL to the full base URL, or set PORT to use http://127.0.0.1:${PORT}.

When Hermes Web UI is running from Docker Compose, the default external URL is http://127.0.0.1:6060.

Authentication:

Send the Hermes Web UI server bearer token. This token is accepted only by Hermes Web UI media generation endpoints for agent skills; it is not a general Web UI login token.

Resolve the token in this order:

  1. AUTH_TOKEN environment variable, if set.
  2. ${HERMES_WEB_UI_HOME}/.token, if HERMES_WEB_UI_HOME is set.
  3. ${HERMES_WEBUI_STATE_DIR}/.token, if HERMES_WEBUI_STATE_DIR is set.
  4. ~/.hermes-web-ui/.token.

Profile selection:

Use the current Hermes profile from the run instructions by sending X-Hermes-Profile.

If the run instructions include [Current Hermes profile: <name>], include:

-H "X-Hermes-Profile: <name>"

Replace <name> with the exact profile name from the run instructions. Never send a placeholder value such as <name> or <current-hermes-profile>.

If no current profile is provided, omit the header and let the server fall back to the current Hermes active profile.

Modes

Text To Image

Use when there is no input image.

{
  "mode": "text",
  "prompt": "A high quality product image of a matte black mechanical keyboard on a clean desk",
  "size": "1024x1024",
  "output_path": "/absolute/path/to/output.png"
}

The server calls POST /v1/images/generations against the configured auxiliary.image_generation provider, then falls back to fun-codex. If provider, provider_name, or custom_provider is present, the server calls the requested provider's base URL instead.

Image To Image

Use when the user provides an existing image and wants the model to modify or redraw it.

{
  "mode": "image",
  "prompt": "Use this reference composition and generate a refined technology brand poster",
  "image_path": "/absolute/path/to/reference.png",
  "size": "1024x1024",
  "output_path": "/absolute/path/to/output.png"
}

The server calls POST /v1/responses against the configured auxiliary.image_edit provid

Questions fréquentes

Dois-je coller une clé API ?

Non. Le serveur lit la clé dans la configuration du profil, et l'agent ne vous la demandera pas.

Peut-elle revenir à un outil d'image intégré ?

Non. Si Studio signale une erreur, l'agent signale cette erreur au lieu d'utiliser un autre générateur.

Puis-je utiliser un autre fournisseur que celui par défaut ?

Oui. Un autre fournisseur configuré peut être demandé par son nom.

Détails

Description originale de l’auteur

Generate or edit images through Ekko Studio using the selected/requested profile's configured Studio image provider from config.yaml.

repo: EKKOLearnAI/ekko-studio

Popularité

Étoiles GitHub
12k
Position au classement
#11582
Licence
—
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires