Skip to content

LongCat Video

POST/v1/run

Longcat Video is meituan's image-to-video AI model. Bring static images to life with fluid animation, consistent character motion, and professional-grade video output.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to meituan/longcat-video/image-to-video.

Default: meituan/longcat-video/image-to-video

stringpromptrequired

The prompt to guide the video generation.

Default: First-person view from the cockpit of a Formula 1 car. The driver's gloved hands firmly grip the intricate, carbon-fiber steering wheel adorned with numerous colorful buttons and a vibrant digital display showing race data. Beyond the windshield, a sun-drenched racetrack stretches ahead, lined with cheering spectators in the grandstands. Several rival cars are visible in the distance, creating a dynamic sense of competition. The sky above is a clear, brilliant blue, reflecting the exhilarating atmosphere of a high-speed race. high resolution 4k

stringimagerequired

The URL of the image to generate a video from.

Optional<number>guidance_scale

The guidance scale to use for the video generation.

Range: 1 to 10

Default: 4

Optional<integer>num_inference_steps

The number of inference steps to use for the video generation.

Range: 8 to 50

Default: 40

Optional<integer>fps

The frame rate of the generated video.

Range: 1 to 60

Default: 30

Optional<integer>num_refine_inference_steps

The number of inference steps to use for refinement.

Range: 8 to 50

Default: 40

Optional<integer>num_frames

The number of frames to generate.

Range: 17 to 961

Default: 162

Optional<string>video_quality

The quality of the generated video.

Allowed values: low, medium, high, maximum

Default: high

Optional<string>video_output_type

The output type of the generated video.

Allowed values: X264 (.mp4), VP9 (.webm), PRORES4444 (.mov), GIF (.gif)

Default: X264 (.mp4)

Optional<string>video_write_mode

The write mode of the generated video.

Allowed values: fast, balanced, small

Default: balanced

Optional<integer>seed

The seed for the random number generator.

Response Schema

The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.

Optional<string>error

Error message if the task failed. Empty on success.

stringidrequired

Unique identifier for the generation task.

Optional<string>model

Model ID used for the prediction.

Optional<array>outputs

Array of generated content. Empty when status is not completed.

stringstatusrequired

Status of the task: pending, running, completed, failed, or timeout.

Allowed values: pending, running, completed, failed, timeout

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: image-to-video

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async