krea2-txt2img

krea2-txt2img is a skill for Claude Code from artokun/comfyui-mcp. It costs 53 tokens per session (2,275 once invoked), scanned A, original, MIT.

A guide for creating images from text with Krea 2 Turbo in ComfyUI, using either ordinary prose or structured JSON prompts. JSON is a text format that can describe areas and elements in a fixed structure.

In plain words
What is it for?
Use it to create text-to-image artwork, structured compositions, and optional two-pass detail refinements with Krea 2 Turbo.
Why use it?
It helps you choose between simple prompting, structured layout prompts, and a two-pass detail workflow. It also explains which Krea 2 model variant and prompt source each workflow uses.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the comfy plugin — 42 skills, 11 commands, 4 agents, 2 hooks shipped together

Good fit Use it to create text-to-image artwork, structured compositions, and optional two-pass detail refinements with Krea 2 Turbo.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/artokun/comfyui-mcp/krea2-txt2img
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add artokun/comfyui-mcp --skill krea2-txt2img
Clone the repo
git clone --depth 1 https://github.com/artokun/comfyui-mcp

Made for: Claude Code.

Or install comfy, the plugin that ships this one along with the rest of its 42 skills, 11 commands, 4 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for krea2-txt2img

README.md
[![agentmods](https://agentmods.dev/badge/skills/artokun/comfyui-mcp/krea2-txt2img/github.svg)](https://agentmods.dev/skills/artokun/comfyui-mcp/krea2-txt2img)
Your own site
<a href="https://agentmods.dev/skills/artokun/comfyui-mcp/krea2-txt2img"><img src="https://agentmods.dev/badge/skills/artokun/comfyui-mcp/krea2-txt2img/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for krea2-txt2img

Your own site · 80×15
<a href="https://agentmods.dev/skills/artokun/comfyui-mcp/krea2-txt2img"><img src="https://agentmods.dev/badge/skills/artokun/comfyui-mcp/krea2-txt2img.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,275 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02275
Opus 5 $0.00026 $0.01137
Sonnet 5 $0.00011 $0.00455
Haiku 4.5 $0.00005 $0.00228

Measured 12d ago against content hash ce5164426caf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

krea2-txt2img scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/krea2-txt2img/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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)

Slot File Notes
diffusion_models/ krea2_turbo_fp8.safetensors 12B Turbo, fp8 — RTX 4000/3000/2000
diffusion_models/ krea2_turbo_mxfp8.safetensors RTX 5000 (Blackwell) native fp8
text_encoders/ qwen3vl_4b_fp8_scaled.safetensors Qwen3-VL 4B encoder
vae/ qwen_image_vae.safetensors Qwen image VAE
loras/ krea2_turbo_lora_rank_64_bf16.safetensors turbo LoRA — combo only, @0.2 both passes
loras/ IdeoKrea-test.safetensors OPTIONAL Ideogram-style LoRA (Aitrepreneur/IdeoKrea) — combo add-in

Read the full file on GitHub · 143 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 143 lines · 53 tokens per session scan A ce5164426caf

Subscribe to this mod's changes

krea2-txt2img is a skill published in the GitHub repository artokun/comfyui-mcp (740 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 2,275 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

c2pa-metadata

Embed a C2PA provenance manifest into an AI-generated marketing asset (PNG, JPG, WebP, GIF, TIFF, MP4, MOV, WebM, MP3, WAV, PDF) via scripts/embed-c2pa.py — produces a signed copy of the file carrying IPTC digital-source-type AI claims, an optional c2pa.ai-disclosure assertion for EU AI Act Article 50 (applicable 2…

indranilbanerjee/digital-marketing-pro · 183 tokens

AI Image & Video Generator — GPT Image 2, Seedance, ComfyUI

Generate images and videos from text with multi-provider routing — supports GPT Image 2.0 (near-perfect text rendering), Nanobanana 2, Seedream 5.0, Midjourney V8.1 (unified photorealistic + anime), Flux 2 Klein (cheap drafts), Seedance 2.0 / Veo 3.1 / Grok Video / Agnes Video, and local ComfyUI workflows. Includes…

jau123/MeiGen-AI-Design-MCP · 177 tokens

youtube-producer

Plans, packages, and scripts long-form video for retention and channel growth — idea selection, titles and thumbnails, script structure, and diagnosing why a video or channel underperforms. Use this for video ideas, packaging, scripting, a retention teardown, or channel strategy — including when someone describes a…

cbrock84/headcount · 86 tokens

video-content

Plans and scripts short-form and long-form video, and designs the packaging — titles, thumbnails, and openings — that determines whether it gets watched. Use this to script a video, plan a series, fix retention or click-through problems, design thumbnail and title concepts, or turn written content into video. For a…

cbrock84/headcount · 89 tokens

comfyui-skill-openclaw

Run registered ComfyUI workflows through the fast comfyui-skill CLI, and use the official local Comfy MCP for live template, node, model, validation, and orchestration capabilities. Use this Skill when: (1) The user requests to "generate an image", "draw a picture", or "execute a ComfyUI workflow". (2) The user has…

HuangYuChuh/ComfyUI_Skills_OpenClaw · 125 tokens

comfy

Generate images, video, audio, and 3D with Comfy Cloud — search hundreds of models and workflow templates, run custom ComfyUI workflows, and manage generation jobs through the hosted Comfy Cloud MCP server. Cloud-only — connects to the hosted service, not a local ComfyUI install. Use for any "generate/edit an image"…

Comfy-Org/comfy-skills · 92 tokens