Skip to main content
POST
sora-2 (Text 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

How to obtain the id

After submitting your video generation request to /v1/videos, the response will contain the id you need for querying results.

Query Task Status

Retrieve detailed information about the video generation task, including status, progress, and video URL.
Query Task Status Response:

Query Video Content

Directly output the video content for immediate use or download.

Parameters

Error Codes

Common Error Codes