Endpoint: https://veoapi.pro/v1/generate
Method: POST
Content-Type: application/json
Add the following header to your request:
You can generate your API key from the VeoAPI Dashboard.
Each video generation costs 200 credits. You can check your credit balance in the dashboard.
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.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
prompt | string | Yes | - | The text description of the video you want to generate |
enhancePrompt | boolean | No | false | Whether to enhance the prompt automatically for better results |
imageUrl | string | No | - | Reference image URL to guide the video generation |
imageFrameUrl | string | No | - | Frame image URL to use as a reference for video composition |
Field | Type | Description |
---|---|---|
code | integer | HTTP status code |
message | string | Response message |
data.taskId | string | Unique identifier for the generation task |
taskId
with the Search API to check the generation status and get the final video URL.