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.
/v1/video/generationsSubmit 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 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