alibaba/wan-2.7/image-edit

alibaba/wan-2.7/image-edit

alibaba/wan-2.7/image-edit. 瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

相關模型

alibaba/wan-2.7/image-edit 相關模型 1

完整參數參考、輸出結構與即時價格

AI 模型 API 市集一個平台,全部完成最受歡迎服務條款瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。
prompt *Prompttextarea—≤ 5000 chars
images *Imagesimage_upload—image/* · 1–9 items
sizeSizetext—≤ 500 chars

完整參數參考、輸出結構與即時價格

深入了解一個平台,全部完成瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。
imagesarray<string>

API

瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.7/image-edit" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "Preserve the subject identity and composition, replace the background with a premium studio setting, and add soft realistic lighting.",
    "images": [
      "https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
    ]
  }
}'

# 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/alibaba/wan-2.7/image-edit",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "Preserve the subject identity and composition, replace the background with a premium studio setting, and add soft realistic lighting.",
            "images": [
                "https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
            ]
        }
    },
)
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 300s server-side.
deadline = time.time() + 360
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/alibaba/wan-2.7/image-edit", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "Preserve the subject identity and composition, replace the background with a premium studio setting, and add soft realistic lighting.",
      "images": [
        "https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
      ]
    }
  }),
});
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 300s server-side.
const deadline = Date.now() + 360 * 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 文件

alibaba/wan-2.7/image-edit

Prompt-driven image editing with multi-image references, fast inference, and no cold starts.

alibaba/wan-2.7/image-edit is a prompt-based image editing model designed for targeted modifications to existing images. It preserves subject identity, composition, and scene structure while enabling fast creative iteration with multiple reference images, making it a strong fit for production workflows that prioritize quality, speed, and cost efficiency.

🚀 Key Features

  • Prompt-driven editing: Describe what to change and what to preserve in natural language for precise, workflow-friendly image edits.
  • Multi-image reference support: Accepts 1–9 input images for subject, style, background, or fusion-based editing tasks.
  • Composition preservation: Optimized to maintain identity, pose, layout, and overall scene structure while applying localized changes.
  • No cold starts: Ready for responsive production usage and rapid iteration without startup delays.
  • Affordable per-run pricing: Low-cost execution makes it suitable for high-volume creative and commercial editing workloads.

🛠️ Technical Specifications

ItemDetails
Modelalibaba/wan-2.7/image-edit
Model TypePrompt-driven image editing
Task Typeimage-to-image
ArchitectureConditional image editing model with multi-reference guidance
InputPrompt, 1–9 input images
OutputEdited image
Num Images1–9
ResolutionEffective output up to 2048×2048; each dimension may range from 512–4096 within the total-pixel limit
Pixel ConstraintsTotal pixels must be between 768×768 and 2048×2048
Aspect Ratio1:8 to 8:1
Default Output SizeTypically matches the original image if not specified
LatencyOptimized for fast inference; no cold starts
Output FormatImage

Sample Prompts

  • Change the jacket to black leather, keep the face and pose unchanged.
  • Replace the background with a rainy Tokyo street at night, keep the subject unchanged, cinematic lighting.
  • Change the product casing to brushed silver metal while preserving the original angle, lighting, and composition.

💰 Pricing

ItemPrice
Base price / per run$0.03

💡 Best Use Cases

  • Fashion and apparel: Swap clothing styles, colors, or materials while preserving model identity and pose.
  • Background replacement: Change scene setting or mood without rebuilding the full image.
  • Product image editing: Create color, material, and environment variants for e-commerce and marketing assets.
  • Creative style iteration: Explore visual directions quickly while keeping the original composition intact.

🔗 Related Models

  • Wan 2.7 Image Edit Pro: Higher-fidelity version with up to 2K editing output.
  • Wan 2.6 Image Edit: Previous-generation image editing model with a similar prompt-driven workflow.
  • Qwen Image Edit: General-purpose image editing model for everyday creative and product use cases.
  • Google Nano Banana Pro Edit: High-fidelity editing model with strong composition preservation and text handling.

相關模型

xAI Grok Imagine Image v2.0 Edit
圖像轉圖像X Ai

xAI Grok Imagine Image v2.0 Edit

x-ai/grok-imagine-image-v2.0/edit. 瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

起價 $0.090 / 每次執行
qwen-image-edit-spicy
圖像轉圖像

qwen-image-edit-spicy

qwen-image-edit-spicy. 瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

起價 $0.040 / 每次執行
Qwen Image 3.0 Pro Edit | Fast Image Editing
圖像轉圖像Qwen Image 3.0 Pro

Qwen Image 3.0 Pro Edit | Fast Image Editing

qwen-image-3.0-pro/edit. 瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

起價 $0.078 / 每次執行
OpenAI GPT Image 2.5 Sunburst Edit
圖像轉圖像OpenAI

OpenAI GPT Image 2.5 Sunburst Edit

openai/gpt-image-2.5-sunburst/edit. 瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

起價 $0.220 / 每次執行
OpenAI GPT Image 2.5 Flare Edit
圖像轉圖像OpenAI

OpenAI GPT Image 2.5 Flare Edit

openai/gpt-image-2.5-flare/edit. 瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

起價 $0.220 / 每次執行
圖像轉圖像
圖像轉圖像NamiFusion

Head Swap (Image)

namifusion/head-swap/image-edit. 瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

起價 $0.220 / 每次執行
Nano Banana Image Edit
圖像轉圖像Google

Nano Banana Image Edit

google/nano-banana/edit. 瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

起價 $0.038 / 每次執行
Nano Banana Pro Image Edit
圖像轉圖像Google

Nano Banana Pro Image Edit

google/nano-banana-pro/edit. 瀏覽圖像、影片與換臉模型 API。先試用任一模型,再透過統一 REST API 整合。

起價 $0.140 / 每次執行