تصویرBlack Forest Labsجدید

FLUX.1 Schnell

تولید تصویر فوق السریع در کمتر از یک ثانیه

model: "flux-schnell"

حالت‌ها

یک شناسه مدل، هر حالتی در زیر. فیلدهایی که شما ارسال می‌کنید حالت را انتخاب می‌کنند و قیمت مطابق حالت تعیین می‌شود.

حالتانتخاب شده توسطقیمت معمول
متن به تصویرprompt
درخواست نمونه
{
  "model": "flux-schnell",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.0030
کنترل ساختارmodecontrol_lora_image_url
درخواست نمونه
{
  "model": "flux-schnell",
  "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

اختیاری

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

اختیاری
4

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.

گزینه‌های پیشرفته (3)

تنظیمات فراهم‌دهنده‌ای فراتر از کنترل‌های اصلی. برای استفاده از پیش‌فرض‌های مدل، آن‌ها را خالی بگذارید.

اختیاری

Faster inference at a small cost in detail.

اختیاری
-

How strictly the model follows the prompt. Higher is more literal.

اختیاری

File format of the result.

نتیجه

FLUX.1 Schnellنمونه خروجی

یک نتیجه واقعی از این مدل. آن را اجرا کنید تا نتیجه شما در اینجا نمایش داده شود.

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "flux-schnell",
  "input": {
    "prompt": "a cute cat being affectionate with a young girl, cat nuzzling the girl, warm and heartwarming scene, soft natural lighting"
  }
}'
FLUX.1 Schnell 1FLUX.1 Schnell 2FLUX.1 Schnell 3FLUX.1 Schnell 4FLUX.1 Schnell 5FLUX.1 Schnell 6