ModèlesTarificationEntreprise
500+ API de modèles IA, toutes en une seule API. Simplement avec CometAPI
API des modèles
Développeur
Démarrage rapideDocumentationTableau de bord API
Entreprise
À proposEntreprise
Ressources
Modèles d'IABlogJournal des modificationsSupport
Conditions d'utilisationPolitique de confidentialité
© 2026 CometAPI · All rights reserved
Home/Models/Flux/flux-dev
F

flux-dev

Par requête:$0.03
Usage commercial
Aperçu
Fonctionnalités
Tarification
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.

Fonctionnalités pour flux-dev

Découvrez les fonctionnalités clés de flux-dev, conçues pour améliorer les performances et la facilité d'utilisation. Explorez comment ces capacités peuvent bénéficier à vos projets et améliorer l'expérience utilisateur.

Tarification pour flux-dev

Découvrez des tarifs compétitifs pour flux-dev, conçus pour s'adapter à différents budgets et besoins d'utilisation. Nos formules flexibles garantissent que vous ne payez que ce que vous utilisez, ce qui facilite l'adaptation à mesure que vos besoins évoluent. Découvrez comment flux-dev peut améliorer vos projets tout en maîtrisant les coûts.
Prix de Comet (USD / M Tokens)Prix officiel (USD / M Tokens)Remise
Par requête:$0.03
Par requête:$0.0375
-20%

Exemple de code et API pour flux-dev

Accédez à des exemples de code complets et aux ressources API pour flux-dev afin de simplifier votre processus d'intégration. Notre documentation détaillée fournit des instructions étape par étape pour vous aider à exploiter tout le potentiel de flux-dev dans vos projets.

Plus de modèles

G

Nano Banana 2

Entrée:$0.4/M
Sortie:$2.4/M
Aperçu des capacités principales: Résolution: Jusqu'à 4K (4096×4096), comparable à Pro. Cohérence des images de référence: Jusqu'à 14 images de référence (10 objets + 4 personnages), en maintenant la cohérence du style et des personnages. Rapports d'aspect extrêmes: Nouveaux rapports 1:4, 4:1, 1:8, 8:1 ajoutés, adaptés aux images longues, aux affiches et aux bannières. Rendu de texte: Génération de texte avancée, adaptée aux infographies et aux mises en page d'affiches marketing. Amélioration de la recherche: Google Search + Image Search intégrés. Ancrage: Processus de réflexion intégré; les prompts complexes font l'objet d'un raisonnement avant la génération.
C

Claude Opus 4.7

Entrée:$4/M
Sortie:$20/M
Le modèle le plus intelligent pour les agents et la programmation
C

Claude Opus 4.6

Entrée:$4/M
Sortie:$20/M
Claude Opus 4.6 est le grand modèle de langage de classe « Opus » d’Anthropic, publié en février 2026. Il est positionné comme un outil polyvalent pour le travail cognitif et les flux de travail de recherche — améliorant le raisonnement en contexte long, la planification à plusieurs étapes, l’utilisation d’outils (y compris des flux de travail logiciels basés sur des agents) et l’exécution de tâches informatiques telles que la génération automatisée de diapositives et de feuilles de calcul.
A

Claude Sonnet 4.6

Entrée:$2.4/M
Sortie:$12/M
Claude Sonnet 4.6 est notre modèle Sonnet le plus performant à ce jour. Il s’agit d’une mise à niveau complète des capacités du modèle dans la programmation, l’usage de l’ordinateur, le raisonnement sur des contextes étendus, la planification d’agents, le travail intellectuel et la conception. Sonnet 4.6 propose également une fenêtre de contexte de 1M de jetons en bêta.
O

GPT-5.4 nano

Entrée:$0.16/M
Sortie:$1/M
GPT-5.4 nano est conçu pour des tâches où la vitesse et le coût comptent le plus, comme la classification, l’extraction de données, le classement et les sous-agents.
O

GPT-5.4 mini

Entrée:$0.6/M
Sortie:$3.6/M
GPT-5.4 mini apporte les atouts de GPT-5.4 dans un modèle plus rapide et plus efficace, conçu pour des charges de travail à grande échelle.