Content updated: 2026-09-28Crazyrouter provides a temporary public image upload interface, which allows you to convert a local reference image into a publicly accessible URL for models. It is suitable for interfaces such as Kling, Veo, Seedance, Runway, Luma, MiniMax, Nano Banana Pro, Doubao Seedream that require
image_url, image_urls, image_list, images, or image_input.
Temporary images are kept for 48 hours by default and will be automatically deleted after expiration. No separate charges are incurred per day within the storage period; currently, abuse prevention is managed through user upload quota and rate limits.
The returned
id is the file record ID of this site. In the model request, image_input should use the returned url and cannot directly submit id. The Base64 / multipart upload option (nano-banana-pro) is restricted to specific accounts.Interface Overview
General Restrictions:
Local File Upload
cURL
Base64 Upload
cURL
Remote URL Import
cURL
http or https) that is accessible to the Crazyrouter server. The system performs checks on file size, MIME type, and SSRF protection.
Pre-signed Direct R2 Upload
For scenarios with high upload volumes, you can first request a pre-signed upload URL, then have the client directlyPUT the image to the storage endpoint. Thus, the image binary does not pass through the Crazyrouter application server. This workflow is suitable for handling large numbers of image uploads every day.
Step 1: Request a direct upload URL:
cURL
upload_url:
cURL
url returned as the image URL in the model request.
Practical Example: Local Reference Image for Kling Image-to-Video
Step 1: Upload the local reference image:cURL
IMAGE_URL to Kling image-to-video:
cURL