tongflow-modal-krea2

August 14, 2026 · View on GitHub

Official TongFlow plugin. Text-to-image generation with Krea 2 Turbo (krea/Krea-2-Turbo, open-weights 12B DiT, 8-step TDM-distilled), running on a GPU via Modal.

Capabilities

  • Image generation (image-gen) — generate an image from a text prompt.

Credentials

Add in TongFlow Settings (gear icon, top-right):

KeyRequiredNotes
MODAL_TOKEN_IDCreate at modal.com/settings/tokens.
MODAL_TOKEN_SECRETPaired with MODAL_TOKEN_ID.
HF_TOKENThe krea/Krea-2-Turbo repo is gated: accept the Krea 2 Community License on Hugging Face first, then use that account's token.

On first use the plugin deploys to your Modal account automatically and caches the build.