KIE.AI
English
  • English
  • Chinese
English
  • English
  • Chinese
Support
English
  • 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
  • Common API Quickstart
  • Webhook Security Verification
  • Get Download URL for Generated Files
    POST
  • Get Remaining Credits
    GET
English
  • English
  • Chinese
Support
English
  • 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

Get Download URL for Generated Files

POST
/api/v1/common/download-url

Get Download Link for Generated Files#

Convert generated file URLs into downloadable temporary links. Only supports files generated by kie.ai services.

Features#

Convert kie.ai generated file URLs into downloadable links
Supports all file types generated by the kie.ai platform (images, videos, audio, etc.)
Temporary download links are valid for 20 minutes
Secure access to generated content
Protected by API Key authentication

Important Notes#

Only supports file URLs generated by kie.ai services. External file URLs will return a 422 validation error.
Downloadable links expire after 20 minutes. Please ensure you download or cache content within this timeframe.

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
Request successful
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.aiquickdraw.com/path/to/image.jpg" // 图片url(必填)
}'
Response Response Example
200 - Successful Example
{
    "code": 200,
    "msg": "success",
    "data": "https://tempfile.1f6cxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxbd98"
}
Previous
Webhook Security Verification
Next
Get Remaining Credits
Built with