POST
Upload an image
Upload an image to FastPic and receive a public URL you can transform on the fly.
Send the image as multipart/form-data. The endpoint accepts JPEG, PNG, WebP, and AVIF up to 10 MB. The response includes a public-id you can append to media.fastpic.pro to deliver the image with optional transforms.
POST
/v1/imagesAuthentication
Send your API key as a Bearer token in the Authorization header. See Authentication for details on creating keys.
Body parameters
| Field | Type | Required | Description |
|---|---|---|---|
| file | string | yes | Image file (JPEG/PNG/WebP/AVIF, ≤10 MB). |
| name | string | no | Filename to display in dashboard. Optional if the multipart part already has a filename. |
Returns
Schema unavailable for response.
Errors
| Status | Description |
|---|---|
| 401 | Missing or invalid API key. |
| 402 | Storage quota exceeded. |
| 413 | File exceeds 10 MB limit. |
| 422 | Validation error or unsupported media type. |
| 429 | Rate limit exceeded. |