wan2.7-videoedit API
Edit existing videos with style transfer, content replacement, and element addition on APISea.
wan2.7-videoeditwan2.7-videoedit API-ის ფასები
ყველა ფასი USD-შია. APISea-ის ტარიფები შედარებულია იმავე ერთეულისთვის დადგენილ ოფიციალურ ფასებთან.
| პარამეტრი | APISea | ოფიციალური | დაზოგვა |
|---|---|---|---|
| ნაგულისხმევინაგულისხმევი | $0.07304 | $0.0833 | −12% |
| 1080P | $0.1206 | $0.1389 | −13% |
ფასები მოცემულია წამში-ზე.
რა არის wan2.7-videoedit?
Alibaba’s Wan video editing model, wan2.7-videoedit, transforms existing footage through style transfer, content replacement, and element addition. Submit a source video URL with instructions describing the changes you want, and optionally provide up to four reference images to guide the target style or appearance. Output controls include 720P or 1080P resolution, five aspect ratios, and either the original duration or a shorter segment from the start. You can preserve original audio or let the model regenerate matching audio.
Call the model through APISea’s POST /v1/videos/generations endpoint using Bearer Token authentication and your APISea key. Requests return a submitted task status and task ID. APISea offers pay-as-you-go pricing with billing only for successful requests: 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. When duration is 0, billing uses the actual output video duration.
wan2.7-videoedit-ის მთავარი მახასიათებლები
Instruction-Based Video Editing
Apply style transfer, replace content, or add elements to existing footage. Describe changes such as a new outfit or a different background in the editing prompt.
Reference Image Guidance
Supply up to four reference images to specify the target style or appearance. These can guide style-transfer edits.
Output Format Controls
Choose 720P or 1080P output and one of five supported aspect ratios. Keep the original duration or select a shorter duration from the start.
Flexible Audio Handling
Use auto audio mode to regenerate audio that matches the edited content. Choose origin mode to retain the source video's audio.
როგორ გამოვიძახოთ wan2.7-videoedit API 4 ნაბიჯში
- 01
მიიღეთ API გასაღები
შედით APISea-ში, შეავსეთ ბალანსი $50-დან და კონსოლში შექმენით sk-sea გასაღები.
- 02
დააყენეთ საბაზისო URL
თქვენს SDK-ში ან HTTP კლიენტში საბაზისო URL-ად გამოიყენეთ https://api.apisea.ai/v1.
- 03
გაგზავნეთ მოთხოვნა
გამოიძახეთ POST /v1/videos/generations პარამეტრებით "model": "wan2.7-videoedit" და ქვემოთ ჩამოთვლილი პარამეტრებით.
- 04
დაამუშავეთ პასუხი
პასუხი შეიცავს task_id-ს. მოითხოვეთ GET /v1/tasks/{task_id} განმეორებით, სანამ სტატუსი completed გახდება, შემდეგ კი ჩამოტვირთეთ შედეგის URL-ებიდან.
მოთხოვნის მაგალითები
დოკუმენტაცია: Wan2.7-VideoEdit Video Editingcurl --request POST \
--url https://api.apisea.ai/v1/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan2.7-videoedit",
"video_urls": ["https://cdn.example.com/original.mp4"],
"prompt": "Replace the background with a snowy mountain scene",
"resolution": "1080P"
}'პარამეტრები
| პარამეტრი | ტიპი | სავალდებულო | ნაგულისხმევი | აღწერა |
|---|---|---|---|---|
model | string | სავალდებულო | — | Video generation model name, fixed as `wan2.7-videoedit` |
nsfw_check | boolean | არასავალდებულო | false | Whether to run content moderation before submitting the video task. |
video_urls | array\<string\> | სავალდებულო | — | Source video URL array for editing |
prompt | string | არასავალდებულო | — | Editing instruction describing the desired changes, up to 5000 characters |
negative_prompt | string | არასავალდებულო | — | Negative prompt describing unwanted content, up to 500 characters |
image_urls | array\<string\> | არასავალდებულო | — | Reference image URL array, up to 4 images |
resolution | string | არასავალდებულო | 1080P | Output video resolution |
duration | integer | არასავალდებულო | 0 | Output video duration (seconds) |
size | string | არასავალდებულო | — | Output aspect ratio |
prompt_extend | boolean | არასავალდებულო | true | Whether to enable intelligent prompt rewriting |
watermark | boolean | არასავალდებულო | false | Whether to add "AI Generated" watermark to the generated video |
seed | integer | არასავალდებულო | — | Seed integer used to control the randomness of generated content |
metadata | object | არასავალდებულო | — | Additional parameter object |
audio_setting | string | არასავალდებულო | auto | Audio handling mode: |
რისი შექმნა შეგიძლიათ wan2.7-videoedit-ით
Visual Style Variants
Build a workflow that applies different visual styles to a source clip, using reference images to guide each version.
Background and Outfit Edits
Let users request targeted changes such as replacing a background with a snowy mountain scene or changing a character's outfit.
Social Video Adaptation
Create edited clips in landscape, portrait, or square formats using the supported output aspect ratios.
Dialogue-Preserving Edits
Build an editing tool for clips with important dialogue or background sounds, retaining original audio while changing the visuals.
რჩევები უკეთესი შედეგებისთვის
- 01
Describe the Intended Change
Use prompt to state the edit explicitly, within 5000 characters. Add negative_prompt, up to 500 characters, to describe unwanted content; omitting prompt triggers default style transfer.
- 02
Set Duration Deliberately
Set duration to 0 to keep the full source duration, with billing based on actual output duration. A value from 2–10 selects that many seconds from the start and cannot exceed the source duration.
- 03
Choose Audio Mode
Set the metadata audio_setting field to origin when source dialogue or background sounds matter. The default auto mode regenerates matching audio based on the edited video.
- 04
Tune Rewriting and Seeds
prompt_extend defaults to true and improves short prompts at the cost of additional processing time. Use the same nonnegative seed for similar results across identical requests, without expecting exact consistency.
შეზღუდვები და გასათვალისწინებელი საკითხები
Only the first source video URL is used; inputs must be MP4 or MOV, 2–10 seconds long, and no larger than 100MB.
Source width and height must each be 240–4096 pixels, with an aspect ratio between 1:8 and 8:1.
Submission returns a task ID and submitted status rather than an immediately completed video.
wan2.7-videoedit API-ის ხშირად დასმული კითხვები
How much does wan2.7-videoedit cost on APISea?
APISea Default costs $0.07304 per second, compared with the provider list price of $0.0833 per second; the Default configuration is about 12% below list price. APISea 1080P costs $0.1206 per second, compared with the provider list price of $0.1389 per second. APISea bills only for successful requests.
How do I call wan2.7-videoedit through the API?
Send a POST request to https://api.apisea.ai/v1/videos/generations with Bearer Token authentication. Set model to wan2.7-videoedit and provide the required video_urls array; the response includes a task ID and submitted status.
Can I use reference images and editing prompts?
Yes, you can supply up to four reference images to guide style or appearance. The editing prompt supports up to 5000 characters, and negative_prompt supports up to 500 characters.
What video resolutions and durations are supported?
Output resolution can be 720P or 1080P, with 1080P as the default. Set duration to 0 to preserve the full source duration, or select 2–10 seconds from the start without exceeding the source duration. Source clips must be 2–10 seconds long.
Can I keep the original audio?
Yes, set the metadata audio_setting field to origin to preserve the original audio. The default auto mode regenerates matching audio based on the edited video content.
Can I use edited videos commercially?
Commercial use is subject to the provider's terms. Check the applicable terms for your intended use and ensure you have the necessary rights to source videos and reference images.
მსგავსი მოდელები
wan2.5-preview
wan2.6
wan2.6-i2v
wan2.6-i2v-flash
wan2.7
wan2.7-r2v
wan3.0-video
wan3.0-video-prime
დაიწყეთ wan2.7-videoedit-ით შექმნა
ერთი გასაღები, გამოყენების მიხედვით გადახდა $50-დან; თანხა ჩამოგეჭრებათ მხოლოდ წარმატებული მოთხოვნებისთვის.