usamaehsan/flux-kontext-fastest

FLUX.1 Kontext dev, int4 + turbo 8-step. Cheapest quality image edits on L40S.

Public
63 runs

Run usamaehsan/flux-kontext-fastest with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

Input schema

The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.

Field Type Default value Description
image
string
Input image to edit
prompt
string
Remove the background
Edit instruction
width
integer
0

Max: 2048

Output width (0 = auto from input, ~1MP). Use 512 for cheapest edits
height
integer
0

Max: 2048

Output height (0 = auto from input, ~1MP). Use 512 for cheapest edits
num_inference_steps
integer

Min: 1

Max: 50

Steps. 8 is the Turbo LoRA sweet spot
guidance_scale
number
2.5

Max: 10

Guidance scale (Kontext default 2.5)
seed
integer
Random seed
output_format
None
jpg
Output image format. jpg is faster to encode and smaller

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "type": "string",
  "title": "Output",
  "format": "uri"
}