Vidu logoViduVideo

Vidu 2.0 (reference-to-video) API

Make videos with Vidu 2.0 (reference-to-video) through MartLLM.

vidu/vidu-2-0-reference-to-videoConnect to ClaudeGet an API key
Show more

Made by Vidu. MartLLM does not run this model. Here, sellers serve it through their own provider accounts.

Request

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "vidu/vidu-2-0-reference-to-video",
  "prompt": "Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged",
  "resolution": "720p",
  "duration_seconds": 4,
  "aspect_ratio": "16:9",
  "image_url": "https://example.com/photo.jpg"
}'

# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}

Set UBERLLM_API_KEY to your key. Ask /v1/video/generations/<job id> every 5 seconds until status is "succeeded", then download the file with your key. A job that fails says why and costs nothing. Full API guide

Options

Tasks
Image to video, Reference pictures
Resolutions
720p
Lengths
4 s
Shapes
16:9, 9:16, 1:1
Input pictures
Up to 3
Billing unit
per second of video
Model id
vidu/vidu-2-0-reference-to-video

Try Vidu 2.0 (reference-to-video)

Settings

Start picture

The same request as the settings on the left, ready to copy.

curl https://api.martllm.com/v1/video/generations \
  -H "Authorization: Bearer $UBERLLM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "vidu/vidu-2-0-reference-to-video",
  "prompt": "",
  "resolution": "720p",
  "duration_seconds": 4,
  "aspect_ratio": "16:9"
}'

# → {"id": "<job id>", "status": "queued", "poll_url": "/v1/video/generations/<job id>"}

What the Vidu 2.0 (reference-to-video) API is good at

  • Clips up to 4 seconds long in one request.
  • An exact first frame from your picture.
  • Up to 3 reference pictures for characters, products or places.
  • Shapes: 16:9, 9:16, 1:1.

Examples to start from

01

Bring a photo to life

Bring the photo to life: a slow camera push-in, hair and clothes move gently in the wind, the person blinks and smiles slightly; keep the face, outfit and background unchanged

With your picture

02

Turn a product photo

The product in the photo turns slowly on a turntable, soft studio light, the label stays sharp and readable, clean white background

With your picture

03

Make a still scene move

The scene in the photo starts moving: leaves sway, light shifts across the ground, a gentle handheld drift; nothing new appears in the frame

With your picture

Vidu 2.0 (reference-to-video) API parameters

ParameterTypeWhat it does
modelvidu/vidu-2-0-reference-to-videoRequired
promptstringRequired. What to make.
image_urlstringOne of these. The first frame: an https:// link or a data: URI.
input_imagesarray<string>, Up to 3One of these. Several pictures (https:// links or data: URIs).
resolution720pOptional · 720p. The seller needs one: left out, 720p is sent.
duration_seconds4Optional. Length in seconds. Left out: the model's shortest.
aspect_ratio16:9, 9:16, 1:1Optional · 16:9. Shape of the video. The seller needs one: left out, 16:9 is sent.

Read from GET https://api.martllm.com/v1/models/vidu/vidu-2-0-reference-to-video: the same rules the API checks every request against.

Vidu models compared

ModelModel idFrom, a secondUp toLongest
Vidu 2.0 (reference-to-video)vidu/vidu-2-0-reference-to-video720p4 s
Vidu Q3 Text-to-Videovidu/vidu-q3-text-to-video$0.1416 s
Vidu Q3 (image-to-video)vidu/vidu-q3-image-to-video$0.06661080p16 s
Vidu Q3 Turbo Text to Videovidu/viduq3-turbo-text-to-video$0.03171080p16 s
Vidu Q3 Turbo Image to Videovidu/viduq3-turbo-image-to-video$0.03171080p16 s
Vidu Q4vidu/vidu-q4-image-to-video$0.04034k16 s
Vidu Q4 Referencevidu/vidu-q4-reference-to-video$0.04034k16 s
Vidu 2.0 (text-to-video)vidu/vidu-2-0-text-to-video$0.0571720p8 s
Vidu Q1 (reference-to-video)vidu/vidu-q1-reference-to-video$0.07621080p5 s
Vidu Q1 (text-to-video)vidu/vidu-q1-text-to-video$0.07621080p5 s

Vidu 2.0 (reference-to-video) API FAQ

How much does Vidu 2.0 (reference-to-video) cost?

Vidu 2.0 (reference-to-video) is billed at the price shown, which has no MartLLM fee on top. A request that fails costs nothing.

How do I make a video with Vidu 2.0 (reference-to-video)?

Send a POST to https://api.martllm.com/v1/video/generations with your MartLLM key, model "vidu/vidu-2-0-reference-to-video" and a prompt. You get a job id back; ask https://api.martllm.com/v1/video/generations/<job id> until it says "succeeded", then download it from https://api.martllm.com/v1/media/artifacts/<job id>/0.

Guides

Compare with similar models