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/Replicate/black-forest-labs/flux-kontext-pro
R

black-forest-labs/flux-kontext-pro

Per Request:$0.048
black-forest-labs/flux-kontext-pro is a multimodal diffusion model for context-aware image generation. It synthesizes images from text prompts and optional reference images, preserving composition and style cues for grounded results. Typical uses include brand asset creation, product visuals, and visual ideation using mood boards or example shots. Technical highlights include text and image inputs, reference-conditioned sampling, and reproducible outputs via seed control.
Commercial Use
Overview
Features
Pricing
API

Technical Specifications of black-forest-labs/flux-kontext-pro

SpecificationDetails
Model IDblack-forest-labs/flux-kontext-pro
ProviderBlack Forest Labs
CategoryMultimodal diffusion model
Input ModalitiesText prompts and optional reference images
Output ModalityGenerated images
Core CapabilityContext-aware image generation grounded by prompt and visual references
Reference ConditioningSupports image-guided synthesis to preserve composition and style cues
ReproducibilitySeed control for repeatable outputs
Typical Use CasesBrand asset creation, product visuals, visual ideation, mood-board-driven generation
Integration TypeAPI-based image generation workflow

What is black-forest-labs/flux-kontext-pro?

black-forest-labs/flux-kontext-pro is a multimodal diffusion model designed for context-aware image generation. It creates images from natural language prompts and can optionally use reference images to guide the final result. This allows developers and creative teams to generate visuals that are not only prompt-compliant but also better aligned with desired composition, framing, tone, or stylistic direction.

Because it combines text understanding with image-based conditioning, black-forest-labs/flux-kontext-pro is well suited for workflows where consistency and grounding matter. Teams can use it to produce marketing graphics, product-centric imagery, concept explorations, and other visuals that benefit from example-based steering. Seed control also helps make outputs more reproducible, which is useful when iterating on creative assets or maintaining repeatable generation pipelines.

Main features of black-forest-labs/flux-kontext-pro

  • Multimodal prompting: Accepts text prompts and optional reference images, enabling more controlled image generation than text-only workflows.
  • Context-aware generation: Uses prompt context and visual guidance together to synthesize outputs that better reflect the intended subject, layout, and style.
  • Reference-conditioned sampling: Leverages example images to preserve composition and stylistic cues for grounded creative results.
  • Creative consistency: Helps teams maintain more coherent visual direction across asset variations, especially in branding and product content workflows.
  • Seed-controlled reproducibility: Supports repeatable generations through seed parameters, which is useful for testing, refinement, and production pipelines.
  • Visual ideation support: Works well for mood boards, example-shot-driven exploration, and concept development where visual references accelerate iteration.
  • Production-friendly applications: Suitable for brand asset creation, product visuals, campaign mockups, and other commercial image-generation scenarios.

How to access and integrate black-forest-labs/flux-kontext-pro

Step 1: Sign Up for API Key

To get started, create an account on CometAPI and generate your API key from the dashboard. This key is required to authenticate every request and route it to the black-forest-labs/flux-kontext-pro model.

Step 2: Send Requests to black-forest-labs/flux-kontext-pro API

Once you have your API key, send requests to the CometAPI endpoint with black-forest-labs/flux-kontext-pro as the model. Include your prompt and any optional reference-image inputs required by your workflow.

curl --request POST \
  --url https://api.cometapi.com/v1/responses \
  --header "Authorization: Bearer $COMETAPI_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "model": "black-forest-labs/flux-kontext-pro",
    "input": [
      {
        "role": "user",
        "content": [
          { "type": "input_text", "text": "Create a premium studio product image of a minimalist skincare bottle with soft natural lighting." }
        ]
      }
    ]
  }'

Step 3: Retrieve and Verify Results

After submission, CometAPI returns the model output in the response payload. Parse the returned data, store the generated image artifacts, and verify that the result matches your prompt intent, reference constraints, and any seed-based reproducibility requirements before using it in production.

Features for black-forest-labs/flux-kontext-pro

Explore the key features of black-forest-labs/flux-kontext-pro, designed to enhance performance and usability. Discover how these capabilities can benefit your projects and improve user experience.

Pricing for black-forest-labs/flux-kontext-pro

Explore competitive pricing for black-forest-labs/flux-kontext-pro, 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 black-forest-labs/flux-kontext-pro can enhance your projects while keeping costs manageable.
Comet Price (USD / M Tokens)Official Price (USD / M Tokens)Discount
Per Request:$0.048
Per Request:$0.06
-20%

Sample code and API for black-forest-labs/flux-kontext-pro

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

More Models

O

GPT Image 2

Input:$6.4/M
Output:$24/M
GPT Image 2 is openai state-of-the-art image generation model for fast, high-quality image generation and editing. It supports flexible image sizes and high-fidelity image inputs.
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.
G

Nano Banana Pro

Input:$1.5616/M
Output:$9.3696/M
Nano Banana Pro is an AI model for general-purpose assistance in text-centric workflows. It is suitable for instruction-style prompting to generate, transform, and analyze content with controllable structure. Typical uses include chat assistants, document summarization, knowledge QA, and workflow automation. Public technical details are limited; integration aligns with common AI assistant patterns such as structured outputs, retrieval-augmented prompts, and tool or function calling.
M

mj_turbo_imagine

M

mj_turbo_imagine

Per Request:$0.168
M

mj_fast_imagine

M

mj_fast_imagine

Per Request:$0.056
Midjourney drawing
D

Doubao Seedream 5

Per Request:$0.032
Seedream 5.0 Lite is a unified multimodal image generation model endowed with deep thinking andonline search capabilities, featuring an all-round upgrade in its understanding, reasoning and generationcapabilities.