curl --location 'https://api.crazyrouter.com/v1/files/uploads/base64' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"purpose": "model_input",
"data": "data:image/png;base64,iVBORw0KGgoAAA...",
"filename": "reference.png"
}'{
"url": "https://media.crazyrouter.com/task-artifacts/tmp-inputs/2026/06/07/user-1/file_e5bbce820b5941409682a9c5e9ba79f1.png",
"mime_type": "image/png",
"id": "file_e5bbce820b5941409682a9c5e9ba79f1",
"size": 2025,
"expires_at": "2026-06-09T04:41:35Z"
}