GambarBlack Forest LabsBaru

FLUX.1 Dev

Generasi gambar berkualitas tinggi dengan kontrol halus

model: "flux-dev"

Mode

Satu ID model, setiap mode di bawah. Kolom yang Anda kirimkan memilih mode, dan harga mengikuti mode.

Mode pembuatanDipilih olehHarga khas
Teks ke gambarprompt
Contoh permintaan
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.025
Edit gambarimage_url
Contoh permintaan
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.030
Kontrol strukturmodecontrol_lora_image_url
Contoh permintaan
{
  "model": "flux-dev",
  "input": {
    "prompt": "a lighthouse at dusk",
    "mode": "structure",
    "control_lora_image_url": "https://example.com/image.jpg"
  }
}
$0.040

Input

Diperlukan

Prompt

Opsional

Image Size

Opsional
1

Number of Images

Opsional

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.

Opsional

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

Opsional
3.5

Guidance Scale

Opsional
28

Steps

Opsional

Seed

Opsional

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

Opsional

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

Opsi lanjutan (2)

Pengaturan penyedia di luar kontrol utama. Biarkan kosong untuk menggunakan default model.

Opsional

Faster inference at a small cost in detail.

Opsional

File format of the result.

Hasil

FLUX.1 DevContoh output

Hasil nyata dari model ini. Jalankan untuk melihat hasil Anda di sini.

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