Mô hìnhGiáDoanh nghiệp
500+ API Mô hình AI, Tất cả trong Một API. Chỉ cần CometAPI
API Mô hình
Nhà phát triển
Bắt đầu nhanhTài liệuBảng Điều Khiển API
Công ty
Về chúng tôiDoanh nghiệp
Tài nguyên
Mô hình AIBlogNhật ký thay đổiHỗ trợ
Điều khoản Dịch vụChính sách Bảo mật
© 2026 CometAPI · All rights reserved
Home/Models/Flux/flux-dev
F

flux-dev

Theo Yêu cầu:$0.03
Sử dụng thương mại
Tổng quan
Tính năng
Giá cả
API

Technical Specifications of flux-dev

SpecificationDetails
Model IDflux-dev
Model familyFLUX.1 [dev]
Provider / originBlack Forest Labs
ModalityText-to-image generation
Architecture12B-parameter rectified flow transformer
Primary use caseGenerating high-quality images from natural-language prompts
Performance positioningDesigned as a high-quality open-weight variant positioned below FLUX.1 [pro] and above faster lightweight variants in the FLUX family
Prompt handlingStrong prompt adherence and competitive instruction following for complex image descriptions
Efficiency approachTrained with guidance distillation for more efficient inference
Availability patternCommonly available through hosted inference APIs and model platforms, with open weights published for the base model ecosystem
Licensing noteThe original FLUX.1 [dev] release is associated with a non-commercial license from Black Forest Labs, so downstream usage terms should be checked carefully in the environment where you deploy it

What is flux-dev?

flux-dev is CometAPI’s model identifier for FLUX.1 [dev], a text-to-image model from Black Forest Labs built to generate detailed, prompt-faithful images from written descriptions. Black Forest Labs describes FLUX.1 [dev] as a 12 billion parameter rectified flow transformer, and positions it as a high-quality model that is second to FLUX.1 [pro] within the original FLUX.1 lineup.

In practice, flux-dev is used when you want stronger image quality and better prompt adherence than lightweight image generators, while still benefiting from the broader FLUX ecosystem. The model is widely recognized for producing polished outputs, handling stylistic directions well, and supporting research and creative workflows through open model availability on major platforms.

Because FLUX.1 [dev] sits in a family that later expanded with tool-oriented and editing-oriented variants, it is best understood as a core text-to-image foundation model: you give it a text prompt, and it returns one or more generated images matching the requested scene, style, composition, or concept.

Main features of flux-dev

  • High-quality image generation: FLUX.1 [dev] is positioned by Black Forest Labs as a cutting-edge text-to-image model with output quality just below FLUX.1 [pro], making it suitable for professional-looking concept art, illustrations, marketing visuals, and creative prototyping.
  • Strong prompt adherence: The model is specifically noted for competitive prompt following, which helps when prompts include multiple objects, layout cues, stylistic instructions, or detailed scene descriptions.
  • 12B rectified flow transformer architecture: Its 12-billion-parameter rectified flow transformer design is a core part of the model’s capability profile and is one reason it is associated with strong fidelity and image detail.
  • Guidance-distilled efficiency: Black Forest Labs states that FLUX.1 [dev] was trained using guidance distillation, which improves efficiency compared with less optimized generation approaches.
  • Open ecosystem compatibility: The model has been released in forms that support broader experimentation, deployment, and workflow customization, including ecosystem support through Hugging Face, ONNX exports, and related FLUX tooling.
  • Flexible creative workflow support: flux-dev is well suited for ideation, visual drafting, style exploration, and pipeline integration where developers want a strong general-purpose text-to-image model rather than a narrowly specialized generator. This is an inference based on the official positioning and available deployment formats.

How to access and integrate flux-dev

Step 1: Sign Up for API Key

To access flux-dev, first register on CometAPI and generate your API key from the dashboard. After signing in, create a key for your application and store it securely in an environment variable or secret manager. You will use this key to authenticate every request to the flux-dev API.

Step 2: Send Requests to flux-dev API

Once you have your API key, send requests to the CometAPI endpoint with flux-dev as the model name.

curl --request POST \
  --url https://api.cometapi.com/v1/images/generations \
  --header "Authorization: Bearer $COMETAPI_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "flux-dev",
    "prompt": "A cinematic sci-fi city at sunset, ultra-detailed, volumetric lighting"
  }'

Python example:

import os
import requests

url = "https://api.cometapi.com/v1/images/generations"
headers = {
    "Authorization": f"Bearer {os.environ['COMETAPI_API_KEY']}",
    "Content-Type": "application/json",
}
payload = {
    "model": "flux-dev",
    "prompt": "A cinematic sci-fi city at sunset, ultra-detailed, volumetric lighting",
}

response = requests.post(url, headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())

Step 3: Retrieve and Verify Results

After submission, CometAPI returns the generated result payload for flux-dev. Parse the response to retrieve image URLs, file data, or related metadata depending on your integration pattern. You should then verify that the output matches the prompt, check for application-level safety or policy compliance, and log request IDs or response metadata for debugging, auditing, and workflow reliability.

Tính năng cho flux-dev

Khám phá các tính năng chính của flux-dev, được thiết kế để nâng cao hiệu suất và khả năng sử dụng. Tìm hiểu cách các khả năng này có thể mang lại lợi ích cho dự án của bạn và cải thiện trải nghiệm người dùng.

Giá cả cho flux-dev

Khám phá mức giá cạnh tranh cho flux-dev, được thiết kế để phù hợp với nhiều ngân sách và nhu cầu sử dụng khác nhau. Các gói linh hoạt của chúng tôi đảm bảo bạn chỉ trả tiền cho những gì bạn sử dụng, giúp dễ dàng mở rộng quy mô khi yêu cầu của bạn tăng lên. Khám phá cách flux-dev có thể nâng cao các dự án của bạn trong khi vẫn kiểm soát được chi phí.
Giá Comet (USD / M Tokens)Giá Chính Thức (USD / M Tokens)Giảm giá
Theo Yêu cầu:$0.03
Theo Yêu cầu:$0.0375
-20%

Mã mẫu và API cho flux-dev

Truy cập mã mẫu toàn diện và tài nguyên API cho flux-dev để tối ưu hóa quy trình tích hợp của bạn. Tài liệu chi tiết của chúng tôi cung cấp hướng dẫn từng bước, giúp bạn khai thác toàn bộ tiềm năng của flux-dev trong các dự án của mình.

Thêm mô hình

G

Nano Banana 2

Đầu vào:$0.4/M
Đầu ra:$2.4/M
Tổng quan về khả năng cốt lõi: Độ phân giải: Lên đến 4K (4096×4096), tương đương với Pro. Tính nhất quán hình ảnh tham chiếu: Tối đa 14 hình ảnh tham chiếu (10 đối tượng + 4 nhân vật), duy trì tính nhất quán về phong cách/nhân vật. Tỷ lệ khung hình cực đoan: Bổ sung các tỷ lệ mới 1:4, 4:1, 1:8, 8:1, phù hợp cho hình ảnh dài, poster và banner. Kết xuất văn bản: Tạo văn bản nâng cao, phù hợp cho infographics và bố cục poster marketing. Tăng cường tìm kiếm: Tích hợp Google Search + Image Search. Lý giải nền tảng: Quy trình tư duy tích hợp; các prompt phức tạp được suy luận trước khi tạo.
C

Claude Opus 4.7

Đầu vào:$4/M
Đầu ra:$20/M
Mô hình thông minh nhất cho tác tử và lập trình
C

Claude Opus 4.6

Đầu vào:$4/M
Đầu ra:$20/M
Claude Opus 4.6 là mô hình ngôn ngữ lớn thuộc lớp “Opus” của Anthropic, phát hành vào tháng 2 năm 2026. Mô hình này được định vị như một công cụ chủ lực cho công việc tri thức và các quy trình nghiên cứu — cải thiện khả năng suy luận với ngữ cảnh dài, lập kế hoạch nhiều bước, khả năng sử dụng công cụ (bao gồm các quy trình phần mềm agentic), và các tác vụ sử dụng máy tính như tự động tạo slide và bảng tính.
A

Claude Sonnet 4.6

Đầu vào:$2.4/M
Đầu ra:$12/M
Claude Sonnet 4.6 là mô hình Sonnet mạnh mẽ nhất của chúng tôi từ trước đến nay. Đây là một bản nâng cấp toàn diện về các kỹ năng của mô hình, bao gồm lập trình, sử dụng máy tính, suy luận trong ngữ cảnh dài, lập kế hoạch tác nhân, công việc tri thức và thiết kế. Sonnet 4.6 cũng có cửa sổ ngữ cảnh 1M token ở giai đoạn beta.
O

GPT-5.4 nano

Đầu vào:$0.16/M
Đầu ra:$1/M
GPT-5.4 nano được thiết kế cho các tác vụ trong đó tốc độ và chi phí là ưu tiên hàng đầu, như phân loại, trích xuất dữ liệu, xếp hạng và các tác tử phụ.
O

GPT-5.4 mini

Đầu vào:$0.6/M
Đầu ra:$3.6/M
GPT-5.4 mini đưa những điểm mạnh của GPT-5.4 vào một mô hình nhanh hơn, hiệu quả hơn, được thiết kế cho khối lượng công việc lớn.