Split Image into Grid
Split Image into Grid is a documented APIAny Free API tool: try it in the browser, then call the same operation with an API key.
Split one image into an even grid and download all tiles as a ZIP.
POST /api/free/grid-cut-imageSources
Which official references does this page cite?
The quotations below are from official API documentation that APIAny implements against.
The Fetch API provides an interface for fetching resources (including across the network).
The typical use case for this high speed Node.js module is to convert large images in common formats to smaller, web-friendly JPEG, PNG, WebP and AVIF images of varying dimensions.
The Images API provides several endpoints that let you generate images from text prompts or create edits of existing images.
Use Split Image into Grid online
Upload, configure, preview and download without an API key.
1. Upload and settings
Use this tool online without an API key. Files are sent only when you run the request.
2. Preview and download
Preview, size changes and download controls are shown here
Integrate with the API
Only programmatic calls require an API key. Parameters, responses and errors are documented below.
POST /api/free/grid-cut-imageOnline use is keyless. Programmatic calls to this endpoint require an APIAny key.
- Creates between 4 and 25 evenly sized tiles.
- Remainder pixels are included in the final row and column.
Response
A successful request returns a zip response with the Content-Type described by this page.
Common errors
- 400
- A file or parameter is missing, invalid or outside the documented limit.
- 401
- The API key is missing, invalid or disabled for programmatic API calls.
- 429
- The online or authenticated shared rate limit has been reached.
Parameters and limits
| Parameter | Requirement | Default | Accepted values |
|---|---|---|---|
imageImage file | Required | — | file |
rowsRows | Optional | 3 | 2, 3, 4, 5 |
columnsColumns | Optional | 3 | 2, 3, 4, 5 |
formatTile format | Optional | webp | webp, png, jpeg |
API example
Use this authenticated example in code. The online Playground above intentionally does not request or expose your key.
curl -X POST "https://apiany.ai/api/free/grid-cut-image" \ -H "Authorization: Bearer $API_KEY" \ -F "image=@input.jpg" \ -F "rows=3" \ -F "columns=3" \ --output tiles.zip
Frequently asked questions
Do I need an API key for Split Image into Grid?
No key is required in the online Playground. Programmatic requests use Authorization: Bearer or X-API-Key.
What are the limits for Split Image into Grid?
Online use is limited to 3 requests per minute and 30 per day. Authenticated free accounts receive 5 RPM and paid accounts receive 500 RPM across free APIs.
Which inputs does Split Image into Grid accept?
Use the required and optional fields in the parameter table. Unsupported formats and out-of-range values are rejected.
What does Split Image into Grid return?
Successful requests return a zip response. Errors use the HTTP status codes listed above.