Logotipo de Qiaomu Codex Imagegen

Qiaomu Codex Imagegen

Comunidad
joeseesun
qiaomu-codex-imagegen

Genera o edita imágenes con la generación de imágenes integrada de Codex desde cualquier agente, mediante una herramienta MCP o una CLI normal. Para cada solicitud de imagen, primero propone al menos cuatro estilos claramente distintos (24 plantillas destiladas, 48 preajustes y 20 artistas de carteles Mondo), deja que el usuario elija, amplía el prompt, genera la imagen y comprueba el resultado. Diseña escenarios para 视频封面, 视频海报, 小红书配图, 公众号封面, X 封面, 朋友圈海报, 书籍封面, 专辑封面, 产品海报, 人物写真, 节气海报, 展览海报, PPT 页面 y 图生图. Úsalo para 生图, 配图, 海报, 封面, «给我几个风格» y «用 Codex 画一张». No se aplica a editar fotos con herramientas locales, crear gráficos o diagramas a partir de datos, hacer maquetas de interfaz, generar vídeos ni a nada que requiera un servicio de generación de imágenes basado en una clave API.

Add to TypingMind

Descripción general

Editorjoeseesun
Repositorioqiaomu-codex-imagegen
Nombre de la habilidadqiaomu-codex-imagegen
Estrellas
135
Forks
7
Archivos incluidos
75
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 75

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por joeseesun en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Qiaomu Codex Imagegen en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/joeseesun/qiaomu-codex-imagegen/tree/main
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/joeseesun/qiaomu-codex-imagegen.git \
  .claude/skills/qiaomu-codex-imagegen
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Qiaomu Codex Imagegen en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Qiaomu Codex Imagegen automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Qiaomu Codex Imagegen no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Qiaomu Codex ImageGen

Codex ships an image generator that other agents cannot call. This package relays to it (codex app-server) and adds the craft that makes the pictures usable: a library of 24 templates (48 presets) distilled from 689 reference prompts, Mondo poster techniques, scenario presets, and a rule set for facts, text and identity.

How to call it

  1. MCP tools present (suggest_directions, compose_prompt, generate_image, search_prompts, get_prompt, build_prompt, list_catalog; in Claude Code mcp__qiaomu-codex-imagegen__*): use them.
  2. No MCP: run the CLI from this skill's folder: node scripts/cli.mjs suggest|compose|generate|search|prompt|list (see --help).
  3. Neither available: tell the user to install (README). Requires the Codex CLI, logged in. Never fake an image with code.

The workflow: suggest, choose, compose, generate, check

1. Intake (no tool call yet)

Extract: topic, deliverable (what it is for), ratio, text mode, facts that must be exact, references and the role of each (identity person, product real packaging, style, layout), must-keep, must-avoid.

  • Text mode: none (no text), exact_short (only the short text you list), typeset_later (text-free base with room for the title).
  • Posters, covers, cards and slides need a typographic layer. A finished poster has a hierarchy: headline, subtitle, one or two info lines, a small tag. With only a headline, or none, the result is concept art, not a poster. So for these deliverables use exact_short and give a complete short copy set: headline plus copy as lines separated by |. Take the lines from the user's facts. If they gave none, ask, or write clearly fictional sample lines and say so; never invent real prices, dates of real events, names, statistics.
  • none fits portraits and photos (T09–T11), product macros that carry no information, and base images the user will typeset. Keep every string short and read the result: models misspell, especially long Chinese.
  • Ask only blocking questions, at most three: a missing subject, a real person's identity reference, or facts that must appear. Fill low-risk gaps with a stated default.

2. Suggest at least four divergent directions

Call suggest_directions with the topic, deliverable and any headline/text mode. It returns four or more directions with different visual mechanisms (typography-led, graphic structure, photographic, product macro, material/space, plus a Mondo artist option for poster-like work). Never mix two mechanisms into one image.

Present them to the user briefly, one numbered item each:

  • name and template id,
  • one concrete sentence of what this topic would look like in that mechanism (write it yourself from mechanism and the topic, not a copy of the lock text),
  • what you still need from them (subject, data, reference photo),
  • look at one references[].image thumbnail per direction when available, so your sentence matches the real look.

Then ask which to make: one, several, "all", or "你定". Offer to exclude these and propose more (exclude).

Skip the question when the user already fixed the style ("用 Mondo 风格", "T03", "就这个风格") or said to go ahead ("直接出", "你定"). For "你定", pick the two best-fitting directions from different families and say which and why.

3. Compose the prompt

For each chosen template direction call compose_prompt with concrete variables:

  • Map the topic to one visible silhouette, action or relation, and say how it connects to the topic. At most one main symbol and one cross-over action.
  • Colours are roles (background, primary, accent, ink), not fixed hex values. Material belongs where the preset puts it; do not overlay noise on everything.
  • No invented facts: prices, statistics, titles, names, dates, weather, quotes, QR codes, logos.
  • missing_required non-empty → ask for exactly that. weak_variables → they still hold generic defaults, fill them first.
  • Preset with structural_override → rewrite the prompt by hand: delete the base sentences the override replaces, keep no conflicting structure, then send the result as raw_prompt with the 避免:… line.
  • Typographic templates with no text: tell the user the base image only satisfies the style after the title is typeset.
  • Give copy as |-separated lines; when strings include dates or numbers, list them all so the whitelist matches exactly (or pass a full text_rule).

Mondo directions skip this step: generate_image { prompt, style: <artist>, preset: <video-cover|poster|…> }.

Full rules and the canonical agent instruction: references/design-system/agent-guide.md.

4. Generate

Default one image per chosen direction, up to four, each its own generate_image call (they can run in parallel). Use count only for variants of the same direction. Say that it takes 30–180 s and spends Codex quota. out_dir goes inside the user's project when they name one; reference_images take absolute paths (identity photo, product shot, style reference, or the image to edit).

Series: lock template, type hierarchy, colour roles, texture placement and cross-over action; change one or two of scene, narrative focus, hue, module span. Pass the first image as reference_images for the rest.

5. Check and deliver

Read each saved image and test it against acceptance_checks (the tool prints them): first-glance focus, relations that must hold, materials only where intended, exact text and identity, nothing invented. State pass or the specific failed relation.

With the local corpus pack installed, compare against the references: put the result next to one or two references[].image of the same template (suggest_directions lists them). If yours is plainly less designed (bare subject, no typographic hierarchy, no secondary layer), that is a failure too: complete the copy set or the missing layer and regenerate once.

On failure change only the sentence that carries that relation and regenerate once; do not stack "more premium" adjectives. Transparent regions in a result are flattened onto white automatically (transparent_background: true keeps them). Deliver absolute paths, the direction used, and the sidecar .json (exact prompt) next to each image. Only say "generated" for images you actually produced and looked at.

Rules

  • Each generation spends the user's quota: no test generations, count above 3 only if asked.
  • People: prefer silhouettes, back views, hands or symbols unless a face is asked for. Identity consistency needs an identity reference photo; without one say the person is fictional. Never make deceptive material with a real person's likeness.
  • Facts and numbers come only from the user; complex charts and long copy are typeset afterwards, not drawn by the model.
  • Reference corpus: search_prompts / get_prompt read the local pack of 689 reference prompts (installed on the user's machine only). Use them to study how a mechanism is described; never send a corpus prompt unchanged as the user's prompt.
  • Simple route: prompt + preset + style (66 styles, 20 Mondo artists) when the user wants a quick image without the direction step.

Output contract

Reply with: absolute path(s), pixel size, direction (template/preset or Mondo artist) per image, assumptions made, acceptance result, and where the prompt sidecar is. On failure give the tool's error and the one fix to try (Codex login, shorten the prompt, check the reference path).

Resources

Copyright (c) 向阳乔木. X https://x.com/vista8, GitHub https://github.com/joeseesun/. Template library distilled from public-area samples of https://vip.xiaoxiaodong.ai/open-source; Mondo material from qiaomu-mondo-poster-design (MIT).

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

y 15 más.

Preguntas frecuentes

¿Qué hace la habilidad de IA Qiaomu Codex Imagegen?

Genera o edita imágenes con la generación de imágenes integrada de Codex desde cualquier agente, mediante una herramienta MCP o una CLI normal. Para cada solicitud de imagen, primero propone al menos cuatro estilos claramente distintos (24 plantillas destiladas, 48 preajustes y 20 artistas de carteles Mondo), deja que el usuario elija, amplía el prompt, genera la imagen y comprueba el resultado. Diseña escenarios para 视频封面, 视频海报, 小红书配图, 公众号封面, X 封面, 朋友圈海报, 书籍封面, 专辑封面, 产品海报, 人物写真, 节气海报, 展览海报, PPT 页面 y 图生图. Úsalo para 生图, 配图, 海报, 封面, «给我几个风格» y «用 Codex 画一张». No se aplica a editar fotos con h...

¿Por qué usar Qiaomu Codex Imagegen en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Qiaomu Codex Imagegen está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Qiaomu Codex Imagegen en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/joeseesun/qiaomu-codex-imagegen/tree/main. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Qiaomu Codex Imagegen?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Qiaomu Codex Imagegen?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Qiaomu Codex Imagegen con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Qiaomu Codex Imagegen?

Sí. joeseesun la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇