ImejBlack Forest LabsBaharu

FLUX Kontext Pro

Sunting imej dengan arahan teks

model: "flux-kontext-pro"

Mod

Satu ID model, setiap mod di bawah. Medan yang anda hantar memilih mod, dan harga mengikuti mod.

ModDipilih olehHarga biasa
Edit imejimage_url
Contoh permintaan
{
  "model": "flux-kontext-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040
Kawalan 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.

Pilihan
1

Count

Pilihan

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

Pilihan

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

Pilihan

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

Pilihan lanjutan (4)

Tetapan penyedia di luar kawalan utama. Biarkan kosong untuk menggunakan nilai lalai model.

Pilihan

Let the model rewrite the prompt for better results.

Pilihan
-

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

Pilihan

File format of the result.

Pilihan

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

Hasil

FLUX Kontext ProContoh output

Hasil sebenar daripada model ini. Jalankannya 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