AI
Upload file to CDN
Upload a base64-encoded file to CDN storage and receive a public URL. Accepts raw base64 or a full data URI prefix (data:<mime>;base64,...). Maximum payload size is 20 MB.
post/api/v1/upload
Request
- Base URLhttps://core.blink.new
- URLhttps://core.blink.new/api/v1/upload
- AuthHTTP bearer
Request body
Example request
{
"data": "/9j/4AAQSkZJRgABAQAA...",
"mime_type": "image/png",
"filename": "photo.jpg"
}Response
File uploaded — returns public CDN URL
Example response
{
"url": "https://fal.media/files/rabbit/xyz/photo.jpg"
}Changes
No recorded changes to this operation across all 1 revision of this API.