alibaba/wan-2.2-spicy/image-to-video

alibaba/wan-2.2-spicy/image-to-video

alibaba/wan-2.2-spicy/image-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

Mô hình liên quan

alibaba/wan-2.2-spicy/image-to-video Mô hình liên quan 1

Đầy đủ tham số, lược đồ đầu ra và giá hiện tại

Chợ API mô hình AIMột nền tảng cho mọi thứPhổ biến nhấtĐiều khoảnDuyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
image *Input Imageimage_upload—image/* · 0–1 items
last_imageLast Frameimage_upload—image/* · 0–1 items
prompt *Prompttextarea—≤ 5000 chars
durationDurationselect55 | 8
resolutionResolutionselect480p480p | 720p
prompt_extendPrompt Extendbooleantrue—
seedSeednumber—≥ 0 · step 1

Đầy đủ tham số, lược đồ đầu ra và giá hiện tại

Tìm hiểu thêmMột nền tảng cho mọi thứDuyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
videosarray<string>

API

Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/alibaba/wan-2.2-spicy/image-to-video" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "image": [
      "https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
    ],
    "prompt": "Animate the subject with natural motion, a slow cinematic camera push-in, soft wind, stable anatomy, and consistent lighting.",
    "duration": 5,
    "resolution": "480p",
    "prompt_extend": true
  }
}'

# 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.2-spicy/image-to-video",
    headers=HEADERS,
    json={
        "input": {
            "image": [
                "https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
            ],
            "prompt": "Animate the subject with natural motion, a slow cinematic camera push-in, soft wind, stable anatomy, and consistent lighting.",
            "duration": 5,
            "resolution": "480p",
            "prompt_extend": True
        }
    },
)
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.2-spicy/image-to-video", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "image": [
        "https://assets-public.namifusion.com/marketplace/images/2026-06-12/638e1ee18ac7.jpeg"
      ],
      "prompt": "Animate the subject with natural motion, a slow cinematic camera push-in, soft wind, stable anatomy, and consistent lighting.",
      "duration": 5,
      "resolution": "480p",
      "prompt_extend": true
    }
  }),
});
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);

Tài liệu API

alibaba/wan-2.2-spicy/image-to-video

Animate a still image into a controlled 5- or 8-second video with optional end-frame guidance.

Wan 2.2 Spicy Image-to-Video turns a source image and text prompt into a short video while preserving the subject and overall visual identity of the input. It supports two practical resolution tiers, optional last-frame control, prompt expansion, and a reproducible seed, making it suitable for both quick previews and polished content production.

Key Features

  • Image-led motion generation: Uses the input image as the visual anchor and adds subject, camera, and environmental motion.
  • Optional final-frame guidance: Supply last_image when the clip needs to converge toward a specific ending composition.
  • Two duration choices: Generate either 5-second or 8-second clips.
  • 480p and 720p output: Balance turnaround time, detail, and credit usage for each job.
  • Prompt expansion: Automatically enrich short prompts before generation when prompt_extend is enabled.
  • Seed control: Reuse a seed when you need comparable variations from the same input.

Technical Specifications

ItemDetails
TaskImage-to-video generation
Required inputimage, prompt
Optional inputlast_image, seed
Resolution480p (default), 720p
Duration5 seconds (default), 8 seconds
Prompt expansionSupported and enabled by default
OutputGenerated video URL

Sample Prompts

  • Animate the subject with natural breathing and subtle head movement, slow cinematic camera push-in, soft wind, stable anatomy, warm evening light.
  • The product remains centered while the camera makes a gentle orbit; reflections move naturally across the surface, premium studio lighting.
  • Clouds drift behind the character, fabric moves in a light breeze, shallow depth of field, smooth and coherent motion.

Pricing

Resolution5 seconds8 seconds
480p10 credits16 credits
720p20 credits32 credits

Prompt expansion adds 0.1 credit per request when enabled. These values reproduce the existing Marketplace pricing configuration; this documentation update does not alter pricing.

Best Use Cases

  • Social clips built from portraits, illustrations, or campaign artwork.
  • Product motion shots for ads, storefronts, and presentation material.
  • Storyboard and concept-art animation for creative review.
  • First-frame and last-frame transitions that need a defined visual destination.

Best Practices

Use a sharp image with one clearly framed subject. Describe subject motion, camera behavior, lighting, and atmosphere separately. Keep requested motion physically plausible, and use a last frame only when its subject, framing, and style are compatible with the first image.

Mô hình liên quan

xAI Grok Imagine Video v1.5 Image to Video
Ảnh thành videoX Ai

xAI Grok Imagine Video v1.5 Image to Video

x-ai/grok-imagine-video-v1.5/image-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.850 / mỗi lượt chạy
vidu/q3/image-to-video-spicy
Ảnh thành videoVidu

vidu/q3/image-to-video-spicy

vidu/q3/image-to-video-spicy. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.750 / mỗi lượt chạy
Vidu Q3 Image To Video
Ảnh thành videoVidu

Vidu Q3 Image To Video

vidu/q3/image-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.750 / mỗi lượt chạy
MiniMax H3 Spicy Image to Video
Ảnh thành videoMinimax

MiniMax H3 Spicy Image to Video

minimax/h3/image-to-video-spicy. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.200 / mỗi lượt chạy
MiniMax H3 Image to Video
Ảnh thành videoMinimax

MiniMax H3 Image to Video

minimax/h3/image-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.650 / mỗi lượt chạy
ltx-2.5/image-to-video
Ảnh thành videoLtx 2.5

ltx-2.5/image-to-video

ltx-2.5/image-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.500 / mỗi lượt chạy
ai/ltx-2.3-spicy/image-to-video-lora
Ảnh thành videoLightricks

ai/ltx-2.3-spicy/image-to-video-lora

lightricks/ltx-2.3-spicy/image-to-video-lora. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.150 / mỗi lượt chạy
ai/ltx-2.3-spicy/image-to-video
Ảnh thành videoLightricks

ai/ltx-2.3-spicy/image-to-video

lightricks/ltx-2.3-spicy/image-to-video. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.100 / mỗi lượt chạy