OpenRouterVideo GenerationAI generation

Alibaba: Wan 3.0 (image-to-video)

openrouter.video-gen.wan-3-0.from_image

Generate 480p, 720p, or 1080p video from a first-frame image with the Wan 3.0 model.

Price
$6.000001/successAt list price
Success rate
100%Last 30 days · 198 calls
Latency p50
3.9 sp95 7.8 s
Last verified
—Not verified yet
POSThttps://toolswitch.dev/v1/tools/openrouter.video-gen.wan-3-0.from_imageBeta
  • Uses platform quota
  • Asynchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Request body (JSON)
modelstringRequiredalibaba/wan-3.0
promptstringRequiredBring the scene to life with a slow camera push.
durationintegerOptional2
resolutionstringOptional480p
aspect_ratiostringOptional16:9
frame_imagesarrayRequiredOpenRouter image objects with type image_url, an image_url.url, and frame_type first_frame.[{"type":"image_url","image_url":{"url":"https://example.com/source.png"},"frame_type":"first_frame"}]
generate_audiobooleanOptional
  • Request body (JSON)
  • modelstringRequired

    Example: alibaba/wan-3.0

  • promptstringRequired

    Example: Bring the scene to life with a slow camera push.

  • durationintegerOptional

    Example: 2

  • resolutionstringOptional

    Example: 480p

  • aspect_ratiostringOptional

    Example: 16:9

  • frame_imagesarrayRequired

    OpenRouter image objects with type image_url, an image_url.url, and frame_type first_frame.

    Example: [{"type":"image_url","image_url":{"url":"https://example.com/source.png"},"frame_type":"first_frame"}]

  • generate_audiobooleanOptional

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/openrouter.video-gen.wan-3-0.from_image' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"model":"alibaba/wan-3.0","prompt":"Bring the scene to life with a slow camera push.","duration":2,"resolution":"480p","aspect_ratio":"16:9","frame_images":[{"type":"image_url","image_url":{"url":"https://example.com/source.png"},"frame_type":"first_frame"}]}'

This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at $6.000001/success, including the service fee.