More modelsMinimaxVideo 01

Generate video with minimax/video-01

Generates a video using the minimax/video-01 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.(Note: Maximum support 2000 characters). 1. Support inserting mirror operation instructions to realize mirror operation control: mirror operation instructions need to be inserted into the lens application position in prompt in the format of [ ]. The standard mirror operation instruction format is [C1,C2,C3], where C represents different types of mirror operation. In order to ensure the effect of mirror operation, it is recommended to combine no more than 3 mirror operation instructions. 2. Support natural language description to realize mirror operation control; using the command internal mirror name will improve the accuracy of mirror operation response. 3. mirror operation instructions and natural language descriptions can be effective at the same time.

Lengthlength <= 2000
enable_prompt_expansion?boolean

The model automatically optimizes incoming prompts to improve build quality.

Defaultfalse

Response Body

curl -X POST "https://api.atlascloud.ai/api/v1/model/generateVideo" \  -H "Content-Type: application/json" \  -d '{    "model": "minimax/video-01",    "prompt": "astronaut in a yellow suit slowly walks through a futuristic airlock door, heading into deep space. Cinematic sci-fi atmosphere, smooth slow motion"  }'
{
  "id": "string",
  "urls": {},
  "model": "string",
  "status": "string",
  "outputs": [
    "string"
  ],
  "created_at": "2019-08-24T14:15:22Z",
  "has_nsfw_contents": [
    true
  ]
}