More modelsMinimaxVideo 02

Generate video with minimax/video-02

Generates a video using the minimax/video-02 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

image?string

The model generates video with the picture passed in as the first frame.Base64 encoded strings in data:image/jpeg; base64,{data} format for incoming images, or URLs accessible via the public network. The uploaded image needs to meet the following conditions: Format is JPG/JPEG/PNG; The aspect ratio is greater than 2:5 and less than 5:2; Short side pixels greater than 300px; The image file size cannot exceed 20MB.

promptstring

Generate a description of the video.

Lengthlength <= 2000
duration?integer

The duration of the generated media in seconds.

Default6
Value in6
resolution?string

Video resolution.

Value in"768p" | "1080p"
enable_prompt_expansion?boolean

The model automatically optimizes incoming prompts to enhance output quality. This also activates the safety checker, which ensures content safety by detecting and filtering potential risks.

Defaultfalse

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \  -H "Content-Type: application/json" \  -d '{    "model": "minimax/video-02",    "prompt": "Circus Scene. The camera follows a clown riding unicycle while jugging balls. The camera pulls back, tracks left, and tilts loft"  }'
{
  "id": "string",
  "urls": {},
  "model": "string",
  "status": "string",
  "outputs": [
    "string"
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ]
}