AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
AudioHailuo Audio

Create a speech task

Create a Hailuo speech task through the Platform Video Generations API.

Use prompt in the request body to submit the text to synthesize. Retrieve the task status and generated result through the speech-task retrieval endpoint.

POST/v1/video/generations

Submit a Hailuo speech-synthesis request through the platform task endpoint. The platform routes it to the corresponding speech capability according to the model ID.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

Submit a Hailuo speech-synthesis request in the platform task format.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json