G
GetLLMs

Flux Kontext Pro

Unleash creative image transformations with Flux Kontext Pro. Ready to experience the power of AI? Start your journey here!

Platform: Replicate
Text-to-Image EditingStyle TransferImage Transformation
1.9M runs
0.04 per output image
Commercial

🚀Function Overview

A high-quality text-based image editing model that transforms input images according to natural language prompts, offering precise control over stylistic changes, object modifications, and background adjustments.

Key Features

  • Transforms existing images using text instructions
  • Maintains character consistency across edits
  • Allows text replacement in images
  • Performs style transfers and background swaps
  • Provides safety tolerance controls for content filtering

Use Cases

  • Converting photos to artistic styles (e.g., watercolor, oil painting)
  • Modifying hairstyles, clothing, or accessories in images
  • Changing text on signs or posters
  • Swapping backgrounds while preserving subjects
  • Creating character-consistent variations from a single image

⚙️Input Parameters

prompt

string

Text description of what you want to generate, or the instruction on how to edit the given image.

input_image

string

Image to use as reference. Must be jpeg, png, gif, or webp.

aspect_ratio

string

Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.

seed

integer

Random seed. Set for reproducible generation

output_format

string

Output format for the generated image

safety_tolerance

integer

Safety tolerance, 0 is most strict and 6 is most permissive. 2 is currently the maximum allowed when input images are used.

💡Usage Examples

Example 1

Input Parameters

{
  "prompt": "Make this a 90s cartoon",
  "input_image": "https://replicate.delivery/pbxt/N55l5TWGh8mSlNzW8usReoaNhGbFwvLeZR3TX1NL4pd2Wtfv/replicate-prediction-f2d25rg6gnrma0cq257vdw2n4c.png",
  "aspect_ratio": "match_input_image",
  "output_format": "jpg",
  "safety_tolerance": 2
}

Output Results

https://replicate.delivery/xezq/83OKs6yfdoT5YCpfREnrFFbqLbfWbus8Q0e06fQ0BAMDRKamC/tmpu3nqollf.jpg

Quick Actions

Technical Specifications

Hardware Type
Run Count
1.9M
Commercial Use
Supported
Pricing
0.04 per output image
Platform
Replicate

Related Keywords

Text-to-Image EditingStyle TransferImage TransformationCharacter ConsistencyText ReplacementBackground Swaps