Generate video with vidu/reference-to-video-2.0
Generates a video using the vidu/reference-to-video-2.0 model.
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
model name
The random seed to use for the generation.
0
The model will use the provided images as references to generate a video with consistent subjects. For fields that accept images: Accepts 1 to 3 images; Images Assets can be provided via URLs or Base64 encode; You must use one of the following codecs: PNG, JPEG, JPG, WebP; The dimensions of the images must be at least 128x128 pixels; The aspect ratio of the images must be less than 1:4 or 4:1; All images are limited to 50MB; The length of the base64 decode must be under 50MB, and it must include an appropriate content type string.
["https://static.atlascloud.ai/media/images/1745492230971199265_J3J5tO7p.jpg","https://static.atlascloud.ai/media/images/1745492247387641003_Z3jDAxur.jpg"]
1 <= items <= 3
Text prompt: A textual description for video generation, with a maximum length of 1500 characters.
The aspect ratio of the output video. Defaults to 16:9, accepted: 16:9 9:16 1:1.
"16:9" | "9:16" | "1:1"
The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto, small, medium, large.
"auto" | "small" | "medium" | "large"
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \ -H "Content-Type: application/json" \ -d '{ "model": "vidu/reference-to-video-2.0", "images": [ "https://static.atlascloud.ai/media/images/1745492230971199265_J3J5tO7p.jpg", "https://static.atlascloud.ai/media/images/1745492247387641003_Z3jDAxur.jpg" ], "prompt": "the girl walks from the painting to the room, put the coffee cup on the table" }'
{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}