Skip to content
הדף עדיין אינו זמין בשפה שלכם, ולכן הוא מוצג באנגלית.
Black Forest Labs · FLUX

flux-3-image-klein API

Generate and edit images with up to 10 references and output up to 4K on APISea.

יצירת תמונותתמונותמשימה אסינכרונית
מזהה מודל
flux-3-image-klein

תמחור API של flux-3-image-klein

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

אפשרותAPISeaרשמיחיסכון
ברירת מחדלברירת מחדל$0.00792$0.009−12%
1.5K$0.00968$0.011−12%
1K$0.00792$0.009−12%
2K$0.01232$0.014−12%
4K$0.03168$0.036−12%
768SQ$0.00704$0.008−12%

המחירים הם לכל תמונה.

מהו flux-3-image-klein?

flux-3-image-klein is an image model from Black Forest Labs in the FLUX family, available through APISea for text-to-image generation, single-image editing, and multi-image reference workflows. Supply a scene description or editing instructions, optionally with up to 10 reference images through publicly accessible HTTP(S) URLs or Base64 input. Output controls include multiple aspect ratios, resolution tiers up to 4K, JPEG or PNG format, a random seed, and generation steps. Prompts can also include tags and bounding-box JSON for layouts or local edits.

Call the model through APISea’s image generation endpoint using your APISea API key. Requests are asynchronous: submission returns a task_id, and task queries retrieve status and images. Each request generates one image. APISea uses pay-as-you-go pricing and bills only successful requests, with the resolution parameter determining the price tier. The default 1K configuration costs $0.00792 per image, about 12% below the provider list price of $0.009 per image.

המאפיינים הבולטים של flux-3-image-klein

Generation and Editing

Create images from text or provide one reference image with editing instructions. Both workflows use the same image generation endpoint.

Multiple Image References

Supply up to 10 reference images through publicly accessible HTTP(S) URLs or Base64 input. Refer to images by their order in the prompt.

Resolution and Aspect Controls

Choose from 768SQ, 1K, 1.5K, 2K, and 4K resolution tiers, with multiple portrait, landscape, and square aspect ratios. Resolution determines the billing tier.

Local Editing Instructions

Use tags and bounding-box JSON within the prompt to specify layouts or local editing regions. Bounding boxes are part of the prompt, not a separate request parameter.

איך לקרוא ל-API של flux-3-image-klein ב-4 שלבים

  1. 01

    יצירת מפתח API

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.

  3. 03

    שליחת הבקשה

    יש לקרוא ל-POST /v1/images/generations עם "model": "flux-3-image-klein" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    התגובה מכילה task_id. יש לשלוח בקשות GET אל /v1/tasks/{task_id} עד שהסטטוס יהיה completed, ואז להוריד את כתובות ה-URL של התוצאות.

curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "flux-3-image-klein",
    "prompt": "Ultra-wide cinematic shot of a fog-drenched coastal highway at dawn, a single vintage car with headlights on",
    "aspect_ratio": "21:9",
    "resolution": "2k"
  }'

פרמטרים

פרמטרסוגנדרשברירת מחדלתיאור
modelstringנדרש—Must be `flux-3-image-klein`.
nsfw_checkbooleanאופציונליfalseWhether to run content moderation before submitting the image task.
promptstringנדרש—A scene description for text-to-image, or image editing instructions. Negative prompts are not supported; describe what you want to see instead.
image_urlsstring[]אופציונלי—Reference image list, up to 10 images. Supports publicly accessible HTTP(S) URLs or Base64 input.
aspect_ratiostringאופציונליautoOutput aspect ratio. Supported values:
sizestringאופציונלי—Compatibility parameter for the aspect ratio. Can replace `aspect_ratio` and accepts the same values. Use only one of these fields.
resolutionstringאופציונלי1kOutput resolution tier. Supports `768sq`, `1k`, `1.5k`, `2k`, and `4k`, case-insensitively. `768` is equivalent to `768sq`.
safety_toleranceintegerאופציונלי2Content safety tolerance, from 0–4. 0 is the strictest.
seedintegerאופציונלי—Random seed, from 0 to 4294967295.
stepsintegerאופציונלי16Generation steps, from 1 to 16; default: 16. Fewer steps can speed up generation but may reduce image quality. Steps do not affect pricing.
output_formatstringאופציונליjpegImage file format: `jpeg` (default) or `png`; `jpg` is equivalent to `jpeg`. `webp` is not supported and returns HTTP 400.
nintegerאופציונלי1Each request generates 1 image; only `1` is supported. Submit separate tasks for multiple images. Values above 1 return HTTP 400.

מה אפשר לבנות עם flux-3-image-klein

Creative Asset Generation

Build a tool that turns scene descriptions into images, with aspect-ratio choices for portrait, landscape, or square placements.

Image Revision Workflows

Let users upload a reference image and describe changes in natural language, including local edits specified with bounding boxes.

Multi-Reference Creation

Build image creation workflows that accept several references and let users identify which reference should guide each part of the prompt.

Resolution-Based Export

Offer selectable output tiers from 768SQ through 4K, with JPEG or PNG delivery and pricing tied to the selected resolution.

טיפים לקבלת תוצאות טובות יותר

  • 01

    Describe Desired Results

    Write what you want to see rather than using negative prompts. The negative_prompt parameter is unsupported and returns HTTP 400.

  • 02

    Separate Shape From Resolution

    Use aspect_ratio or size for the output ratio, but not both. Select the billing and output tier with resolution; pixel dimensions such as 1024x1024 in size are unsupported.

  • 03

    Budget by Resolution

    Omitting resolution uses 1K at $0.00792 per image; 768SQ costs $0.00704 per image. Reducing steps may speed generation but does not reduce the price.

  • 04

    Poll Until Terminal Status

    Query the returned task_id and stop polling when status is completed or failed. For 4K generation, which may take several minutes, the documentation recommends a total wait timeout of 10 minutes.

מגבלות ודברים שכדאי לדעת

  • Each request generates one image; n values above 1 return HTTP 400.

  • Reference input is limited to 10 images per request.

  • WebP output and parameters such as mask_url, guidance, width, and height are unsupported.

שאלות נפוצות על API של flux-3-image-klein

How much does flux-3-image-klein cost on APISea?

APISea Default and 1K cost $0.00792 per image; 768SQ costs $0.00704 per image; 1.5K costs $0.00968 per image; 2K costs $0.01232 per image; and 4K costs $0.03168 per image. The default configuration is about 12% below the provider list price, and APISea bills only successful requests.

How do I call flux-3-image-klein through the API?

Send a POST request to https://api.apisea.ai/v1/images/generations with Bearer authentication using your APISea API key. Set model to flux-3-image-klein and provide prompt; the asynchronous response returns a task_id for status and image retrieval.

Does flux-3-image-klein support image editing and references?

Yes. Provide one image in image_urls for single-image editing or up to 10 images for multi-image reference workflows, using publicly accessible HTTP(S) URLs or Base64 input.

Which output parameters can I control?

You can set aspect_ratio, resolution, seed, steps, and output_format, along with the documented safety controls. Resolution supports 768sq, 1k, 1.5k, 2k, and 4k; output format supports JPEG and PNG.

Can I generate multiple images in one request?

No. Only n equal to 1 is supported, and higher values return HTTP 400. Submit separate tasks to generate multiple images.

Can I use flux-3-image-klein commercially?

Commercial use is subject to the provider's terms. Review Black Forest Labs’ applicable terms for your intended use; the supplied API documentation does not specify commercial licensing rights.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם flux-3-image-klein

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.