← All models
Generate long videos from images using LongCat Video
Example
Details
- Accepts
- image
Pricing
- Price
- 3.13 cr / second
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| fps | integer | The frame rate of the generated video. |
| seed | — | The seed for the random number generator. |
| prompt | string | The prompt to guide the video generation. |
| image_urlrequired | string | The URL of the image to generate a video from. |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
| num_frames | integer | The number of frames to generate. |
| acceleration | stringenum: none, regular | The acceleration level to use for the video generation. |
| video_quality | stringenum: low, medium, high, maximum | The quality of the generated video. |
| guidance_scale | number | The guidance scale to use for the video generation. |
| negative_prompt | string | The negative prompt to use for the video generation. |
| video_write_mode | stringenum: fast, balanced, small | The write mode of the generated video. |
| video_output_type | stringenum: X264 (.mp4), VP9 (.webm), PRORES4444 (.mov), GIF (.gif) | The output type of the generated video. |
| num_inference_steps | integer | The number of inference steps to use for the video generation. |
| enable_safety_checker | boolean | Whether to enable safety checker. Disabling it requires account authorization; unauthorized requests are always checked. |
| enable_prompt_expansion | boolean | Whether to enable prompt expansion. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | The seed used for generation. |
| video | — | The generated video file. |
| prompt | string | The prompt used for generation. |