Video

SeaCloud provides various video generation models including Google Veo, Hailuo, Wanx, and more. Each model has its own dedicated API endpoint and parameters.


How to Use Video Generation Models

1

Visit the Models page

Select the "Video" type.

2

Browse and select a video generation model

Choose the model you want to use.

3

View the complete curl example

Open the "API" tab on the model details page to see the complete curl example and parameter descriptions.

4

Copy the example code

Replace with your API Key and prompt, then run the request.


Example: Using Google Veo 3.1

Here is an example of generating a video using Google Veo 3.1:

curl
curl --location 'https://cloud.seaart.ai/api/v1/google_veo_31/generate' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_API_KEY' \
  --data '{
    "model": "google_veo_31",
    "input": [
      {
        "params": {
          "prompt": "A drone flying over a futuristic city at sunset",
          "durationSeconds": 8,
          "aspectRatio": "16:9",
          "resolution": "720p",
          "compressionQuality": "optimized",
          "personGeneration": "allow_adult"
        }
      }
    ]
  }'

Note: Different video generation models have different parameters. For example, Google Veo 3.1 above uses durationSeconds, aspectRatio, and resolution, while other models may use different parameter names and values. Please check the specific model API documentation for supported parameters.


Last updated