Agent skill

Krea2 Txt2img

by artokun in artokun/comfyui-mcp

Build Krea 2 Turbo txt2img workflows with the native krea2 CLIPLoader, Qwen3-VL encoder, Qwen image VAE, 8-step turbo settings, and Ideogram-style JSON prompting

MITAuto-check passedAI & LLM Engineering

Install Krea2 Txt2img

skills CLI
$ npx skills add artokun/comfyui-mcp --skill krea2-txt2img -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install artokun/comfyui-mcp krea2-txt2img --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/artokun/comfyui-mcp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/skills/krea2-txt2img .claude/skills/krea2-txt2img && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
krea2-txt2img
GitHub stars
803
Token cost
~1.9k tokens
SKILL.md length
905 words
Files
1
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

Build Krea 2 Turbo txt2img workflows with the native krea2 CLIPLoader, Qwen3-VL encoder, Qwen image VAE, 8-step turbo settings, and Ideogram-style JSON prompting

  • Works in 2 steps: Krea 2 Raw is the base checkpoint before… → Krea 2 Turbo is post-trained and…
  • Tasks that involve Diffusion and image models
  • SKILL.md covers Overview, Three packs (V2 — no group…, Models (all from the… and Node stack, plus 7 more sections
  • Reaches download.pytorch.org

What it does

Krea2 Txt2img is an agent skill from artokun/comfyui-mcp. Build Krea 2 Turbo txt2img workflows with the native krea2 CLIPLoader, Qwen3-VL encoder, Qwen image VAE, 8-step turbo settings, and Ideogram-style JSON prompting

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Diffusion and image models. It works with Qwen. The repository describes itself as: Local-first, agent-native control plane for ComfyUI — MCP server + sidebar agent that generates images, video & audio, authors and runs workflows, and edits your live graph in… The licence is MIT.

When your agent uses it

  • Tasks that involve Diffusion and image models

Example prompts

  • “/krea2-txt2img”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Krea 2 Raw is the base checkpoint before extra post-training. For
  2. Krea 2 Turbo is post-trained and distilled; it generates in **~8 steps

What it can do on your machine

Read from SKILL.md and the folder at commit 6ad6fc0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • download.pytorch.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Krea2 Txt2img loads about 1.9k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 905 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from artokun/comfyui-mcp at commit 6ad6fc0, republished under its MIT licence (© artokun). 905 words, ~1,868 tokens.

Download SKILL.mdSave it as .claude/skills/krea2-txt2img/SKILL.md (or your agent's skills folder).
name
krea2-txt2img
description
Build Krea 2 Turbo txt2img workflows with the native krea2 CLIPLoader, Qwen3-VL encoder, Qwen image VAE, 8-step turbo settings, and Ideogram-style JSON prompting
globs
**/*.json

Krea 2 Text-to-Image Workflows

Overview

Krea 2 is a 12B-parameter Diffusion Transformer from Krea.ai (released June 2026, weights open-sourced under the Krea 2 Community License, free commercial use up to 50 seats). Two variants:

  1. Krea 2 Raw is the base checkpoint before extra post-training. For fine-tuning / maximum fidelity, more steps.
  2. Krea 2 Turbo is post-trained and distilled; it generates in ~8 steps at cfg 1. This is what the krea2 txt2img packs ship.

Three packs (V2 — no group toggles)

Sliced from the KREA2 ULTRA V2 monolith into standalone single-pipeline packs. Pick by how you prompt and what you want:

  • krea2-txt2img-manual: plain prose prompt (the MANUAL PROMPT node).
  • krea2-txt2img-json: Ideogram-4-style structured JSON / area prompting (Ideogram4PromptBuilderKJ).
  • krea2-combo: two-pass detail boost, a first pass then a low-denoise refine (denoise 0.3), with the krea2 turbo LoRA @0.2 on both passes plus the optional IdeoKrea LoRA. JSON/Ideogram-style prompting; saves both passes to compare.

Each pack's one prompt source is active (no prompt-mode bypass to flip). ImageSharpenKJ runs before SaveImage. V2 adds the Krea2T-Enhancer MODEL detail-boost patch (ships active) and drops v1's ConditioningKrea2Rebalance. RBG_Smart_Seed_Variance ships bypassed (optional, see below).

Krea 2 has native ComfyUI support (comfy/text_encoders/krea2.py, ComfyUI ≥ v0.26.0). The CLIPLoader uses type=krea2, with a Qwen3-VL 4B text encoder and the Qwen image VAE. The Qwen3-VL encoder drives strong prompt adherence and structured-JSON prompts.

Models (all from the Aitrepreneur/FLX mirror; official: krea/Krea-2-Turbo)

SlotFileNotes
diffusion_models/krea2_turbo_fp8.safetensors12B Turbo, fp8 — RTX 4000/3000/2000
diffusion_models/krea2_turbo_mxfp8.safetensorsRTX 5000 (Blackwell) native fp8
text_encoders/qwen3vl_4b_fp8_scaled.safetensorsQwen3-VL 4B encoder
vae/qwen_image_vae.safetensorsQwen image VAE
loras/krea2_turbo_lora_rank_64_bf16.safetensorsturbo LoRA — combo only, @0.2 both passes
loras/IdeoKrea-test.safetensorsOPTIONAL Ideogram-style LoRA (Aitrepreneur/IdeoKrea) — combo add-in

Node stack

  • core: UNETLoader (krea2_turbo) → CLIPLoader (type=krea2) → VAELoader (qwen_image_vae), wired via KJNodes SetNode/GetNode buses into a subgraph (CLIPTextEncode → KSampler → VAEDecode). An rgthree Any Switch sits in front of the encoder; in each pack only that pack's prompt source is wired to it (manual node in -manual, JSON builder in -json).
  • rgthree-comfy: Power Lora Loader, Any Switch, Label, Fast Groups.
  • ComfyUI-KJNodes: Set/Get, Ideogram4PromptBuilderKJ, ImageSharpenKJ, INTConstant.
  • ComfyUI-Krea2T-Enhancer (capitan01R): Krea2T-Enhancer, the V2 MODEL→MODEL detail-boost patch, wired in the model path (PowerLora → Krea2T-Enhancer → sampler). Ships active; bypass to compare against the un-boosted result.
  • ComfyUI-RBG-SmartSeedVariance: RBG_Smart_Seed_Variance, optional, ships bypassed in the positive-conditioning loop.
  • ComfyUI_essentials (cubiq): ImageResize+, combo only (the two-pass VAE-roundtrip resize).

Settings that matter

  • steps 8, cfg 1. Turbo is distilled; more steps or higher cfg over-cooks it.
  • sampler er_sde, scheduler simple are the verified defaults.
  • 1920×1080 default; Krea 2 handles a wide aspect range.
  • The prompt source is fixed per pack (manual node vs JSON builder). There is no prompt-mode bypass to flip.

V2 detail boost (Krea2T-Enhancer) + combo

  • Krea2T-Enhancer is a MODEL→MODEL patch (the V2 "massive detail boost"). It sits inline in the model path and ships active in all three packs. Widgets are [on, strength, …]; bypass it (or toggle on) to A/B the boost.
  • krea2-combo is the full demonstration of the boost, a two-pass refine: FIRST PASS (8 steps, er_sde, denoise 1) → VAE roundtrip → SECOND PASS (4 steps, euler, denoise 0.3), with the turbo LoRA @0.2 on both passes. It SAVES BOTH passes so you can see the boost. The IdeoKrea LoRA is downloaded but NOT wired by default. Drop it into the Power Lora Loader's empty slot (start ~0.5 to 1.0; it's a test LoRA) for the turbo + IdeoKrea Ideogram-style combo.
Show full SKILL.md (354 more words)Show less

Optional post-proc (ships bypassed — un-bypass to use)

All packs leave RBG_Smart_Seed_Variance in the positive-conditioning loop bypassed (passthrough). Un-bypass on the live canvas with panel_set_node_mode (or in the UI) for controlled variations of the same prompt without changing the composition. Set its seed mode to randomize and tune the variance mode (e.g. 🌿 Balanced) / strength widgets. Leave bypassed for a deterministic result.

JSON / area prompting

Like Ideogram 4, Krea 2's Qwen3-VL encoder reads structured prompts (per-region desc + bounding boxes + palettes). For structured prompting use the krea2-txt2img-json pack; its Ideogram4PromptBuilderKJ drives the encoder directly (no bypass to flip). After the render, VERIFY the image matches the JSON you set (view it) BEFORE continuing; if it doesn't, a field is probably stale. Fix and rerun. Gotchas learned the hard way:

  • Set ALL the builder fields, not only the prompt/boxes: background, technical, style, lighting (widgets 3/5/6/7). Leaving stale values leaks content (a leftover celebrity portrait bled into a tea still-life).
  • Keep palettes minimal or empty. A top-level palette with many colors can render as a literal color-swatch strip down the edge of the image. Empty palette: [] (top-level and per-box) gives a clean full-frame result.
  • Add "no people / single full-frame photograph" to style for object/landscape scenes. Krea 2 follows it well.

Verification status

  • v1 (-manual / -json core graph): render-verified, crisp 1920×1080 / 8 steps / cfg 1 / er_sde (snow-leopard prose + tea-still-life JSON with each object in its bbox).
  • V2 additions (the Krea2T-Enhancer active patch + the krea2-combo two-pass) are statically validated (clean slice + structural lint) but not yet live-rendered. They need the ComfyUI-Krea2T-Enhancer node, the turbo/IdeoKrea LoRAs installed, and a healthy ComfyUI. Re-run scripts/verify-render.mjs once those are present.
  • Note: the ImageSharpenKJ (rcas 0.55) before SaveImage is active. Bypassing it drops the image link (a converter gap: bypass-passthrough doesn't cross a subgraph IMAGE output), and the contrast-adaptive sharpen suits Krea 2's crisp look anyway.

Gotchas

  • CLIPLoader: 'krea2' not in list → ComfyUI too old; update to ≥ v0.26.0.
  • Torch not compiled with CUDA enabled → reinstall torch for your CUDA tag (--index-url https://download.pytorch.org/whl/cu128).

Sources

  • Official: none found.
  • Empirical: sampler values, wiring, and prompt notes from working graphs in packs/ and observed renders; not a vendor prompting guide.

© artokun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugin/skills/krea2-txt2img of artokun/comfyui-mcp.

Open the folder on GitHubat commit 6ad6fc0

Compare with similar skills

Krea2 Txt2img next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Krea2 Txt2img compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Krea2 Txt2img this skillartokun/comfyui-mcp803—~1.9kAutomated safety check: PassMIT
LoRA Space Builderhuggingface/skills11k2 repos~8.4kAutomated safety check: PassApache-2.0
Continuity Renderroadmaus/ComfyUI-Continuity133—~1.7kAutomated safety check: PassMIT
Flux2 Lora TrainingAnastasiyaW/codex-claude-code-config154—~4.5kAutomated safety check: PassMIT
Diffusion EngineeringAnastasiyaW/codex-claude-code-config154—~1.2kAutomated safety check: PassMIT
Character Refseternityspring/shuohao-skills4.3k—~1.7kAutomated safety check: WarnApache-2.0

Similar skills

  • LoRA Space Builder

    huggingface/skills

    Official

    Builds and publishes a Gradio demo on Hugging Face Spaces for a LoRA, with the pipeline, UI and settings chosen to match that LoRA's task and model card.

    11k GitHub starsUsed in 2 repos~8.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Continuity Render

    roadmaus/ComfyUI-Continuity

    Render videos and pictures on a ComfyUI server that has the Continuity node pack (MiniMax H3, LTX 2.5, Krea 2, Ideogram 4, Qwen Image, Flux 2 Klein) with one command, the render.py bundled in this…

    133 GitHub stars~1.7k tokensUpdated 3 days ago
    AI & LLM EngineeringAuto-check passed
  • Flux2 Lora Training

    AnastasiyaW/codex-claude-code-config

    Plan or review LoRA and edit-training work specifically for FLUX.2 Klein or Qwen-Image-Edit, including paired datasets, trainer-version contracts, and held-out fidelity checks.

    154 GitHub stars~4.5k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Diffusion Engineering

    AnastasiyaW/codex-claude-code-config

    Практическая инженерия диффузионных моделей: архитектуры, обучение, инференс, оптимизация памяти.

    154 GitHub stars~1.2k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Character Refs

    eternityspring/shuohao-skills

    给任何故事里的角色真出参考图(小说改编、自己原创的故事、单独设计一个角色都行,不需要小说原文): 一段话描述角色,拆成分层字段、补全后确认, 先出一张正面全身锚点,其余视图(大头照、90° 侧面、背面、细节、45° 大头照)都只参考这张锚点, 按需分档出图。每张图带标识、可单独重出,重出后自动标出哪些图过期。

    4.3k GitHub stars~1.7k tokensUpdated 3 days ago
    Media & CreativeAuto-check: warnings
  • Image Gen

    open-octo/octo-agent

    Acquire images as files — generate them with an AI image model (14 providers: OpenAI/gpt-image, Gemini, Qwen, Zhipu, Volcengine, Stability, FLUX, Ideogram, MiniMax, and more), search openly-licensed…

    125 GitHub stars~3.1k tokensUpdated yesterday
    Media & CreativeAuto-check: notes

More from artokun/comfyui-mcp

All 42 skills in this repo
  • AI Toolkit Trainer

    artokun/comfyui-mcp

    Train custom LoRAs with ostris AI-Toolkit. An agent skill from artokun/comfyui-mcp.

    803 GitHub stars~2.7k tokensUpdated 6 days ago
    Auto-check passed
  • Anima Base

    artokun/comfyui-mcp

    Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT).

    803 GitHub stars~4k tokensUpdated 6 days ago
    Auto-check passed
  • Civitai

    artokun/comfyui-mcp

    Discover Civitai models with the BUILT-IN downloadmodel action:"searchcivitai" and install/generate them locally.

    803 GitHub stars~1.1k tokensUpdated 6 days ago
    Auto-check passed
  • Color Correction

    artokun/comfyui-mcp

    Diagnose and fix video/image color OBJECTIVELY with the getimage (action:"analyzecolor") tool (scopes/stats such as black/white points, contrast, saturation, clipping, cast) instead of eyeballing a…

    803 GitHub stars~2.4k tokensUpdated 6 days ago
    Auto-check passed
  • Comfyui Frontend Extensions

    artokun/comfyui-mcp

    Authoring ComfyUI v2 frontend extensions with @comfyorg/extension-api, covering defineNode/defineExtension/defineWidget, shell UI (sidebar tabs, commands, hotkeys), typed events, and handles.

    803 GitHub stars~5.4k tokensUpdated 6 days ago
    Auto-check passed
  • Comfyui Launch Flags

    artokun/comfyui-mcp

    Pick the right ComfyUI startup flags for VRAM, attention, caching, and speed.

    803 GitHub stars~3.1k tokensUpdated 6 days ago
    Auto-check passed

Works with

Questions about Krea2 Txt2img

What does Krea2 Txt2img do?

Build Krea 2 Turbo txt2img workflows with the native krea2 CLIPLoader, Qwen3-VL encoder, Qwen image VAE, 8-step turbo settings, and Ideogram-style JSON prompting. Krea2 Txt2img is an agent skill from artokun/comfyui-mcp.

When should I use Krea2 Txt2img?

Krea2 Txt2img fits situations like: tasks that involve Diffusion and image models.

How do I install Krea2 Txt2img in Claude Code?

Run `npx skills add artokun/comfyui-mcp --skill krea2-txt2img -a claude-code`. Or copy the skill folder (plugin/skills/krea2-txt2img in artokun/comfyui-mcp) into .claude/skills/krea2-txt2img in your project. Claude Code loads it when a task matches its description.

How do I install Krea2 Txt2img in Codex?

Run `npx skills add artokun/comfyui-mcp --skill krea2-txt2img -a codex`. Or copy the skill folder (plugin/skills/krea2-txt2img in artokun/comfyui-mcp) into .agents/skills/krea2-txt2img in your project. Codex loads it when a task matches its description.

Can I use Krea2 Txt2img in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add artokun/comfyui-mcp --skill krea2-txt2img -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/krea2-txt2img, .gemini/skills/krea2-txt2img, .github/skills/krea2-txt2img and .opencode/skills/krea2-txt2img in your project.

What does Krea2 Txt2img need to run?

SKILL.md names no scripts, command-line tools or credentials: Krea2 Txt2img is instructions for the agent only.

Does Krea2 Txt2img access the network?

SKILL.md names 1 domain. In commands or code: download.pytorch.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Krea2 Txt2img safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Krea2 Txt2img use?

Krea2 Txt2img is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Krea2 Txt2img use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Krea2 Txt2img?

Skills that share tags, products or a category with Krea2 Txt2img: LoRA Space Builder (huggingface/skills, 11k stars), Continuity Render (roadmaus/ComfyUI-Continuity, 133 stars), Flux2 Lora Training (AnastasiyaW/codex-claude-code-config, 154 stars) and Diffusion Engineering (AnastasiyaW/codex-claude-code-config, 154 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Krea2 Txt2img?

artokun (a GitHub user) maintains it in artokun/comfyui-mcp, which has 803 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on October 5, 2026.

Source: artokun/comfyui-mcp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.