More modelsViduImage to video 2.0

Generate video with vidu/image-to-video-2.0

Generates a video using the vidu/image-to-video-2.0 model.

POST
/api/v1/model/generateVideo
AuthorizationBearer <token>

API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.

In: header

modelstring

model name

seed?integer

The random seed to use for the generation.

Default0
imagestring

An image to be used as the start frame of the generated video. For fields that accept images: Only accepts 1 image; Images Assets can be provided via URLs or Base64 encode; You must use one of the following codecs: PNG, JPEG, JPG, WebP; 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.

promptstring

Text prompt: A textual description for video generation, with a maximum length of 1500 characters.

duration?integer

The duration of the generated media in seconds.

Default4
Range4 <= value
Value in4 | 8
movement_amplitude?string

The movement amplitude of objects in the frame. Defaults to auto, accepted value: auto small medium large.

Value in"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/image-to-video-2.0",    "image": "https://static.atlascloud.ai/media/images/1745492812795806468_P4jFBxup.jpg",    "prompt": "Two colorful clowns dancing wildly in a busy street market, their exaggerated gestures and big smiles drawing attention. Vibrant stalls in the background, chaotic and joyful atmosphere, fast-paced movement, playful energy"  }'
{
  "id": "string",
  "urls": {},
  "model": "string",
  "status": "string",
  "outputs": [
    "string"
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ]
}