Improve Your AI Skills: Learn Excel Translation, Task Breakdown, and More
Aspose.Cells Cloud AI provides three powerful AI‑driven services that simplify working with Excel and text data: Decompose User Task, Translate Spreadsheet, and Translate Text File. These APIs enable developers to programmatically break down complex user objectives into actionable steps, translate entire workbooks or plain‑text files, and integrate the results into custom applications. Use the endpoints below to get started quickly, and refer to the detailed request/response specifications provided for each service.
-
Decompose User Task – Convert user objectives into sequential action plans with Aspose.Cells Cloud AI.
- Request Method:
POST - Endpoint URL:
https://api.aspose.cloud/v4.0/cells/ai/decompose-task - Headers:
Authorization: Bearer <access_token>,Content-Type: application/json - Request Body (JSON):
{ "task": "Generate a quarterly sales report with charts and pivot tables" } - Response: Returns the spreadsheet file containing the task list as a downloadable file.
- Status Codes:
200 OK,400 Bad Request,401 Unauthorized,500 Internal Server Error - Prerequisites: A valid access token with the CellsAI scope.
- Example Response (JSON snippet):
{ "fileId": "12345abcde", "downloadUrl": "https://api.aspose.cloud/v4.0/cells/ai/files/12345abcde" } - Notes: The generated workbook includes a worksheet named TaskList with ordered steps. Rate limit: 100 requests per minute.
- Request Method:
-
Translate Spreadsheet – Translate an entire spreadsheet using Aspose.Cells Cloud AI.
- Request Method:
POST - Endpoint URL:
https://api.aspose.cloud/v4.0/cells/ai/translate-spreadsheet - Headers:
Authorization: Bearer <access_token>,Content-Type: multipart/form-data - Request Parameters:
file– The Excel file to translate (binary).targetLanguage– ISO language code (e.g.,fr,de).
- Response: Returns the translated workbook as a downloadable file.
- Status Codes:
200 OK,400 Bad Request,401 Unauthorized,415 Unsupported Media Type,500 Internal Server Error - Prerequisites: Access token with CellsAI scope and sufficient storage quota.
- Example Response (JSON snippet):
{ "translatedFileId": "f9d8c7b6", "downloadUrl": "https://api.aspose.cloud/v4.0/cells/ai/files/f9d8c7b6" } - Notes: All cell values, comments, and sheet names are translated. Rate limit: 100 requests per minute.
- Request Method:
-
Translate Text File – Translate an entire text file using Aspose.Cells Cloud AI.
- Request Method:
POST - Endpoint URL:
https://api.aspose.cloud/v4.0/cells/ai/translate-text - Headers:
Authorization: Bearer <access_token>,Content-Type: multipart/form-data - Request Parameters:
file– The text file to translate (binary).targetLanguage– ISO language code (e.g.,es,ja).
- Response: Returns the translated text file.
- Status Codes:
200 OK,400 Bad Request,401 Unauthorized,415 Unsupported Media Type,500 Internal Server Error - Prerequisites: Valid access token with CellsAI scope.
- Example Response (JSON snippet):
{ "translatedFileId": "a1b2c3d4", "downloadUrl": "https://api.aspose.cloud/v4.0/cells/ai/files/a1b2c3d4" } - Notes: Supports UTF‑8 encoded plain‑text files up to 5 MB. Rate limit: 100 requests per minute.
- Request Method: