Theme
openai Download Video
GET
https://www.kkiai.com/v1/videos/{id}/content
Given a prompt, the model will return one or more predicted completions, and can also return the probability of alternative tokens at each position.
Create a completion for the provided prompt and parameters
Request Parameters
Authorization
Add the Authorization parameter in the Header, with its value being the Token concatenated after Bearer
Example: Authorization: Bearer ********************
Path Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
id | string | Required |
Header Parameters
| Parameter Name | Type | Required | Description | Example |
|---|---|---|---|---|
Content-Type | string | Required | application/json | |
Accept | string | Required | application/json | |
Authorization | string | Optional | Bearer {{YOUR_API_KEY}} | |
X-Forwarded-Host | string | Optional | localhost:5173 |
cURL Example
bash
curl --location --request GET 'https://www.kkiai.com/v1/videos/video_099c5197-abfd-4e16-88ff-1e162f2a5c77/content' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'Response
🟢 200 Success
Response Body
| Parameter Name | Type | Required | Description |
|---|---|---|---|
id | string | Required | |
status | string | Required | |
video_url | null | Required | |
enhanced_prompt | string | Required | |
status_update_time | integer | Required |
Response Example
json
{
"id": "string",
"status": "string",
"video_url": null,
"enhanced_prompt": "string",
"status_update_time": 0
}