KIE.AI
Chinese
  • English
  • Chinese
Chinese
  • English
  • Chinese
Support
Chinese
  • English
  • Chinese
MarketVeo3.1 APISuno API4o Image APIFlux Kontext APIRunway APILuma APIFile Upload APICommon API
MarketVeo3.1 APISuno API4o Image APIFlux Kontext APIRunway APILuma APIFile Upload APICommon API
  1. Common API
  • 通用 API 快速入门
  • Webhook 安全校验
  • 获取剩余积分
    GET
  • 获取生成文件的下载链接
    POST
Chinese
  • English
  • Chinese
Support
Chinese
  • English
  • Chinese
MarketVeo3.1 APISuno API4o Image APIFlux Kontext APIRunway APILuma APIFile Upload APICommon API
MarketVeo3.1 APISuno API4o Image APIFlux Kontext APIRunway APILuma APIFile Upload APICommon API
  1. Common API

获取生成文件的下载链接

POST
/api/v1/common/download-url
将生成的文件URL转换为可下载的临时链接。仅支持kie.ai服务生成的文件。

功能特性#

将kie.ai生成的文件URL转换为可下载链接
支持kie.ai平台生成的所有文件类型(图片、视频、音频等)
临时下载链接有效期为20分钟
安全访问生成的内容
API Key身份验证保护

重要说明#

仅支持kie.ai服务生成的文件URL。外部文件URL将返回422验证错误。
可下载链接20分钟后过期。请确保在此时间范围内下载或缓存内容。

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200
application/json
请求成功
Body

🔴500Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.kie.ai/api/v1/common/download-url' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "https://tempfile.1f6cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxbd98"
}'
Response Response Example
200 - 成功示例
{
    "code": 200,
    "msg": "success",
    "data": "https://tempfile.1f6cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxbd98"
}
Previous
获取剩余积分
Built with