FLUX 3 Klein Text to Image API: AI Image Generator

Generate 1K, 2K, and 4K images with the FLUX 3 Klein API. Set aspect ratio, output format, prompt enhancement, seed, and image count from one endpoint.

عناصر التحكم التفاعلية للنموذج

أنشئ صورًا باستخدام FLUX 3 Klein من Black Forest Labs عبر واجهة API غير متزامنة واحدة. اختر دقة 1K أو 2K أو 4K، وتسع نسب عرض إلى ارتفاع، وتنسيق PNG/JPEG/WebP، وتحسين المطالبة، وما يصل إلى أربع صور لكل طلب.

📝

نظرة عامة

حول هذا النموذج

The FLUX 3 Klein text-to-image API turns a prompt into one to four images through an asynchronous REST endpoint. Choose 1K, 2K, or 4K output, nine aspect ratios, PNG/JPEG/WebP, and optional prompt enhancement or a seed. It is a simple route for product visuals, concept art, campaign assets, and rapid creative iteration. Compare the wider FLUX Klein API lineup with the FLUX.2 models on FLUX.2 and other FLUX 3 capabilities on FLUX 3.

1Product imagery: Create studio-style product scenes in several output resolutions.
2Campaign concepts: Generate alternate image options for ads and landing pages.
3Concept art: Explore visual directions with prompt enhancement and repeatable seeds.
4Content pipelines: Request up to four images in a single asynchronous API call.
💰

التسعير والقيمة

تحليل التكلفة

muapiapp$0.009 / $0.014 / $0.036 لكل صورة (1K / 2K / 4K)

نقطة نهاية غير متزامنة واحدة؛ ويتناسب الإجمالي مع num_images.

Fal.ai$0.009 / $0.014 / $0.036 لكل صورة (1K / 2K / 4K)

يطابق جدول الأسعار المخطط له كما يظهر في لقطة الشاشة المرجعية المقدمة.

Replicateلم تتم المقارنة

لم يتم التحقق من سعر عام حالي ومماثل لهذه الصفحة.

** يتم تقدير أسعار المنافسين بناءً على بنيات النماذج ومستويات الاستخدام المماثلة.

⚙️

التفاصيل الفنية

مخطط التكوين

موجهstring

Describe the image or the edit to apply (up to 5,000 characters).

القيمة الافتراضيةA sculptural glass perfume bottle on a warm limestone plinth, soft editorial light, crisp product photography.
نسبة الارتفاعالتعداد (9 خيارات)

Output framing.

القيمة الافتراضية1:1
القرارالتعداد (3 خيارات)

Requested output resolution.

القيمة الافتراضية1K
تنسيق الإخراجالتعداد (3 خيارات)

Image encoding for each generated output.

القيمة الافتراضيةpng
عدد الصورinteger

Number of images to generate (1–4). Price is charged per output image.

القيمة الافتراضية1
بذرةinteger

Optional reproducibility seed.

القيمة الافتراضية-
Enhance Promptboolean

Let the model refine the prompt before generation.

القيمة الافتراضيةtrue
📖

دليل التنفيذ

وثائق المطور

How to Use the FLUX 3 Klein Text-to-Image API

  1. Write a prompt. Describe the subject, composition, lighting, style, and details you want. The prompt can contain up to 5,000 characters.

  2. Choose output settings. Select resolution (1K, 2K, or 4K), aspect_ratio, output_format, and num_images (1–4). Set seed to repeat a variation and use enhance_prompt to let the model refine your prompt. Pricing is per output image: $0.009 at 1K, $0.014 at 2K, and $0.036 at 4K.

  3. Submit and retrieve the result.

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}'

# Poll the asynchronous task
curl https://api.muapi.ai/api/v1/predictions/REQUEST_ID/result \
  -H "x-api-key: YOUR_API_KEY"

The result contains an outputs array of image URLs. For image-guided changes, use the FLUX 3 Klein edit endpoint.

❓

الأسئلة الشائعة

كثيرا ما يطلب

What is the FLUX 3 Klein API?

It is an asynchronous image generation API for FLUX 3 Klein. Submit a text prompt and choose output resolution, aspect ratio, image format, and other supported settings.

What resolutions can I request?

Choose 1K, 2K, or 4K. The selected resolution determines the per-image price.

How much does FLUX 3 Klein image generation cost?

Muapi charges $0.009 per 1K image, $0.014 per 2K image, and $0.036 per 4K image. A request for multiple outputs is charged per output image.

Can I generate more than one image per call?

Yes. Set `num_images` from 1 to 4. The returned `outputs` array contains the generated image URLs.

Which aspect ratios and file types are supported?

The text-to-image endpoint supports 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 21:9, and 9:21. Outputs can be PNG, JPEG, or WebP.