Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Pruna AI: FLUX Kontext Fast

prunaai/flux-kontext-fast

Access FLUX Kontext Fast from Pruna AI using the Puter.js AI API.

Add to your app

Model Card

FLUX Kontext Fast is Pruna AI's speed-optimized endpoint for Black Forest Labs' FLUX.1 Kontext, an image editing model.

It takes an input image and a text prompt describing the change, and returns the edited image. Pruna runs the model through its own optimization framework to reduce latency compared with its standard flux-kontext-dev endpoint, and describes the result as an ultra fast Kontext endpoint. Pruna has not published benchmark scores for it.

Generation is billed at $0.01 per image. Parameters such as guidance strength, inference steps, and output quality can be adjusted to trade speed against fidelity.

It suits developers who need instruction-based image edits in interactive apps or high-volume pipelines, where turnaround time and per-image cost matter.

Cost Per Image $0.01

per generation

Configuration output

resolution

Release Date N/A

 

Add FLUX Kontext Fast to your app

Use FLUX Kontext Fast in your app with the Puter.js AI API, no API keys or setup required.

// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.txt2img("A serene mountain landscape at sunset", {
    model: "prunaai/flux-kontext-fast"
}).then(image => {
    document.body.appendChild(image);
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.txt2img("A serene mountain landscape at sunset", {
            model: "prunaai/flux-kontext-fast"
        }).then(image => {
            document.body.appendChild(image);
        });
    </script>
</body>
</html>

More AI Models From Pruna AI

Find other Pruna AI models →

Image

FLUX Fast

FLUX Fast is Pruna AI's speed-optimized version of Black Forest Labs' FLUX.1 [dev] image generation model. Pruna applies its own compression stack to the base model, combining flux caching (reusing outputs from earlier diffusion steps) with its diffusers2 compiler. On FLUX.1 [dev], Pruna reports this combination gives a 2.7x speedup over the original model, while keeping output quality close to the source on standard metrics such as LPIPS, SSIM, and PSNR. Pruna markets FLUX Fast as the fastest FLUX endpoint available, aimed at cases where turnaround time matters, such as interactive apps and high-throughput generation pipelines. It suits developers who want FLUX.1 [dev] quality without the latency of the standard model.

Image

P-Image

P-Image is Pruna AI's own text-to-image model, generating images in about one second at $0.005 each. Pruna describes it as building on prior open image models from Black Forest Labs (the FLUX series) and Alibaba (Qwen Image, Z-Image) rather than a single from-scratch architecture, though the company hasn't published full architectural details. Pruna positions P-Image as matching the quality of state-of-the-art image models while running about 30 times cheaper and 50 times faster, per its own figures. It's built for exact prompt adherence and reliable, controllable text rendering inside generated images. Use cases include real-time or high-volume applications, such as advertising and gaming assets, where both cost and latency matter.

Image

P-Image LoRA

P-Image LoRA is Pruna AI's inference endpoint for running custom-trained LoRA (Low-Rank Adaptation) adapters on top of P-Image. Rather than a fine-tuned model in itself, it's the serving side of a pair, users train a LoRA with Pruna's separate P-Image Trainer, then deploy it through P-Image LoRA to generate images with that custom style, subject, or character baked in. Trained adapters can be shared through Pruna's P-Image LoRA collection on Hugging Face. It carries the same fast, Pruna-optimized generation as the base P-Image model. It suits developers who want P-Image's speed and pricing combined with a personalized model, without retraining or hosting a full image model themselves.

Frequently Asked Questions

How do I use FLUX Kontext Fast?

You can access FLUX Kontext Fast by Pruna AI through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required.

Is the FLUX Kontext Fast API free for developers?

FLUX Kontext Fast is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.

What is the pricing for FLUX Kontext Fast?
FLUX Kontext Fast costs $0.01 per image.
Price
Per image$0.01
Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the FLUX Kontext Fast API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Add FLUX Kontext Fast to your app for free

Developers can integrate FLUX Kontext Fast for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.

Get started How pricing works