Last updated: 2026-06-06Crazyrouter provides temporary public image upload endpoints for converting local reference images into model-readable public URLs. They are suitable for Kling, Veo, Seedance, Runway, Luma, MiniMax, Nano Banana Pro, Doubao Seedream, and other APIs that accept
image_url, image_urls, image_list, images, or image_input.
Temporary images are kept for 48 hours by default and then cleaned up automatically. Storage during that period is not billed separately; current anti-abuse controls use per-user upload quota and rate limits.
Endpoint Overview
Common limits:
Local File Upload
cURL
Base64 Upload
cURL
Remote URL Rehosting
cURL
http or https image URL reachable by Crazyrouter servers. The system checks file size, MIME type, and SSRF protection rules.
Presigned Direct R2 Upload
For high-upload-volume workflows, request a presigned upload URL first, then upload the image directly from your client to the storage endpoint withPUT. The image bytes do not pass through the Crazyrouter application server.
First, request a direct upload URL:
cURL
upload_url:
cURL
url as the image URL in the model request.
Example: Use a Local Reference Image for Kling Image-to-Video
First, upload the local reference image:cURL
IMAGE_URL to Kling image-to-video:
cURL