Skip to content
הדף עדיין אינו זמין בשפה שלכם, ולכן הוא מוצג באנגלית.
Alibaba · Wan

wan2.7 API

Generate video from text, animate images, or continue existing clips with Alibaba’s wan2.7 on APISea.

יצירת וידאווידאומשימה אסינכרונית
מזהה מודל
wan2.7

תמחור API של wan2.7

כל המחירים נקובים ב-USD. תעריפי APISea בהשוואה למחירון הרשמי עבור אותה יחידה.

אפשרותAPISeaרשמיחיסכון
ברירת מחדלברירת מחדל$0.07304$0.0833−12%
1080P$0.1206$0.1389−13%

המחירים הם לכל שנייה.

מהו wan2.7?

wan2.7 is Alibaba’s Wan-family video generation model, available through a unified entry on APISea. It generates videos from text descriptions, animates a supplied first frame, connects first and last frames, or continues an existing video. The request parameters determine the mode automatically. Outputs support 720P or 1080P resolution and durations of 2–15 seconds. Controls include a negative prompt, seed, optional prompt rewriting, and an optional “AI Generated” watermark. Text-to-video requests also support five aspect ratios and custom background audio.

Call wan2.7 through POST /v1/videos/generations using your APISea key and the base URL https://api.apisea.ai/v1. APISea offers pay-as-you-go billing only for successful requests, with identical billing for text-to-video and image-to-video modes. APISea Default costs $0.07304 per second, about 12% below the provider list price of $0.0833 per second. APISea 1080P costs $0.1206 per second, compared with the provider list price of $0.1389 per second.

המאפיינים הבולטים של wan2.7

Unified Video Generation

Use one model entry for text-to-video, first-frame animation, first-last-frame generation, and video continuation. Input parameters select the route automatically.

Resolution and Duration

Generate 720P or 1080P videos lasting 2–15 seconds. The documented defaults are 1080P resolution and a 5-second duration.

Frame Input Controls

Supply one or two images through image_urls, or assign first_frame and last_frame roles through image_with_roles. Video continuation uses the first video in video_urls.

Prompt and Output Controls

Guide generation with a prompt, negative prompt, and seed. Optional prompt rewriting and an “AI Generated” watermark provide additional controls.

איך לקרוא ל-API של wan2.7 ב-4 שלבים

  1. 01

    יצירת מפתח API

    יש להתחבר ל-APISea, להוסיף יתרה החל מ-$50 וליצור מפתח sk-sea במסוף.

  2. 02

    הגדרת כתובת הבסיס

    יש להשתמש ב-https://api.apisea.ai/v1 ככתובת הבסיס ב-SDK או בלקוח HTTP.

  3. 03

    שליחת הבקשה

    יש לקרוא ל-POST /v1/videos/generations עם "model": "wan2.7" והפרמטרים שלהלן.

  4. 04

    טיפול בתגובה

    התגובה מכילה task_id. יש לשלוח בקשות GET אל /v1/tasks/{task_id} עד שהסטטוס יהיה completed, ואז להוריד את כתובות ה-URL של התוצאות.

דוגמאות לבקשות

תיעוד: Wan2.7 Video Generation
curl --request POST \
  --url https://api.apisea.ai/v1/videos/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "wan2.7",
    "prompt": "A coastal road at sunset, slow-motion camera push-in, cinematic feel",
    "resolution": "1080P",
    "duration": 8,
    "size": "16:9"
  }'

פרמטרים

פרמטרסוגנדרשברירת מחדלתיאור
modelstringנדרש—Video generation model name, fixed as `wan2.7`
nsfw_checkbooleanאופציונליfalseWhether to run content moderation before submitting the video task.
promptstringאופציונלי—Video content description, up to 5000 characters
image_urlsarray\<string\>אופציונלי—Image URL array. Providing it automatically enters Image-to-Video mode
image_with_rolesarray\<object\>אופציונלי—Image array with roles, alternative to `image_urls`, used to precisely specify the role of each image
video_urlsarray\<string\>אופציונלי—Video URL array. Providing it enters **video continuation** mode (only the 1st video is used)
negative_promptstringאופציונלי—Negative prompt describing unwanted content, up to 500 characters
resolutionstringאופציונלי1080PVideo resolution
durationintegerאופציונלי5Video duration (seconds)
sizestringאופציונלי16:9Aspect ratio, **only effective in Text-to-Video mode** (when no image/video provided)
audio_urlstringאופציונלי—Custom audio URL
prompt_extendbooleanאופציונליtrueWhether to enable intelligent prompt rewriting
watermarkbooleanאופציונליfalseWhether to add "AI Generated" watermark to the generated video
seedintegerאופציונלי—Seed integer used to control the randomness of generated content

מה אפשר לבנות עם wan2.7

Text-Driven Clip Creation

Build a tool that turns scene descriptions into short videos, with landscape, portrait, or square output for different layouts.

Still Image Animation

Let users supply a first-frame image and describe the actions or camera movement they want in the resulting clip.

Frame-to-Frame Transitions

Create workflows that accept starting and ending images to guide first-last-frame video generation.

Existing Clip Continuation

Add a continuation feature to a video creation app by submitting an eligible source clip through video_urls.

טיפים לקבלת תוצאות טובות יותר

  • 01

    Choose Inputs Deliberately

    For text-to-video, omit image and video inputs and provide a prompt. For image-to-video, a prompt is optional but recommended to guide movement and actions.

  • 02

    Set Duration Explicitly

    Choose duration within 2–15 seconds rather than relying on the 5-second default. Pricing is per second, so account for clip length when budgeting requests.

  • 03

    Match Aspect Ratio Controls

    Use size only for text-to-video, selecting 16:9, 9:16, 1:1, 4:3, or 3:4. In image-to-video mode, size is ignored and the input image determines the aspect ratio.

  • 04

    Check Audio Compatibility

    Do not combine audio_url with image_urls, image_with_roles, or video_urls. Custom audio must be WAV or MP3, last 2–30 seconds, and be no larger than 15MB.

מגבלות ודברים שכדאי לדעת

  • Prompts are limited to 5000 characters, and negative prompts to 500 characters.

  • Video continuation uses only the first supplied video, which must meet the documented format, duration, dimensions, aspect ratio, and file-size constraints.

  • Custom audio cannot be submitted alongside image or video URL inputs.

שאלות נפוצות על API של wan2.7

How much does wan2.7 cost on APISea?

APISea Default costs $0.07304 per second, and APISea 1080P costs $0.1206 per second. The Default configuration is about 12% below the provider list price; APISea bills only for successful requests.

How do I call the wan2.7 API?

Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer Token authentication using your APISea key. Set the model field to wan2.7 and provide the parameters for your intended generation mode.

Does wan2.7 support text-to-video and image-to-video?

Yes. With no image or video inputs, the request uses text-to-video; image inputs support first-frame or first-last-frame generation, and video_urls enables continuation. Text-to-video and image-to-video modes are billed identically.

What resolutions and durations does wan2.7 support?

Generated videos support 720P and 1080P resolution, with durations from 2–15 seconds. The defaults are 1080P and 5 seconds.

What are the input limits for video continuation?

The source must be MP4 or MOV, last 2–10 seconds, and be no larger than 100MB. Width and height must each be within 240–4096 pixels, with an aspect ratio from 1:8 to 8:1; only the first supplied video is used.

Can I use wan2.7 output commercially?

Commercial use is subject to the provider’s terms. Review the applicable Alibaba terms and any rights associated with your input images, videos, and audio before using outputs commercially.

מודלים קשורים

עומק: יותר מ-250 מודלים · טעינת יתרה מינימלית $50

מתחילים לבנות עם wan2.7

מפתח אחד, תשלום לפי שימוש החל מ-$50, וחיוב רק על בקשות שהצליחו.