以文字快速生成高品質圖像,精準控制細節與風格,助力創意設計實現。
Flux 2 Klein 4B is a compact, open-weight text-to-image and image-editing model built by Black Forest Labs, optimized for speed and responsive creative iteration. It accepts a text prompt (and optionally one or more reference images for editing) and returns a single image suitable for concepting, mockups, and fast visual experiments.
Output format: up to ~1024×1024 resolution (commonly used), fps: n/a, duration: n/a, aspect ratio: flexible, audio: none
| Parameter | Required | Type | Default | Range / Options | Description |
|---|---|---|---|---|---|
| multipart* | Yes (*) | object | None | n/a | Container for form-data fields; typically includes prompt text and generation options. |
| body | No | object | None | n/a | The multipart body payload; commonly includes fields such as prompt, steps, width, height, and optional references (varies by provider). |
| contentType | No | string | None | n/a | Content type for multipart submissions; set by the client or SDK. |
| Unit | Price |
|---|---|
| Per image | $0.003 |
1) 在 RunComfy 中選擇本模型: select Flux 2 Klein 4B Text to Image for generation or editing workflows.
2) Prepare your input:
- Text-to-image: write a concise prompt with subject, style, lighting, and camera terms.
- Image editing: upload one or more reference images (if your workflow supports multi-reference editing) to guide style or identity.
3) Set image size and aspect ratio:
- Start with 1024×1024 for quality and speed; adjust aspect ratio to fit your composition.
4) Configure steps and quality:
- Fewer steps are faster; more steps can refine detail. Typical ranges vary by provider.
5) Use a seed if available:
- Fix a seed to reproduce results; change it to explore new variations around the same prompt.
6) Run the job and review outputs:
- Iterate by adjusting style tokens, composition terms, or references; save preferred seeds and prompts.
7) API usage (no self-hosting required):
- Submit a multipart POST with fields like prompt, steps, width, and height to the platform endpoint; Flux 2 Klein 4B is also compatible with common AI-inference APIs that accept multipart form data.
In short, Flux 2 Klein 4B offers one of the best speed-to-quality trade-offs in its family for agile image creation.
以文字快速生成高品質圖像,精準控制細節與風格,助力創意設計實現。
Seedream 5.0 Lite 將參考圖像轉化為版面精準、風格一致的設計,助力創意工作流程。
高精準 AI 文字轉圖像工具,支援細節調整與靈活創作。
支援雙語文字處理與物件編輯,讓設計更自由直覺
以 Seedream 4.0 將圖片重新生成高品質影像,輕鬆打造創意設計。
高速生成400萬像素照片,Ultra與Raw模式精準還原真實質感
Flux 2 Klein 4B 擅長文字到圖像生成、圖像到圖像編輯和多參考輸入混合 - 所有這些都在一個統一模型內。它提供清晰的文字渲染、逼真的圖像以及適合 UI 模型和品牌一致性的快速輸出,且延遲較低,在消費性 GPU 上通常低於一秒。
Flux 2 Klein 4B 文字到圖像強調速度、本地執行和開源可用性,而 Seedream 4.5 和 Nano Banana Pro 旨在以更高的計算成本實現極致的細節和保真度。當您需要快速迭代和對有限資源的強烈及時遵守時,Flux 2 Klein 4B 仍然是首選。
Flux 2 Klein 4B 文字到影像目前支援高達約 2048×2048 像素(約 4 兆像素)的影像分辨率,取決於寬高比設定。此限制可確保快速生成,而不會超出具有約 13 GB 記憶體的 GPU 上的 VRAM 要求。
Flux 2 Klein 4B 文字到影像逐步支援 128×128 和 2048×2048 之間的靈活寬高比,通常允許提示最多 512 個標記以實現最高清晰度。較長的提示將自動截斷,以在推理過程中保持一致的表現。
您可以使用 RunComfy API 從 RunComfy 模型介面 (Web UI) 轉移到生產環境。此 API 鏡像 Flux 2 Klein 4B 文字到影像的遊樂場模型設置,可讓您自動生成或將其整合到後端工作流程中。確保您保護 API 金鑰、查看使用定價並根據 API 文件配置產生設定。
Flux 2 Klein 4B 文字到影像透過其多參考模式支援多個參考輸入。雖然專為提高效率而設計,但大多數部署都允許同時進行 2-3 個參考,從而平衡消費者硬體配置的保真度和速度。
與 FLUX.1 和更大的 Flux 2 模型相比,Flux 2 Klein 4B 文字到影像使用整流流轉換器,精簡為 4 個推理步驟,實現亞秒級影像創建,同時保持保真度。它犧牲了一些微觀細節來換取較小 GPU 上的速度和可訪問性。
Flux 2 Klein 4B 文字到圖像針對準確的英文文字渲染和結構化組合(例如 UI 或品牌模型)進行了最佳化。雖然可以進行多語言輸入,但使用英語可獲得最佳結果。對於雙語任務,額外的微調可能是有益的。
RunComfy 是首選的 ComfyUI 平台,提供 ComfyUI 在線 環境和服務,以及 ComfyUI 工作流程 具有驚豔的視覺效果。 RunComfy還提供 AI Models, 幫助藝術家利用最新的AI工具創作出令人驚艷的藝術作品。





