Sociaro Docs
View Markdown

alibaba/wan-2-7-r2v

Wan 2.7 reference-to-video — keeps the subject, look and voice of the references. prompt (req; refer to them as "Image 1", "Video 1" in array order); reference_image_urls and reference_video_urls (public https; at least one of the two, and images + videos together at most 5; a reference video is 1-30 s and its voice is kept); first_frame_url (optional; with it aspect_ratio is ignored). resolution 720p|1080p (def 1080p; no 480p); aspect_ratio 16:9|9:16|1:1|4:3|3:4; duration whole seconds 2-15 (def 5; 2-10 when a reference video is sent); negative_prompt; seed; prompt_extend (def true); watermark (def false).

Reference videos are billed as input seconds as well as the output.

A separate voice per reference is not exposed.

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-r2v
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-r2v",
        "prompt": "a paper boat on a rain-soaked street",
        "reference_image_urls": ["https://your-cdn.example.com/boat.png"],
        "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
  • reference_image_urls
  • reference_video_urls
  • first_frame_url
  • resolution
  • aspect_ratio
  • duration
  • negative_prompt
  • seed
  • prompt_extend
  • watermark

The endpoint rejects unknown request fields.

Pricing

Billable unit and optionsRate (USD)
per second of output video
720p
reference video seconds are billed too
$0.10
per second of output video
1080p
reference video seconds are billed too
$0.15
  • Billed on the seconds and resolution the generator reports for the finished clip.
  • Leaving out resolution gives 1080p.

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