صورةBlack Forest Labsجديد

FLUX.1 Dev

إنشاء صور عالية الجودة مع التحكم الدقيق

model: "flux-dev"

الأنماط

معرّف نموذج واحد، كل الأنماط أدناه. الحقول التي تُرسلها تختار النمط، والسعر يتبع النمط.

النمطيتم التحديد بواسطةالسعر الموضعي
نص إلى صورةprompt
طلب مثال
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
تحرير الصورةimage_url
طلب مثال
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
التحكم في البنيةmodecontrol_lora_image_url
طلب مثال
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

الإدخال

مطلوب

Prompt

اختياري

Image Size

اختياري
1

Number of Images

اختياري

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

اختياري

Control image (https URL), with mode "structure".

اختياري
3.5

Guidance Scale

اختياري
28

Steps

اختياري

Seed

اختياري

Selects a mode that the other fields cannot: "structure" follows the edges or depth of a control image.

اختياري

Follow the control image's edges (canny) or its depth.

خيارات متقدمة (2)

إعدادات المزود تتجاوز عناصر التحكم الرئيسية. اتركها فارغة لاستخدام إعدادات النموذج الافتراضية.

اختياري

Faster inference at a small cost in detail.

اختياري

File format of the result.

النتيجة

FLUX.1 Devمثال على المخرجات

نتيجة حقيقية من هذا النموذج. شغّله لترى نتيجتك هنا.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-dev",
  "input": {
    "prompt": "Professional portrait of a woman, soft natural lighting, shallow depth of field, photorealistic"
  }
}'
FLUX.1 Dev 1FLUX.1 Dev 2FLUX.1 Dev 3FLUX.1 Dev 4FLUX.1 Dev 5FLUX.1 Dev 6