Our GPUsText to imageImage editing

FLUX 3 Image Klein

flux-3-klein

Black Forest Labs' step-distilled FLUX 3 Klein on VelvetAPI's own GPUs: text to image, and edits that combine up to ten images: your outputs, uploads or image URLs.

Made with FLUX 3 Klein by Black Forest Labs

The full showcase
A woman with long dark wavy hair in a deep rose bikini standing knee-deep in turquoise surf at golden hour, pushing her hair back.A woman with long box braids in a red satin slip dress with a high slit leaning on a rooftop bar's glass railing at night, city lights behind her.A couple embracing and laughing at the stern of a sailing yacht at sunset, she in a white bikini and he in light blue swim shorts.A woman with short natural curls in an emerald bikini resting her arms on the edge of an infinity pool above the sea at sunset, looking over her shoulder.A woman with slicked-back wet dark hair in a black scoop-neck swimsuit, water running down her face and shoulders, under a single hard light.A woman with long black hair in a champagne silk slip lying on ivory silk sheets in a hotel bed, morning light through sheer curtains.A woman with long dark hair in a burgundy satin corset and silk trousers leaning against tall French windows in a Paris hotel suite at dusk.A woman with her black hair in a sleek low chignon, in a silver sequined mini dress, dancing under magenta and blue nightclub lights with haze around her.A woman with sleek dark red hair in a black patent leather trench coat over black lace, standing in a rain-soaked alley glowing with magenta neon.A bearded man in navy swim shorts sitting on the edge of a pool with his feet in the water on a Greek island, whitewashed walls and sea behind him.

Unedited outputs. Open one to read its prompt, size and seed.

Tips

  • Write a full scene caption: subject, setting, lighting and style. Klein is tuned for detailed descriptions and does noticeably worse with short requests.
  • For edits, pass up to ten of your own earlier output URLs as reference_images and refer to them in the prompt as "the first image", "the second image" and so on.
  • It's step-distilled: 4 to 16 steps (16 by default), and there's no guidance scale or negative prompt.
  • Sizes run from 256 to 2,048 pixels per side in multiples of 16. Without a size you get 1,024 × 1,024, or the size of the first reference image.

Inputs

Send these in the task's input object. Only required fields are needed; GET /v1/models/flux-3-klein returns them as a JSON Schema.

FieldTypeDefaultDetails
promptrequiredstring—

A full scene caption. Klein expects detailed descriptions of subject, setting, lighting and style, not short requests.

up to 20,000 characters

widthinteger—

Multiple of 16. Defaults to 1024, or the first reference image's width.

256 to 2,048 · multiple of 16

heightinteger—

Multiple of 16. Defaults to 1024, or the first reference image's height.

256 to 2,048 · multiple of 16

stepsinteger—

Sampling steps (default 16).

4 to 16

seedinteger—

0 to 2,147,483,647

num_imagesinteger1

1 to 4

reference_imagesarray of URLs[]

Images to edit or combine: this account's outputs, its uploads (POST /v1/uploads), or any HTTPS image URL, which is imported and screened first. The caption refers to them as "the first image", "the second image" and so on.

up to 10 items

lorasarray of objects[]

Up to three LoRA presets by name.

up to 3 items

loras[].sourcerequiredstring—
loras[].scalenumber0.8

0 to 4

output_formatstring"jpeg"

one of jpeg, png, webp

Example

Create a task with your API key, then poll it or pass a webhook_url. user is your own id for the end user who asked for the image.

POST /v1/tasks
curl https://api.velvetapi.dev/v1/tasks \
  -H "Authorization: Bearer $VELVET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-3-klein",
  "user": "user-123",
  "input": {
    "prompt": "A candid photograph of a woman with auburn hair reading on a sunlit balcony, soft morning light, 35mm film grain."
  }
}'

Response 202 Accepted

{
  "id": "0b9c6c2e-4d3f-4a51-9a8e-2f7d1c3b5a90",
  "object": "task",
  "model": "flux-3-klein",
  "state": "queued",
  "user": "user-123",
  "price_usd": 0.008,
  "outputs": [],
  "error": null,
  "meta": {},
  "created_at": "2026-10-20T06:31:00.000Z",
  "started_at": null,
  "finished_at": null
}

Next: tasks and webhooks, errors and the API reference.

Made with

Prompt

Get your API key