Upscale
POST https://api.vidu.com/ent/v2/upscale
Request Header
Field | Value | Description |
---|---|---|
Content-Type | application/json | Data Exchange Format |
Authorization | Token {your api key} | Replace {} with your API key |
Request Body
Field | Type | Required | Description |
---|---|---|---|
model | String | Required | Model Accepted value: vidu1.0 |
creation_id | String | Required | Creation id Notes: - Retrieve creation_id from the GetGenaration API, request URL {/ent/v2/tasks/{id}/creations} - upscale only supports 360p resolution input |
callback_url | String | Optional | Callback When creating a task, you need to actively set the callback_url with a POST request. When the video generation task changes its status, Vidu will send a callback request to this URL, containing the latest status of the task. The structure of the callback request content will be the same as the return body of the GET Generation API. The “status” in the callback response includes the following states: - processing: Task is being processed. - success: Task is completed (if sending fails, it will retry the callback three times). - failed: Task failed (if sending fails, it will retry the callback three times). |
curl -X POST -H "Authorization: Token {your_api_key}" -H "Content-Type: application/json" -d '{"model": "vidu1.0","creation_id": "your_creation_id"}' https://api.vidu.com/ent/v2/upscale
Response Body
Field | Type | Description |
---|---|---|
task_id | String | Task ID |
state | String | It will be returned to a specific processing state: - created created task successfully - queueing task in queue - processing processing - success generation successful - failedtask failed |
model | String | The model parameter used for this call |
creation_id | String | The parameter of the creation id used for this call |
created_at | String | Task creation time |
{"task_id": "your_task_id_here","state": "created","model": "vidu1.0","creation_id": "your_creation_id_here","created_at": "2025-01-01T15:41:31.968916Z"}