ModelHargaPerusahaan
500+ API Model AI, Semua Dalam Satu API. Hanya Di CometAPI
API Model
Pembangun
Mula PantasDokumentasiPapan Pemuka API
Syarikat
Tentang kamiPerusahaan
Sumber
Model AIBlogLog PerubahanSokongan
Terma PerkhidmatanDasar Privasi
© 2026 CometAPI · All rights reserved
Home/Models/Flux/flux-dev
F

flux-dev

Setiap Permintaan:$0.03
Penggunaan komersial
Gambaran Keseluruhan
Ciri-ciri
Harga
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.

Ciri-ciri untuk flux-dev

Terokai ciri-ciri utama flux-dev, yang direka untuk meningkatkan prestasi dan kebolehgunaan. Temui bagaimana keupayaan ini boleh memberi manfaat kepada projek anda dan meningkatkan pengalaman pengguna.

Harga untuk flux-dev

Terokai harga yang kompetitif untuk flux-dev, direka bentuk untuk memenuhi pelbagai bajet dan keperluan penggunaan. Pelan fleksibel kami memastikan anda hanya membayar untuk apa yang anda gunakan, menjadikannya mudah untuk meningkatkan skala apabila keperluan anda berkembang. Temui bagaimana flux-dev boleh meningkatkan projek anda sambil mengekalkan kos yang terurus.
Harga Comet (USD / M Tokens)Harga Rasmi (USD / M Tokens)Diskaun
Setiap Permintaan:$0.03
Setiap Permintaan:$0.0375
-20%

Kod contoh dan API untuk flux-dev

Akses kod sampel yang komprehensif dan sumber API untuk flux-dev bagi memperlancar proses integrasi anda. Dokumentasi terperinci kami menyediakan panduan langkah demi langkah, membantu anda memanfaatkan potensi penuh flux-dev dalam projek anda.

Lebih Banyak Model

G

Nano Banana 2

Masukan:$0.4/M
Keluaran:$2.4/M
Gambaran Keseluruhan Keupayaan Teras: Resolusi: Sehingga 4K (4096×4096), setara dengan Pro. Ketekalan Imej Rujukan: Sehingga 14 imej rujukan (10 objek + 4 watak), mengekalkan ketekalan gaya/watak. Nisbah Aspek Melampau: Nisbah baharu 1:4, 4:1, 1:8, 8:1 ditambah, sesuai untuk imej panjang, poster dan sepanduk. Penjanaan Teks: Penjanaan teks lanjutan, sesuai untuk infografik dan susun atur poster pemasaran. Peningkatan Carian: Carian Google + Carian Imej bersepadu. Pembumian: Proses pemikiran terbina dalam; arahan kompleks dirasionalkan sebelum penjanaan.
C

Claude Opus 4.7

Masukan:$4/M
Keluaran:$20/M
Model paling pintar untuk ejen dan pengekodan
C

Claude Opus 4.6

Masukan:$4/M
Keluaran:$20/M
Claude Opus 4.6 ialah model bahasa besar kelas “Opus” oleh Anthropic, dikeluarkan pada Februari 2026. Ia diposisikan sebagai tulang belakang untuk kerja berpengetahuan dan aliran kerja penyelidikan — menambah baik penaakulan berkonteks panjang, perancangan berbilang langkah, penggunaan alat (termasuk aliran kerja perisian berasaskan ejen), dan tugas penggunaan komputer seperti penjanaan slaid dan hamparan automatik.
A

Claude Sonnet 4.6

Masukan:$2.4/M
Keluaran:$12/M
Claude Sonnet 4.6 ialah model Sonnet kami yang paling berkeupayaan setakat ini. Ia merupakan peningkatan menyeluruh terhadap kemahiran model yang meliputi pengaturcaraan, penggunaan komputer, penaakulan konteks panjang, perancangan agen, kerja berasaskan pengetahuan, dan reka bentuk. Sonnet 4.6 turut menampilkan tetingkap konteks 1M token dalam beta.
O

GPT-5.4 nano

Masukan:$0.16/M
Keluaran:$1/M
GPT-5.4 nano direka untuk tugasan yang amat mengutamakan kelajuan dan kos, seperti pengelasan, pengekstrakan data, pemeringkatan dan sub-agen.
O

GPT-5.4 mini

Masukan:$0.6/M
Keluaran:$3.6/M
GPT-5.4 mini membawa kekuatan GPT-5.4 ke dalam model yang lebih pantas dan lebih cekap, direka untuk beban kerja berskala besar.