Text-to-image model for creative prototyping and visual exploration
flux-dev corresponds to Black Forest Labs' FLUX.1 [dev], an open-weight image model trained with guidance distillation that excels at turning text descriptions into visual works. On this platform, it supports text generation and existing image editing, making it suitable for concept design, illustration drafts, and visual concept experiments, with the creative workflow organized through prompts, aspect ratios, and quantities.
Input parameters and result formats vary by service. Use the public API for this model and follow its guide for generation, task retrieval and editing operations.
Specifications and API features
Native architecture
12 billion parameter rectified flow transformer
Training method
Guidance distillation
Creation modes
Native text-to-image; this platform supports generate and edit
Aspect ratio settings
1024x1024, 1024x1792, 1792x1024, or image aspect ratio
Image editing input
Existing image URL and text editing instructions
Generation count
count defaults to 1 and is only used for generation tasks
Results and tasks
JSON image links; supports asynchronous queries and completion callbacks
The architecture and training method are native features of FLUX.1 [dev], while sizing, editing, and task management are capabilities provided by this platform.
Core capabilities
Build images with specific descriptions
FLUX.1 [dev] emphasizes prompt adherence, making it suitable for describing the subject, environment, composition, and lighting in a single passage. When creating, first define the main subject, then add materials and visual style, comparing results iteratively; prompt phrasing affects the generated image, so avoid piling all requirements into mutually contradictory keywords.
Extend generation into image editing
In addition to starting from text, flux-dev can also receive an existing image link and modification instructions through edit mode, taking drafts into the next round of creation. It is suitable for trying new visual directions or adjusting image content, but editing does not equal precise local replacement; elements that need to be preserved should be clearly described, and actual results should be checked one by one.
Adapt creative workflows to different aspect ratios
Square, portrait, and landscape dimensions allow the same theme to be developed for different display placements. Generation tasks can use count to request multiple candidate images, then retrieve works from the result links; asynchronous queries or completion callbacks make it easier to integrate the generation process into background tasks without requiring the frontend to keep waiting on the same connection.
Use Cases
Concept Design and Illustration Drafting
Enter character traits, scene atmosphere, color direction, and composition requirements to generate concept images or illustration drafts for discussion. Suitable for exploring multiple visual directions before formal drawing, then having designers select and refine them; the deliverables are image candidates for review, not automatically completed final design specifications.
Product Scene Creative Proposals
Describe the background, materials, lighting, and placement around a product theme to generate scene visual proposals; existing images can also be submitted for editing attempts. Suitable for comparing presentation atmosphere and composition directions; the shape, branding, and details of real products still need verification, and generated images should not be directly regarded as accurate product photographs.
Illustration Drafts in Content Tools
Content applications can turn users' theme descriptions into prompts, select landscape or portrait format, and submit generation tasks, then display image links for users to choose from when complete. Suitable for article illustrations, social content, and event visual drafts; when accurate titles or brand text are needed, typography can be left to subsequent design stages.
How to Choose This Model
Choose dev for Exploration, Compare pro for Final Output
If the main task is validating prompts, exploring styles, and creating concept drafts, flux-dev is a suitable starting point. FLUX.1 [dev] and FLUX.1 [pro] are different models, and the official positioning assigns higher output quality to the contemporary pro model; for final-output tasks with stricter detail requirements, try the same creative idea with each rather than treating dev as another name for pro.
Distinguish dev from Kontext by Editing Goal
When an existing image needs editing attempts, you can use flux-dev's edit mode; if the task focuses on context-aware editing around the original image, Flux Kontext should be evaluated first. Do not equate dev's editing entry point with Kontext's dedicated editing capabilities, and do not apply FLUX.2's new features to this generation of models.
Get Started
Clearly Define Visual Goals and Elements to Preserve
For text-to-image, specify the subject, materials, lighting, and aspect ratio; for modifying an existing image, prepare image_url and clearly state what to change and preserve.
Call This Model's Image Operations
Submit model=flux-dev, action=generate, prompt, and size=1024x1024 to /flux/images; when editing an image, select edit and add the image URL, while count is only used for generation.
Evaluate Based on Image Results
Save the returned image_url; for asynchronous tasks, query via task_id or configure callback_url. Compare key elements before and after modification, then move the completed image into subsequent design work.
Trial suggestion: illustration style exploration
Input and goal
A seaside lighthouse, a twilight sky, and a small boat in the distance, rendered in a delicate printmaking style, limited to three colors: deep blue, orange, and off-white, in a vertical composition.
Review and next steps
First compare the composition and style; if parts of the prompt are omitted, shorten the requirements and try again. Open-weight licensing and image use on this platform are separate matters.
Usage limitations
Complex prompts may have omissions or mismatches, and phrasing style can also significantly affect results. When multiple subjects, relationships, or precise layouts are involved, it is recommended to simplify the scene first and then gradually add constraints; a single generation cannot guarantee that every textual requirement will be accurately reflected in the image.
FLUX.1 [dev] is not intended to provide factual information, and generated images may also reflect social biases. Content involving news, history, personal identity, or professional illustrations should be manually verified, and images that appear realistic must not be treated as proof that an event occurred or that an object exists.
Open weights do not mean the weights may be used commercially without restriction. FLUX.1 [dev] weights are subject to a non-commercial license, and the use of generated results is separately governed by relevant license terms; when self-hosting, modifying, or redistributing the model, confirm authorization separately and comply with the content usage policy.
Frequently Asked Questions
What is the relationship between flux-dev and FLUX.1 [dev]?
flux-dev is the invocation ID for selecting FLUX.1 [dev] on this platform, and the model is developed by Black Forest Labs. It belongs to the FLUX.1 series; it is not Flux Kontext or FLUX.2, and it does not automatically gain the capabilities of those models merely by sharing an image interface.
What is the minimum required to generate an image?
Submit model=flux-dev, action=generate, prompt, and size to POST /flux/images, and use Bearer Token authentication. Results are returned as JSON, and images are obtained through image_url in data; set count when multiple candidates are needed.
Can flux-dev modify an existing image?
Yes. Use action=edit and submit image_url, a modification prompt, and size. Editing is suitable for further exploring changes to an existing image, but unspecified areas are not guaranteed to remain completely unchanged; count is not used for editing tasks, and important details should be checked item by item after the results are returned.
How should I choose between landscape, portrait, and square images?
For square images, use 1024x1024; for portrait images, use 1024x1792; for landscape images, use 1792x1024. You can also set the canvas through the image aspect ratio. It is recommended to first determine the orientation based on the display location, then describe the subject position and whitespace in the prompt, avoiding changing only the dimensions while overlooking composition.
Can I return without waiting for the image to finish?
Yes. Set async=true to first obtain task_id, then query the task result; you can also provide callback_url to receive a completion notification. Applications should distinguish between a submitted task and a completed image, and display the image only after obtaining its link, avoiding treating the task ID as the generated image result.