---
title: "flux-3-klein-text-to-image (fast)"
method: POST
path: "/api/v1/flux-3-klein-text-to-image"
tags: ["Image: Text-to-Image"]
---

# flux-3-klein-text-to-image (fast)

`POST /api/v1/flux-3-klein-text-to-image`

## Request

- Base URL: `https://api.muapi.ai`
- URL: `https://api.muapi.ai/api/v1/flux-3-klein-text-to-image`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2 (client credentials, token URL `https://api.muapi.ai/oauth/token`)

Generate 1K, 2K, or 4K images with FLUX.3 Klein from a text prompt. Supports aspect ratios, PNG/JPEG/WebP output, prompt enhancement, and 1–4 images per request.

## Query parameters

- `webhook` string
- `team_id` integer, nullable

## Headers

- `x-api-key` string
- `x-embed-code` string, nullable
- `x-agent-embed-code` string, nullable
- `x-whitelabel-studio` string, nullable
- `authorization` string, nullable

## Request body

- Flux3KleinTextToImageRequest
  - `prompt` string, required
  - `aspect_ratio` '1:1' | '4:3' | '3:4' | '3:2' | '2:3' | '16:9' | '9:16' | '21:9' | '9:21'
  - `resolution` '1K' | '2K' | '4K'
  - `output_format` 'png' | 'jpeg' | 'webp'
  - `num_images` integer
  - `seed` integer, nullable
  - `enhance_prompt` boolean
  - `webhook_url` string, uri, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-19** `e4b7374381e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/muapi/apis/muapi-api/changes/api/v1/flux-3-klein-text-to-image/post.md)

---

[API](https://skmtc.dev/muapi/apis/muapi-api.md) · [All operations](https://skmtc.dev/muapi/apis/muapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/muapi/apis/muapi-api/revisions/e4b7374381e5?raw)
