video-01-live2d

This documentation is valid for the following list of our models:

  • video-01-live2d

Model Overview

An innovative AI model designed for generating high-quality videos from text prompts or image. Developed by Hailou AI, this model can produce visually striking content with cinematic qualities, allowing users to create engaging videos quickly and efficiently.

Setup your API Key

If you don’t have an API key for the Apilaplas API yet, feel free to use our Quickstart guide.

Submit a request

API Schema

post
Authorizations
Body
modelundefined · enumRequiredPossible values:
promptstring · max: 2000Required

Description of the video

prompt_optimizerbooleanOptional

The model will automatically optimize the incoming prompt to improve the generation quality If necessary. For more precise control, this parameter can be set to False, and the model will follow the instructions more strictly. At this time It is recommended to provide finer prompts for best results.

Default: true
first_frame_imagestring · uriOptional

The model will use the image passed in this parameter as the first frame to generate a video. Supported formats: - URL of the image - base64 encoding of the image Image specifications: - format must be JPG, JPEG, or PNG; - aspect ratio should be greater than 2:5 and less than 5:2; the shorter side must exceed 300 pixels - file size must not exceed 20MB.

Responses
default
application/json
post
POST /v2/generate/video/minimax/generation HTTP/1.1
Host: api.apilaplas.com
Authorization: Bearer <YOUR_LAPLASAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 109

{
  "model": "video-01-live2d",
  "prompt": "text",
  "prompt_optimizer": true,
  "first_frame_image": "https://example.com"
}
default
{
  "generation_id": "222226666699999"
}
get
Authorizations
Query parameters
generation_idstringRequired

Generation ID

Example: 222226666699999
Responses
default
application/json
get
GET /v2/generate/video/minimax/generation HTTP/1.1
Host: api.apilaplas.com
Authorization: Bearer <YOUR_LAPLASAPI_KEY>
Accept: */*
default
{
  "id": "222226666699999",
  "status": "queued",
  "video": {
    "url": "https://example.com"
  }
}

Last updated