Sociaro Docs
View Markdown

alibaba/wan-2-7-videoedit

Wan 2.7 video editing — instruction-based editing and style transfer. prompt (req); video_url (req; MP4/MOV, 2-10 s, up to 100 MB); reference_image_urls (up to 4); resolution 720p|1080p (def 1080p; no 480p); aspect_ratio 16:9|9:16|1:1|4:3|3:4 (omit to follow the input); duration whole seconds 2-10, or 0 for the input clip's own length (def 0); audio_setting auto (def) | origin (keep the original sound); negative_prompt; seed; prompt_extend (def true); watermark (def false).

Input AND output seconds are billed.

Served via the relay: POST /v1/alibaba/generations, poll GET /v1/alibaba/generations/{task_id}. Per-second pricing (by resolution) billed by the relay from the vendor's reported usage.

Unknown parameters are rejected.

Slugalibaba/wan-2-7-videoedit
Kindvideo
Vendoralibaba
EndpointPOST /v1/alibaba/generations

View pricing and billing conditions

Example request

curl https://api.sociaro.com/v1/alibaba/generations \
  -H "Authorization: Bearer $SOCIARO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
        "model": "alibaba/wan-2-7-videoedit",
        "video_url": "https://your-cdn.example.com/cut.mp4",
        "prompt": "a paper boat on a rain-soaked street",
        "resolution": "720p",
        "duration": 5
      }'

# then poll the job id it returns:
curl https://api.sociaro.com/v1/alibaba/generations/JOB_ID \
  -H "Authorization: Bearer $SOCIARO_API_KEY"

Parameters

  • prompt
  • video_url
  • reference_image_urls
  • resolution
  • aspect_ratio
  • duration
  • audio_setting
  • negative_prompt
  • seed
  • prompt_extend
  • watermark

The endpoint rejects unknown request fields.

Pricing

Billable unit and optionsRate (USD)
per second of input and output video
720p
$0.10
per second of input and output video
1080p
$0.15
  • Billed on the seconds the generator reports for the video you send plus the finished clip, at the resolution it reports.
  • Leaving out resolution gives 1080p.

View this model in the pricing catalogue. Your billing logs show the actual charge for each request.