Skip to content
此頁面尚未提供您使用的語言,因此目前以英文顯示。
Alibaba · Wan

wan2.6-i2v-flash API

Generate video from a first-frame image with Alibaba’s wan2.6-i2v-flash on APISea, with optional audio.

影片生成影片非同步任務
模型 ID
wan2.6-i2v-flash

wan2.6-i2v-flash API 定價

所有價格皆以 USD 計價。比較 APISea 費率與相同計費單位的官方牌價。

選項APISea官方節省
1080P$0.0308$0.0347−11%
1080P-audio$0.06072$0.0694−13%
720P$0.01848$0.0208−11%
720P-audio$0.03696$0.0417−11%

價格單位為 每秒。

什麼是 wan2.6-i2v-flash?

Alibaba’s Wan image-to-video model, wan2.6-i2v-flash, turns a first-frame image and an optional text prompt into smooth video. It is suited to workflows that animate existing visuals rather than start from text alone. Supply one reference image through a publicly accessible URL or Base64 encoding, then describe the subject, action, camera movement, and style. Output supports 720p or 1080p resolution and durations from 2 to 15 seconds, with the aspect ratio determined by the input image.

Controls include negative prompts, smart prompt rewriting, single-shot or multi-shot narration, a random seed, and an optional watermark. Generate matching background music and sound effects, provide custom audio, or request silent output. Call it through APISea using Bearer authentication and the video generation endpoint. Pricing is pay-as-you-go, billed per second by resolution and audio configuration, with billing only for successful requests. The default configuration is about 11% below the provider list price.

wan2.6-i2v-flash 的特色

First-frame video generation

Animate one reference image using a text description of motion, camera behavior, and style. Input images can use publicly accessible URLs or Base64 encoding.

Resolution and duration controls

Choose 720p or 1080p output with an integer duration from 2 to 15 seconds. The input image determines the video’s aspect ratio.

Flexible audio options

Generate matching background music and sound effects, supply custom WAV or MP3 audio, or turn audio off for silent video.

Single or multiple shots

Choose a continuous single shot or a narrative video with multiple shot transitions. Shot selection requires smart prompt rewriting to be enabled.

4 個步驟呼叫 wan2.6-i2v-flash API

  1. 01

    取得 API key

    登入 APISea,儲值 $50 起,並在控制台建立 sk-sea 金鑰。

  2. 02

    設定 base URL

    在 SDK 或 HTTP 用戶端中,將 https://api.apisea.ai/v1 設為 base URL。

  3. 03

    傳送請求

    呼叫 POST /v1/videos/generations,並使用下方的參數及 "model": "wan2.6-i2v-flash"。

  4. 04

    處理回應

    回應中包含 task_id。持續輪詢 GET /v1/tasks/{task_id},直到狀態為 completed,然後下載結果 URL。

curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "wan2.6-i2v-flash",
    "prompt": "The person turns around and smiles",
    "image_urls": ["https://example.com/portrait.jpg"],
    "resolution": "1080p",
    "duration": 5
  }'

參數

參數類型必填預設說明
modelstring必填—Video generation model name, fixed as `wan2.6-i2v-flash`
nsfw_checkboolean選填falseWhether to run content moderation before submitting the video task.
image_urlsarray\<string\>必填—Reference image URL array (only 1 first-frame image supported)
promptstring選填—Video content description
negative_promptstring選填—Negative prompt, describes unwanted content
resolutionstring選填1080pVideo resolution
durationinteger選填5Video duration (seconds)
audioboolean選填trueWhether to generate audio
audio_urlstring選填—Custom audio URL (wav/mp3, 3-30 seconds, ≤ 15MB)
prompt_extendboolean選填trueWhether to enable smart prompt rewriting
shot_typestring選填—Shot type, requires `prompt_extend=true`
seedinteger選填—Random seed (≥0), specifying the same seed can reproduce similar results
watermarkboolean選填falseWhether to add an "AI Generated" watermark (bottom right)

使用 wan2.6-i2v-flash 可以打造什麼

Product image animations

Build a workflow that turns product imagery into short videos with specified movement and camera direction.

Social video variations

Generate short clips from existing campaign visuals, choosing resolution, duration, and audio settings for each version.

Narrative visual sequences

Use multi-shot mode to create a short narrative video from a reference image and a description of the intended action.

Audio-led creative workflows

Pair an image animation with a supplied music or sound file, or produce silent footage for audio editing elsewhere.

提升結果品質的技巧

  • 01

    Describe motion explicitly

    Include the subject, action, camera movement, and style in your prompt. Use the negative prompt to describe unwanted content, staying within its 500-character limit.

  • 02

    Choose cost settings deliberately

    720p costs less than 1080p, and audio configurations have separate rates. Set resolution, duration, and audio explicitly rather than relying on the 1080p, 5-second, audio-enabled defaults.

  • 03

    Control rewriting and shots

    Smart prompt rewriting is enabled by default and improves shorter prompts, but increases processing time. Keep it enabled for shot selection; the shot type takes priority over shot instructions in the prompt.

  • 04

    Track the submitted task

    The initial response returns a submitted status and a task identifier, not the finished video. Retain that identifier to query task status and results.

限制與須知

  • Only one first-frame image is supported; it must be no larger than 10MB, with width and height each between 240 and 8000 pixels.

  • Video output supports only 720p or 1080p and integer durations from 2 to 15 seconds.

  • Custom audio must be WAV or MP3, 3–30 seconds long, and no larger than 15MB; it is ignored when audio is disabled.

wan2.6-i2v-flash API 常見問題

How much does wan2.6-i2v-flash cost on APISea?

APISea rates are $0.0308 per second for 1080P, $0.06072 per second for 1080P-audio, $0.01848 per second for 720P, and $0.03696 per second for 720P-audio. The default configuration is about 11% below the provider list price, and APISea bills only for successful requests.

How do I call wan2.6-i2v-flash through APISea?

Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer Token authentication. Set the model field to wan2.6-i2v-flash and provide one reference image in the image_urls array; the response includes a task identifier for checking status and results.

What resolutions and video lengths are supported?

The model supports 720p and 1080p video with integer durations from 2 to 15 seconds. Defaults are 1080p and 5 seconds, and the reference image determines the aspect ratio.

Can I generate silent video or use my own audio?

Yes. Disable audio for silent output, or supply a custom WAV or MP3 audio URL while audio is enabled; longer audio is trimmed to the video duration, while shorter audio leaves the remainder silent.

Can I use wan2.6-i2v-flash output commercially?

Commercial use is subject to the provider’s terms. Check those terms and confirm that you have the necessary rights to your input images and audio before using generated videos commercially.

How does wan2.6-i2v-flash compare with wan2.6-i2v?

The flash model is documented as a fast image-to-video model and is positioned as a speed-oriented option. The documentation also states that the audio toggle is not supported on wan2.6-i2v; no comparative speed or quality benchmarks are provided here.

相關模型

涵蓋:250+ 個模型 · 最低儲值 $50

開始使用 wan2.6-i2v-flash 開發

一把金鑰,$50 起按量付費,僅對成功的請求收費。