Documentation Index
Fetch the complete documentation index at: https://old-docs.kie.ai/llms.txt
Use this file to discover all available pages before exploring further.
When the 4K video generation task completes, the system will notify you of the results through callback mechanism.
Callback Configuration
Configure the callback URL when requesting 4K video generation:Callback Format
When 4K video generation completes, the system will send a POST request to your configured callback URL with the following format:Callback Field Descriptions
| Field | Type | Description |
|---|---|---|
code | integer | Status code, 200 indicates success, 500 indicates failure |
msg | string | Status message, success shows “4K Video generated successfully.”, failure shows error message |
data | object | null | Task result data when successful, null when failed |
data.taskId | string | Task ID |
data.info | object | Object containing detailed result information |
data.info.resultUrls | array | Generated 4K video URL array |
data.info.imageUrls | array | Related thumbnail or preview image URL array |
Callback Handling
Error Handling
If errors occur during 4K video generation, the callback will return an error status code with the corresponding error message. Currently supported error cases include:- 500: 4K version unavailable - “The 4K version of this video is unavailable. Please try a different video.”
Best Practices
Alternative Solutions
If you cannot use the callback mechanism, you can also use polling:Poll Query Results
Use the Get Video Details endpoint to periodically query 4K video generation task status.
