Generate Video API

Endpoint: https://veoapi.pro/v1/generate
Method: POST
Content-Type: application/json

Authentication

Add the following header to your request:

You can generate your API key from the VeoAPI Dashboard.

Pricing

Each video generation costs 200 credits. You can check your credit balance in the dashboard.

Description

This API endpoint allows you to generate AI-powered videos using the Veo2 Model. You can create videos by providing a text prompt and additional optional parameters to customize the generation process.

Request Parameters

Basic Example

Full Example

Parameter Details

ParameterTypeRequiredDefaultDescription
promptstringYes-The text description of the video you want to generate
enhancePromptbooleanNofalseWhether to enhance the prompt automatically for better results
imageUrlstringNo-Reference image URL to guide the video generation
imageFrameUrlstringNo-Frame image URL to use as a reference for video composition

Response

Response Fields

FieldTypeDescription
codeintegerHTTP status code
messagestringResponse message
data.taskIdstringUnique identifier for the generation task

Notes

  • The generation process is asynchronous. Use the returned taskId with the Search API to check the generation status and get the final video URL.
  • Image URLs must be publicly accessible.
  • Each successful API call will deduct 200 credits from your account.