quy trình flux2
FLUX.2 [dev] is Black Forest Labs' second-generation open-weights image model, released in November 2025. It is a much larger flow-matching transformer than FLUX.1 that uses the Mistral Small 3.1 vision-language model as its text encoder, which gives it far better understanding of long, descriptive prompts, reliable multi-line typography and real-world knowledge about brands, materials and lighting. It was designed from the start as a unified model: the same weights generate from text, edit an existing picture from instructions, and combine up to ten reference images for character, product or style consistency, with output up to 4 megapixels. The family also includes the smaller FLUX.2 Klein 4B and 9B distillations that most Flux2 LoRAs in this catalog are trained on. This entry is the text-to-image workflow, accelerated with a turbo LoRA so that it finishes in a handful of steps.
Tương thích / Có sẵn trong các ứng dụng chạy trên Graydient
Tùy chọn
| Tùy chọn | Ánh xạ tới | Mặc định |
|---|---|---|
(prompt) | Prompt text | — |
/run:flux2 | Workflow shortcode | flux2 |
Mô hình sử dụng
/run:flux2 từ ModelTrends Xem trên ModelTrends Dành cho Nhà phát triển (tùy chọn)
Ví dụ đoạn mã API. Bạn có thể xây dựng app riêng với quy trình này cho mục đích cá nhân. Nâng cấp lên Gói Business khi bạn sẵn sàng triển khai. Xem tài liệu API render đầy đủ.
curl https://cloud.graydient.ai/api/v3/render/ \
-X POST \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.api+json" \
-H "Authorization: Bearer $GRAYDIENT_TOKEN" \
-d '{
"prompt": "/workflow /run:flux2 ",
"callback_url": "https://example.com/webhook/render"
}'Đây là cách nó hoạt động phía sau. Nó đã được cấu hình sẵn cho bạn. Các tham số trong bảng trên được cắm vào các vị trí này, cho phép bạn thay đổi cách hoạt động và các mô hình được tải. Bạn không cần hiểu hay chỉnh sửa - nó chỉ hoạt động, đã được thiết lập sẵn.
Trang quy trình này liệt kê shortcode, tùy chọn và tải xuống ModelTrends. Đồ thị node đầy đủ có sẵn khi tải quy trình trên ModelTrends. Đồ thị node cho quy trình này chưa được vẽ trên trang này. Mở nó trên ModelTrends để tải file quy trình và các mô hình nó tải.
Tất cả workflow: Quy trình làm việc mạnh mẽ