Modelos/Black Forest Labs/FLUX Klein API
AtivoBlack Forest Labs · FLUX 3 Klein and FLUX.2 Klein16 endpoints

API FLUX 3 Klein — Geração e edição de imagens FLUX Klein

Use a API FLUX 3 Klein para gerar imagens por prompt e editar imagens de referência, junto aos endpoints FLUX.2 Klein 4B, 9B, Turbo, LoRA e treinamento de estilos. Escolha saídas 1K, 2K ou 4K em uma única API assíncrona.

FLUX 3 Klein

Geração de texto para imagem e edição de imagem em 1K, 2K e 4K2 modelos
Texto para imagemAtivoFeatured
FLUX 3 Klein

FLUX 3 Klein Text to Image

FLUX 3 Klein FLUX 3 Klein Text to Image is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

1K–4K
$0.009 / 1K · $0.014 / 2K · $0.036 / 4K
Experimentar modelo
Edição de imagemAtivo
FLUX 3 Klein

FLUX 3 Klein Image Edit

FLUX 3 Klein FLUX 3 Klein Image Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

1K–4K
$0.009 / 1K · $0.014 / 2K · $0.036 / 4K
Experimentar modelo

FLUX.2 Klein 4B

Geração compacta de texto para imagem e edição por referência2 modelos
Texto para imagemAtivo
FLUX.2 Klein 4B

FLUX 2 Klein 4b

FLUX.2 FLUX 2 Klein 4b is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

Image
$0.0104/request
Experimentar modelo
Edição de imagemAtivo
FLUX.2 Klein 4B

FLUX 2 Klein 4b Edit

FLUX.2 FLUX 2 Klein 4b Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

Image
$0.0156/request
Experimentar modelo

FLUX.2 Klein 9B

Variantes Klein maiores para geração e edição2 modelos
Texto para imagemAtivo
FLUX.2 Klein 9B

FLUX 2 Klein 9b

FLUX.2 FLUX 2 Klein 9b is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

Image
$0.013/request
Experimentar modelo
Edição de imagemAtivo
FLUX.2 Klein 9B

FLUX 2 Klein 9b Edit

FLUX.2 FLUX 2 Klein 9b Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

Image
$0.0208/request
Experimentar modelo

FLUX.2 Klein 4B Turbo

Geração e edição compactas e rápidas2 modelos
Texto para imagemAtivo
Klein 4B Turbo

FLUX 2 Klein 4b Turbo

FLUX.2 FLUX 2 Klein 4b Turbo is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

ImageRápido
$0.0052/request
Experimentar modelo
Edição de imagemAtivo
Klein 4B Turbo

FLUX 2 Klein 4b Turbo Edit

FLUX.2 FLUX 2 Klein 4b Turbo Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

ImageRápido
$0.0078/request
Experimentar modelo

FLUX.2 Klein 9B Turbo

Geração e edição rápidas com 9B2 modelos
Texto para imagemAtivo
Klein 9B Turbo

FLUX 2 Klein 9b Turbo

FLUX.2 FLUX 2 Klein 9b Turbo is a live Muapi endpoint for text-to-image. Submit it with one API key and poll the shared result endpoint.

ImageRápido
$0.0065/request
Experimentar modelo
Edição de imagemAtivo
Klein 9B Turbo

FLUX 2 Klein 9b Turbo Edit

FLUX.2 FLUX 2 Klein 9b Turbo Edit is a live Muapi endpoint for image editing. Submit it with one API key and poll the shared result endpoint.

ImageRápido
$0.0104/request
Experimentar modelo

FLUX.2 Klein LoRA API

Aplique LoRAs personalizados à geração e edição4 modelos
Suporte a LoRAAtivo
Suporte a LoRA

FLUX 2 Klein 4b Text To Image LoRA

FLUX.2 FLUX 2 Klein 4b Text To Image LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.

Image
$0.02/request
Experimentar modelo
Suporte a LoRAAtivo
Suporte a LoRA

FLUX 2 Klein 9b Text To Image LoRA

FLUX.2 FLUX 2 Klein 9b Text To Image LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.

Image
$0.025/request
Experimentar modelo
Suporte a LoRAAtivo
Suporte a LoRA

FLUX 2 Klein 4b Edit LoRA

FLUX.2 FLUX 2 Klein 4b Edit LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.

Image
$0.025/request
Experimentar modelo
Suporte a LoRAAtivo
Suporte a LoRA

FLUX 2 Klein 9b Edit LoRA

FLUX.2 FLUX 2 Klein 9b Edit LoRA is a live Muapi endpoint for LoRA inference. Submit it with one API key and poll the shared result endpoint.

Image
$0.03/request
Experimentar modelo

FLUX.2 Klein LoRA Training

Treine LoRAs de estilo Klein personalizados2 modelos
TreinamentoAtivo
Treinamento de estilos

FLUX 2 Klein 4b Style LoRA Trainer

FLUX.2 FLUX 2 Klein 4b Style LoRA Trainer is a live Muapi endpoint for LoRA training. Submit it with one API key and poll the shared result endpoint.

LoRA weights
$4.50/request
Experimentar modelo
TreinamentoAtivo
Treinamento de estilos

FLUX 2 Klein 9b Style LoRA Trainer

FLUX.2 FLUX 2 Klein 9b Style LoRA Trainer is a live Muapi endpoint for LoRA training. Submit it with one API key and poll the shared result endpoint.

LoRA weights
$4.00/request
Experimentar modelo

O que é a API FLUX Klein?

A API FLUX Klein reúne a família compacta de imagens da Black Forest Labs em um catálogo de endpoints para desenvolvedores. FLUX 3 Klein adiciona geração de texto para imagem e edição por instruções com saída 1K, 2K ou 4K, vários resultados, controles de proporção e formatos PNG, JPEG ou WebP. FLUX.2 Klein continua disponível nas variantes 4B, 9B, Turbo, inferência LoRA e treinamento de estilos.

Use a API FLUX 3 Klein para gerar ou editar imagens com resolução selecionável em um fluxo assíncrono simples. Compare as opções FLUX.2 Klein 4B e 9B ou explore os catálogos mais amplos da [API FLUX.2](/flux-2) e da [API FLUX 3](/flux-3). Todas as solicitações Muapi usam a mesma chave de API, ID de solicitação, endpoint de consulta de resultados e opção de webhook.

Recursos da API FLUX Klein

Geração de imagens FLUX 3 Klein

Crie imagens a partir de prompts de texto em 1K, 2K ou 4K, com nove proporções, três formatos de saída, aprimoramento de prompt e até quatro resultados por solicitação.

Edição de imagem FLUX 3 Klein

Envie de 1 a 10 URLs de imagens de referência e um prompt de edição em linguagem natural. Escolha enquadramento automático ou fixo e solicite até quatro saídas.

Variantes FLUX.2 Klein

Compare os modelos 4B, 9B e Turbo de geração de texto para imagem e edição, além dos endpoints de inferência LoRA listados.

Um fluxo de API

Envie uma solicitação assíncrona, consulte o ID do resultado ou informe uma URL de webhook para receber notificações de conclusão.

Início rápido — API FLUX 3 Klein

Gere ou edite imagens com FLUX 3 Klein e recupere as URLs das imagens pelo endpoint padrão de resultados da Muapi.

1. Gere uma imagem com FLUX 3 Klein

curl -X POST https://api.muapi.ai/api/v1/flux-3-klein-text-to-image \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A sculptural glass perfume bottle on a warm limestone plinth, soft editorial light","resolution":"2K","aspect_ratio":"4:3","num_images":2}'

# Response: {"request_id":"REQUEST_ID"}

Selecione a resolução, a proporção, o formato de saída e a quantidade de imagens. O preço indicado é por imagem de saída.

2. Edite uma imagem de referência com FLUX 3 Klein

curl -X POST https://api.muapi.ai/api/v1/flux-3-klein-edit-image \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Replace the plain background with a warm limestone studio, preserving the product shape","images_list":["https://example.com/product.jpg"],"resolution":"2K","aspect_ratio":"auto"}'

Forneça de uma a dez URLs públicas de imagens de referência e descreva a edição desejada.

3. Consulte o resultado

curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \
  -H "x-api-key: YOUR_API_KEY"

Leia as URLs das imagens concluídas no array outputs.

Perguntas frequentes sobre a API FLUX 3 Klein

O que é a API FLUX 3 Klein?

É uma API assíncrona para gerar imagens por prompts e editar imagens de referência com o modelo FLUX 3 Klein. O endpoint aceita saídas 1K, 2K e 4K.

Quanto custa a API FLUX 3 Klein?

A Muapi cobra $0.009 por imagem 1K, $0.014 por imagem 2K e $0.036 por imagem 4K. Solicitações com várias saídas são cobradas por imagem.

Posso usar FLUX Klein para edição de imagens?

Sim. Chame `flux-3-klein-edit-image`, informe de 1 a 10 URLs públicas em `images_list` e descreva a edição em `prompt`. O catálogo também inclui endpoints de edição separados para FLUX.2 Klein.

Quantas imagens uma solicitação FLUX 3 Klein pode retornar?

Defina `num_images` de 1 a 4. O preço é calculado por imagem gerada.

Quais formatos de imagem e proporções são compatíveis?

Escolha PNG, JPEG ou WebP. Texto para imagem aceita 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9 e 9:21. A edição também aceita enquadramento `auto`.

Qual é a diferença entre FLUX 3 Klein e FLUX.2 Klein?

Este catálogo oferece FLUX 3 Klein para geração de texto para imagem e edição em 1K–4K e FLUX.2 Klein para endpoints 4B/9B e Turbo de imagem, edição, LoRA e treinamento. São gerações distintas, com endpoints disponíveis diferentes.

Desenvolva com a API FLUX Klein

Use uma chave de API para gerar e editar imagens com FLUX 3 Klein e compare suas solicitações com as variantes FLUX.2 Klein.