AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Video generationPlatform Video Generations

Create a video

Create a video task with the platform Video Generations API.

Submit a request with the unified JSON structure and receive a task ID. Pass model-specific parameters through the common fields or metadata.

POST/v1/video/generations

Create asynchronous video generation tasks based on text prompts and optional images. The interface returns task_id for subsequent query of task status and results.

Different models may support different input formats and vendor extension parameters. Please select models visible to the current API Key that support video generation, and only pass parameters supported by that model

Authorization

bearerAuth
AuthorizationBearer <token>

Use Bearer your-api-key in the Authorization Header.

In: header

Request Body

application/json

Use JSON to submit models, prompts, and optional video generation parameters.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json