GambarBlack Forest LabsBaru

FLUX Kontext Pro

Edit gambar dengan instruksi teks

model: "flux-kontext-pro"

Mode

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

Mode pembuatanDipilih olehHarga khas
Edit gambarimage_url
Contoh permintaan
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Kontrol strukturmodecontrol_image_url
Contoh permintaan
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "mode": "structure",
    "control_image_url": "https://example.com/image.jpg"
  }
}
$0.050

Input

Diperlukan

Prompt

Diperlukan

Image to edit. A public https URL, or an upload URL from POST /v1/uploads.

Opsional
1

Count

Opsional

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

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 (4)

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

Opsional

Let the model rewrite the prompt for better results.

Opsional
-

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

Opsional

File format of the result.

Opsional

Random seed. The same seed and input reproduce the same result.

Hasil

FLUX Kontext ProContoh 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-kontext-pro",
  "input": {
    "prompt": "man with the bycycle"
  }
}'
FLUX Kontext Pro 1FLUX Kontext Pro 2FLUX Kontext Pro 3FLUX Kontext Pro 4FLUX Kontext Pro 5FLUX Kontext Pro 6