Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
Black Forest Labs · FLUX

flux-3-image API

Generate and edit images with flux-3-image on APISea, using up to 10 reference images and resolution tiers up to 4k.

إنشاء الصورالصورمهمة غير متزامنة
معرّف النموذج
flux-3-image

تسعير API لنموذج flux-3-image

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

الخيارAPISeaرسميوفّر
افتراضيافتراضي$0.04224$0.048−12%
1.5K$0.0616$0.07−12%
1K$0.04224$0.048−12%
2K$0.088$0.10−12%
4K$0.5342$0.607−12%
768SQ$0.03608$0.041−12%

الأسعار لكل صورة.

ما هو flux-3-image؟

flux-3-image 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. Controls include multiple aspect ratios, resolution tiers from 768sq to 4k, optional pre-submission moderation, and web or image search grounding. Layout and local editing instructions can include tags and bounding-box JSON within the prompt.

Call the image generation endpoint with your APISea key. Each asynchronous request generates one image and returns a task_id for status queries. APISea uses pay-as-you-go pricing and bills only successful requests, with the resolution parameter selecting the billing tier. The default configuration uses 1k at $0.04224 per image, about 12% below the provider list price of $0.048 per image.

أبرز مزايا flux-3-image

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 as publicly accessible HTTP(S) URLs or Base64 input. Refer to images by their order in the prompt.

Aspect and Resolution Controls

Choose from multiple aspect ratios and resolution tiers of 768sq, 1k, 1.5k, 2k, and 4k. Automatic aspect ratio follows the first reference image for editing and reference workflows.

Local Editing Instructions

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

كيفية استدعاء API الخاص بـ flux-3-image في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/images/generations مع "model": "flux-3-image" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.

أمثلة على الطلبات

الوثائق: FLUX 3 Image Generation
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",
    "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`.
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.
groundingbooleanاختياريtrueWhether to allow web or image searches before generation. Set to `false` to disable.
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

Creative Asset Generation

Build a tool that turns scene descriptions into images, with aspect ratio and resolution choices for each asset.

Reference-Based Design Workflows

Let teams submit multiple reference images and describe how they should inform a new image.

Targeted Image Revisions

Create an editing interface that translates requested changes and selected image regions into prompt instructions and bounding-box JSON.

Image Task Queues

Build an asynchronous generation queue that submits individual image tasks and retrieves completed images through task status queries.

نصائح للحصول على نتائج أفضل

  • 01

    Describe Desired Results

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

  • 02

    Choose the Billing Tier

    Set resolution explicitly when selecting cost and output resolution. Omitting it uses 1k at $0.04224 per image; 768sq costs $0.03608 per image.

  • 03

    Separate Ratio From Resolution

    Use aspect_ratio or its compatibility field size, but not both. Select resolution separately; pixel dimensions in size return HTTP 400.

  • 04

    Poll Until Terminal Status

    Query the returned task_id and stop polling when status is completed or failed. Generation at 4k may take several minutes; a total wait timeout of 10 minutes is recommended.

القيود ومعلومات مهمة

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

  • Reference input is limited to 10 images per request.

  • Parameters including seed, steps, guidance, output_format, and mask_url are unsupported and return HTTP 400.

الأسئلة الشائعة حول API الخاص بـ flux-3-image

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

APISea prices are: Default and 1K at $0.04224 per image, 768SQ at $0.03608 per image, 1.5K at $0.0616 per image, 2K at $0.088 per image, and 4K at $0.5342 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 through APISea?

Send a POST request to https://api.apisea.ai/v1/images/generations with Bearer authentication using your APISea key, model set to flux-3-image, and a required prompt. Submission is asynchronous and returns a task_id; query task status to retrieve the images.

Can flux-3-image edit images or use multiple 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 resolution and aspect ratio parameters are supported?

The resolution parameter accepts 768sq, 1k, 1.5k, 2k, and 4k, case-insensitively; 768 is equivalent to 768sq. Use aspect_ratio or size for supported ratios such as 1:1, 16:9, or 9:16, or use auto; pixel dimensions in size are not supported.

Does flux-3-image support moderation and grounding controls?

Set nsfw_check to true to review prompts and input images with omni-moderation-latest before submission; it defaults to false. Grounding defaults to true and allows web or image searches before generation; set it to the boolean false to disable it.

Can I use flux-3-image outputs commercially?

Commercial use is subject to the provider's terms. Review Black Forest Labs' applicable terms and your intended use before deploying generated images commercially.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام flux-3-image

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.