FLUX 3 Klein Text to Image
FLUX 3 Klein FLUX 3 Klein Text to Image is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.
Dùng API FLUX 3 Klein để tạo ảnh từ lời nhắc và chỉnh sửa dựa trên ảnh tham chiếu, cùng các điểm cuối FLUX.2 Klein 4B, 9B, Turbo, LoRA và huấn luyện phong cách. Chọn đầu ra 1K, 2K hoặc 4K qua một API bất đồng bộ.
FLUX 3 Klein FLUX 3 Klein Text to Image is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.
FLUX 3 Klein FLUX 3 Klein Image Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 4b is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 4b Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 9b is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 9b Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 4b Turbo is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 4b Turbo Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 9b Turbo is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 9b Turbo Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 4b Text To Image LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 9b Text To Image LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 4b Edit LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 9b Edit LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 4b Style LoRA Trainer is a live Muapi endpoint for LoRA training. Submit it with one API key and poll the shared result endpoint.
FLUX.2 FLUX 2 Klein 9b Style LoRA Trainer is a live Muapi endpoint for LoRA training. Submit it with one API key and poll the shared result endpoint.
API FLUX Klein tập hợp dòng mô hình hình ảnh gọn nhẹ của Black Forest Labs trong một danh mục điểm cuối dành cho nhà phát triển. FLUX 3 Klein bổ sung khả năng tạo ảnh từ văn bản và chỉnh sửa theo chỉ dẫn với đầu ra 1K, 2K hoặc 4K, nhiều ảnh kết quả, điều khiển tỷ lệ khung hình và định dạng PNG, JPEG hoặc WebP. FLUX.2 Klein vẫn có các biến thể 4B, 9B, Turbo, suy luận LoRA và huấn luyện phong cách.
Dùng API FLUX 3 Klein khi bạn muốn chọn độ phân giải để tạo hoặc chỉnh sửa ảnh trong quy trình bất đồng bộ đơn giản. So sánh các tùy chọn FLUX.2 Klein 4B và 9B thuộc thế hệ khác, hoặc xem danh mục [API FLUX.2](/flux-2) và [API FLUX 3](/flux-3) rộng hơn. Mỗi yêu cầu Muapi dùng chung khóa API, request ID, điểm cuối truy vấn kết quả và tùy chọn webhook.
Tạo ảnh từ lời nhắc văn bản ở 1K, 2K hoặc 4K với chín tỷ lệ khung hình, ba định dạng đầu ra, tăng cường lời nhắc và tối đa bốn kết quả mỗi yêu cầu.
Gửi 1–10 URL ảnh tham chiếu và lời nhắc chỉnh sửa bằng ngôn ngữ tự nhiên. Chọn khung hình tự động hoặc cố định và yêu cầu tối đa bốn đầu ra.
So sánh các mô hình tạo ảnh từ văn bản và chỉnh sửa 4B, 9B, Turbo cùng các điểm cuối suy luận LoRA được liệt kê.
Gửi yêu cầu bất đồng bộ, truy vấn ID kết quả hoặc cung cấp URL webhook để nhận thông báo khi hoàn tất.
Tạo hoặc chỉnh sửa ảnh bằng FLUX 3 Klein, sau đó lấy URL ảnh từ điểm cuối kết quả chuẩn của Muapi.
curl -X POST https://api.muapi.ai/api/v1/flux-3-klein-text-to-image \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A sculptural glass perfume bottle on a warm limestone plinth, soft editorial light","resolution":"2K","aspect_ratio":"4:3","num_images":2}'
# Response: {"request_id":"REQUEST_ID"}Chọn độ phân giải, tỷ lệ khung hình, định dạng đầu ra và số lượng ảnh. Giá niêm yết tính theo mỗi ảnh đầu ra.
curl -X POST https://api.muapi.ai/api/v1/flux-3-klein-edit-image \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"Replace the plain background with a warm limestone studio, preserving the product shape","images_list":["https://example.com/product.jpg"],"resolution":"2K","aspect_ratio":"auto"}'Cung cấp một đến mười URL ảnh tham chiếu có thể truy cập công khai và mô tả chỉnh sửa mong muốn.
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \ -H "x-api-key: YOUR_API_KEY"
Đọc URL ảnh đã hoàn tất từ mảng outputs.
Đây là API bất đồng bộ để tạo ảnh từ lời nhắc và chỉnh sửa ảnh tham chiếu bằng mô hình FLUX 3 Klein. Điểm cuối hỗ trợ ảnh đầu ra 1K, 2K và 4K.
Muapi tính $0.009 cho mỗi ảnh đầu ra 1K, $0.014 cho 2K và $0.036 cho 4K. Yêu cầu nhiều ảnh sẽ được tính phí theo từng ảnh.
Có. Gọi `flux-3-klein-edit-image`, cung cấp 1–10 URL công khai trong `images_list` và mô tả chỉnh sửa trong `prompt`. Danh mục cũng có các điểm cuối chỉnh sửa FLUX.2 Klein riêng.
Đặt `num_images` từ 1 đến 4. Giá được tính theo từng ảnh đầu ra được tạo.
Chọn PNG, JPEG hoặc WebP. Tạo ảnh từ văn bản hỗ trợ 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9 và 9:21. Chỉnh sửa cũng hỗ trợ khung hình `auto`.
Danh mục này có FLUX 3 Klein để tạo ảnh từ văn bản và chỉnh sửa ở 1K–4K, còn FLUX.2 Klein có các điểm cuối hình ảnh, chỉnh sửa, LoRA và huấn luyện cho 4B/9B cùng Turbo. Đây là các thế hệ mô hình riêng với điểm cuối khả dụng khác nhau.
Dùng một khóa API để tạo và chỉnh sửa ảnh bằng FLUX 3 Klein, sau đó so sánh yêu cầu với các biến thể FLUX.2 Klein.