flux-2-pro/edit

flux-2-pro/edit

flux-2-pro/edit. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

İlgili modeller

flux-2-pro/edit İlgili modeller 1

Tüm parametreler, çıktı şeması ve güncel fiyatlar

Yapay zeka model API pazarıTek platformda her şeyEn popülerKoşullarGörsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.
prompt *Prompttextarea—≤ 5000 chars
images *Imagesimage_upload—image/* · 1–3 items
sizeSizetext—≤ 500 chars
seedSeednumber—step 1

Tüm parametreler, çıktı şeması ve güncel fiyatlar

Daha fazla bilgiTek platformda her şeyGörsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.
imagesarray<string>

API

Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/flux-2-pro/edit" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "Retouch the product photo for a premium e-commerce look: keep the composition and product shape identical, remove dust and minor scratches, brighten the lighting slightly, increase contrast, place the item on a clean soft-gray studio background, and change the accent stripe to #1E90FF while preserving realistic reflections and shadows.",
    "images": [
      "https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/08/b77614608996.jpeg"
    ],
    "size": "1536*1024",
    "seed": -1
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/flux-2-pro/edit",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "Retouch the product photo for a premium e-commerce look: keep the composition and product shape identical, remove dust and minor scratches, brighten the lighting slightly, increase contrast, place the item on a clean soft-gray studio background, and change the accent stripe to #1E90FF while preserving realistic reflections and shadows.",
            "images": [
                "https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/08/b77614608996.jpeg"
            ],
            "size": "1536*1024",
            "seed": -1
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 1800s server-side.
deadline = time.time() + 1860
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/flux-2-pro/edit", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "Retouch the product photo for a premium e-commerce look: keep the composition and product shape identical, remove dust and minor scratches, brighten the lighting slightly, increase contrast, place the item on a clean soft-gray studio background, and change the accent stripe to #1E90FF while preserving realistic reflections and shadows.",
      "images": [
        "https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/08/b77614608996.jpeg"
      ],
      "size": "1536*1024",
      "seed": -1
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 1800s server-side.
const deadline = Date.now() + 1860 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

API belgeleri

flux-2-pro/edit

flux-2-pro/edit

FLUX.2 [pro] Edit delivers production-grade image-to-image editing from Black Forest Labs—apply natural-language instructions and exact hex color control for consistent, studio-quality results. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.

Parameters

ParameterTypeRequiredDefaultLimits / description
promptstringYes—max 5000 chars; The positive prompt for the generation.
imagesarrayYes—1–3 URLs; List of URLs of input images for editing. The maximum number of images is 3.
sizestringNo—max 500 chars; The size of the generated media in pixels (width*height).
seedintegerNo—The random seed to use for the generation. -1 means a random seed will be used.

Image inputs use URL arrays in Nami, including single-image fields. Multi-image edit accepts 1–3 URLs.

Pricing

$0.06 per generated image = 6 credits. The price is fixed for this endpoint.

WaveSpeed standard list price; USD 1 = 100 credits. Account discounts are separate.

API

curl -X POST https://www.namifusion.com/api/v1/marketplace/run/flux-2-pro/edit \
  -H "Authorization: Bearer $API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "input": {
    "prompt": "Retouch the product photo for a premium e-commerce look: keep the composition and product shape identical, remove dust and minor scratches, brighten the lighting slightly, increase contrast, place the item on a clean soft-gray studio background, and change the accent stripe to #1E90FF while preserving realistic reflections and shadows.",
    "images": [
      "https://d1s3annbwribom.cloudfront.net/marketplace/examples/2026/10/08/b77614608996.jpeg"
    ],
    "size": "1536*1024",
    "seed": -1
  }
}'
curl 'https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID' \
  -H "Authorization: Bearer $API_KEY"

Submit returns task_uuid. Poll until completed or failed. Successful output: output.images (URL array). This API is asynchronous and returns URLs.

WaveSpeed

İlgili modeller

xAI Grok Imagine Image v2.0 Edit
Görselden görseleX Ai

xAI Grok Imagine Image v2.0 Edit

x-ai/grok-imagine-image-v2.0/edit. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

başlangıç $0.090 / çalıştırma başına
qwen-image-edit-spicy
Görselden görsele

qwen-image-edit-spicy

qwen-image-edit-spicy. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

başlangıç $0.034 / çalıştırma başına
Qwen Image 3.0 Pro Edit | Fast Image Editing
Görselden görseleQwen Image 3.0 Pro

Qwen Image 3.0 Pro Edit | Fast Image Editing

qwen-image-3.0-pro/edit. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

başlangıç $0.0663 / çalıştırma başına
OpenAI GPT Image 2.5 Sunburst Edit
Görselden görseleOpenAI

OpenAI GPT Image 2.5 Sunburst Edit

openai/gpt-image-2.5-sunburst/edit. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

başlangıç $0.220 / çalıştırma başına
OpenAI GPT Image 2.5 Flare Edit
Görselden görseleOpenAI

OpenAI GPT Image 2.5 Flare Edit

openai/gpt-image-2.5-flare/edit. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

başlangıç $0.220 / çalıştırma başına
Görselden görsele
Görselden görseleNamiFusion

Head Swap (Image)

namifusion/head-swap/image-edit. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

başlangıç $0.220 / çalıştırma başına
Nano Banana Image Edit
Görselden görseleGoogle

Nano Banana Image Edit

google/nano-banana/edit. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

başlangıç $0.038 / çalıştırma başına
Nano Banana Pro Image Edit
Görselden görseleGoogle

Nano Banana Pro Image Edit

google/nano-banana-pro/edit. Görsel, video ve yüz değiştirme model API’lerine göz at. Bir modeli dene ve birleşik REST API ile entegre et.

başlangıç $0.140 / çalıştırma başına