FLUX 3 Klein Text to Image API: AI تصویر

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.

کنترل‌های تعاملی مدل

با Black Forest Labs FLUX 3 Klein از طریق یک 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 تصویر خروجی.

مقدار پیش‌فرض1
مقدار سید تصادفی (Seed)integer

اختیاری 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.