Skip to content

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 NameTypeRequiredDescription
idstringRequired

Header Parameters

Parameter NameTypeRequiredDescriptionExample
Content-TypestringRequiredapplication/json
AcceptstringRequiredapplication/json
AuthorizationstringOptionalBearer {{YOUR_API_KEY}}
X-Forwarded-HoststringOptionallocalhost: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 NameTypeRequiredDescription
idstringRequired
statusstringRequired
video_urlnullRequired
enhanced_promptstringRequired
status_update_timeintegerRequired

Response Example

json
{
    "id": "string",
    "status": "string",
    "video_url": null,
    "enhanced_prompt": "string",
    "status_update_time": 0
}