All Models

WaveSpeed logo

FLUX 2 Klein 4B API

FLUX 2 Klein 4B generates images from text and transforms supplied artwork, with reference-guided editing for artistic style, lighting, and mood changes.

Try in Studio
More options (2)
Generate

Pricing depends on the selected inputs. See the rates below.

FLUX 2 Klein 4B example

Supported modes

Edit

Edit uses images and prompt. Adjust the model options to prepare a request for this mode.

image.edit

Text to Image

Text to Image uses prompt. Adjust the model options to prepare a request for this mode.

image.generate

Pricing

Image editing

Price per run for each listed option.

OfferingPrice (USD)
All listed options$0.02 / run
  • Images count: 1, 2, 3 (same price).

Image generation

Price per run for each listed option.

OfferingPrice (USD)
Per run$0.01 / run

Edit options

OptionDetailsDefault
Images *
images
Public URLs, data URIs, or asset ids.โ€”
Prompt *
prompt
Text input.โ€”
Seed
seed
Numeric setting.โ€”
Size
size
The size of the generated image in pixels (width*height). Minimum: 256. Maximum: 2048.โ€”

FLUX 2 Klein 4B

FLUX 2 Klein 4B supports both image generation and text-guided editing. Written descriptions provide the basis for original visuals; existing images provide the material for transformations. Reference imagery can supply additional context for an edit, connecting the requested change to a visual example.

Editing covers changes to content and appearance, including lighting and atmosphere. It can reinterpret supplied artwork in comic, anime, or painted styles. The combination lets a team develop an initial concept and then examine how a selected image works in different treatments.

What it's good for

Early design reviews can use generated drafts to discuss a proposed scene or visual theme. A chosen draft can then be edited to test a different mood, giving reviewers alternatives tied to the same starting image.

Existing illustrations can also become themed presentation graphics or social artwork through changes in style and lighting. Reference-guided editing provides a visual basis for exploring the intended treatment.

Run FLUX 2 Klein 4B on Protoface

Use FLUX 2 Klein 4B in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

Model publisher

About WaveSpeed

WaveSpeed is an AI inference platform offering third-party generative models through developer APIs and creator applications. Its image and video workflows sit alongside WaveSpeed-branded media tools, including Video Face Swap, which takes source footage and a reference portrait to replace a selected face in a video.

  • Media inference
  • Creative tools
  • Video face swap

Related models

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai