ModelsPricingEnterprise
500+ AI Model API, All In One API.Just In CometAPI
Models API
Developer
Quick StartDocumentationAPI Dashboard
Company
About usEnterprise
Resources
AI ModelsBlogChangelogSupport
Terms of ServicePrivacy Policy
© 2026 CometAPI · All rights reserved
Home/Models/Flux/flux-dev
F

flux-dev

Per Request:$0.03
Commercial Use
Overview
Features
Pricing
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.

Features for flux-dev

Explore the key features of flux-dev, designed to enhance performance and usability. Discover how these capabilities can benefit your projects and improve user experience.

Pricing for flux-dev

Explore competitive pricing for flux-dev, designed to fit various budgets and usage needs. Our flexible plans ensure you only pay for what you use, making it easy to scale as your requirements grow. Discover how flux-dev can enhance your projects while keeping costs manageable.
Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Per Request:$0.03
Per Request:$0.0375
-20%

Sample code and API for flux-dev

Access comprehensive sample code and API resources for flux-dev to streamline your integration process. Our detailed documentation provides step-by-step guidance, helping you leverage the full potential of flux-dev in your projects.

More Models

G

Nano Banana 2

Input:$0.4/M
Output:$2.4/M
Core Capabilities Overview: Resolution: Up to 4K (4096×4096), on par with Pro. Reference Image Consistency: Up to 14 reference images (10 objects + 4 characters), maintaining style/character consistency. Extreme Aspect Ratios: New 1:4, 4:1, 1:8, 8:1 ratios added, suitable for long images, posters, and banners. Text Rendering: Advanced text generation, suitable for infographics and marketing poster layouts. Search Enhancement: Integrated Google Search + Image Search. Grounding: Built-in thinking process; complex prompts are reasoned before generation.
C

Claude Opus 4.7

Input:$4/M
Output:$20/M
Claude Opus 4.7 is a hybrid reasoning model designed specifically for frontier-level coding, AI agents, and complex multi-step professional work. Unlike lighter models (e.g., Sonnet or Haiku variants), Opus 4.7 prioritizes depth, consistency, and autonomy on the hardest tasks.
C

Claude Opus 4.6

Input:$4/M
Output:$20/M
Claude Opus 4.6 is Anthropic’s “Opus”-class large language model, released February 2026. It is positioned as a workhorse for knowledge-work and research workflows — improving long-context reasoning, multi-step planning, tool use (including agentic software workflows), and computer-use tasks such as automated slide and spreadsheet generation.
A

Claude Sonnet 4.6

Input:$2.4/M
Output:$12/M
Claude Sonnet 4.6 is our most capable Sonnet model yet. It’s a full upgrade of the model’s skills across coding, computer use, long-context reasoning, agent planning, knowledge work, and design. Sonnet 4.6 also features a 1M token context window in beta.
O

GPT-5.4 nano

Input:$0.16/M
Output:$1/M
GPT-5.4 nano is designed for tasks where speed and cost matter most like classification, data extraction, ranking, and sub-agents.
O

GPT-5.4 mini

Input:$0.6/M
Output:$3.6/M
GPT-5.4 mini brings the strengths of GPT-5.4 to a faster, more efficient model designed for high-volume workloads.