Skip to main content
POST
veo-3.1-generate-preview (Video To Video)

Authentication

  1. Sign up for a GPTProto account at https://gptproto.com
  2. Navigate to the API Keys section in your dashboard
  3. Generate a new API key (sk-xxxxx)
  4. Copy and securely store your API key For authentication details, please refer to the Authentication section.

Initiate Request

Query Result

After submitting a video generation request, the API returns an operation object. Use the operation name to poll for the result.
Query URL uses api.gptproto.com domain. Replace {model} with the model name and {operation_id} with the operation ID from the generation response.

Download Video

Once the operation is complete, use the video URI from the response to download the generated video.
Replace {file_id} with the file ID from the video URI in the query response (e.g. abc from .../files/abc:download?alt=media).

Parameters

Path Parameters

Endpoint: https://gptproto.com/v1beta/models/{model}:predictLongRunning

Request Body

The request uses Google’s Vertex AI format with instances and parameters arrays.

instances[0] — Core Parameters

parameters — Advanced Parameters

Scene Comparison

Notes:
  • veo-3.1-generate-preview: Highest quality, suitable for professional content.
  • veo-3.1-fast-generate-preview: Lower latency, suitable for high-volume tasks.
  • Video retention: Generated videos are stored for 2 days.
  • Watermarking: Videos are watermarked using Google SynthID.

Error Codes

Common Error Codes