FLUX.1 Kontext Dev Ultra-Fast is an open-source image-to-image model that edits images from text prompts with open weights and code. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Idle

$0.02per run·~50 / $1

Replace 'KONTEXT' with 'WaveSpeedAI' on the juice pouch, keeping the same bubbly font style,gradient colors, soft shadow, and exact position.

Replace 'Choose joy' with 'WaveSpeedAI' on the juice pouch, keeping the same bubbly font style,gradient colors, soft shadow, and exact position.

Transform the scene to light snowfall in the same location. The scarf has tiny snowflakes on it, and the person’s breath is visible in the cold air.

Change the setting to early autumn. Add fallen leaves around the blanket, the trees turning slightly golden, and both wearing light jackets.

Remove the juice from the picture

same man, Swap the white shirt for a suit

same woman, Add a nice brooch to the clothing

Add seagulls to the original image, keeping the rest unchanged

Replace the green scarf of the child in the original image with a Red Bow tie

Remove the spots on the woman's face,Other things remain unchanged

Remove the seagulls from the image, keep the rest unchanged

Change the background to a vast grassland, keep the rest unchanged
FLUX.1 Kontext Dev Ultra Fast is a low-latency image-to-image editing model optimized for rapid iteration. Provide a source image and a natural-language edit instruction, and it performs targeted or global edits while aiming to preserve the original context when requested—ideal for interactive workflows, batch revisions, and quick creative exploration.
$0.02 per image.
Cost per run = num_images × $0.02 Example: num_images = 4 → $0.08
Input:
Output:
Use a clear “preserve + edit + constraints” structure:
Template: Keep [what must stay]. Change [what to edit]. Ensure [constraints]. Match [lighting/shadows/style consistency].
Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-dev-ultra-fast with your input as JSON. The endpoint returns a prediction id. Start polling the result endpoint around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. On completed, read URLs from data.outputs. Examples for Flux Kontext Dev Ultra Fast below.
# Submit the prediction
curl --fail-with-body --connect-timeout 10 --max-time 60 \
-X POST "https://api.wavespeed.ai/api/v3/wavespeed-ai/flux-kontext-dev-ultra-fast" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WAVESPEED_API_KEY" \
-d '{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"num_inference_steps": 28,
"guidance_scale": 2.5,
"num_images": 1,
"seed": -1,
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
}'
# Wait at least 2 seconds, then poll. Safe GET requests may be retried.
curl --fail-with-body --connect-timeout 10 --max-time 30 \
--retry 4 --retry-all-errors --retry-delay 1 \
-X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
-H "Authorization: Bearer $WAVESPEED_API_KEY"
# Start at 2 seconds and increase the interval for long-running tasks.
# Stop on completed, failed, cancelled, or timeout.// npm install wavespeed
const { Client } = require('wavespeed');
const apiKey = process.env.WAVESPEED_API_KEY;
if (!apiKey) throw new Error('Set WAVESPEED_API_KEY');
const client = new Client(apiKey);
try {
const result = await client.run("wavespeed-ai/flux-kontext-dev-ultra-fast", {
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"num_inference_steps": 28,
"guidance_scale": 2.5,
"num_images": 1,
"seed": -1,
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
}, {
timeout: 3600,
pollInterval: 2.0,
});
console.log(result.outputs);
} catch (error) {
console.error('Generation failed:', error);
process.exitCode = 1;
}# pip install wavespeed
import os
from wavespeed import Client
client = Client(api_key=os.environ["WAVESPEED_API_KEY"])
try:
output = client.run(
"wavespeed-ai/flux-kontext-dev-ultra-fast",
{
"prompt": "A cinematic shot of a city at sunset, soft golden light",
"num_inference_steps": 28,
"guidance_scale": 2.5,
"num_images": 1,
"seed": -1,
"output_format": "jpeg",
"enable_base64_output": false,
"enable_sync_mode": false
},
timeout=3600.0,
poll_interval=2.0,
)
print(output["outputs"])
except Exception as error:
raise SystemExit(f"Generation failed: {error}") from errorFlux Kontext Dev Ultra Fast is a WaveSpeedAI model for image editing, exposed as a REST API on WaveSpeedAI. FLUX.1 Kontext Dev Ultra-Fast is an open-source image-to-image model that edits images from text prompts with open weights and code. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates production-oriented Python, JavaScript, and cURL examples with timeouts, transient-error handling, and safe GET retries. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/wavespeed-ai/flux-kontext-dev-ultra-fast.
Flux Kontext Dev Ultra Fast starts at $0.020 per run. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
Key inputs: `prompt`, `image`, `size`, `seed`, `guidance_scale`, `num_inference_steps`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/wavespeed-ai/flux-kontext-dev-ultra-fast.
Average end-to-end generation time on WaveSpeedAI is around 7 seconds per request — measured across recent runs. Queue time scales with global demand; live status is visible in the prediction record.
Commercial usage rights depend on the model's license, set by its provider (WaveSpeedAI). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.