
AI PPT Generator
API Overview
Generate high-quality presentations with one click
API Console
Log in to explore more features! Click to Log In
API Reference (12)
| API Description | API Endpoint | Request Method | Stability | Parameter Description |
|---|---|---|---|---|
Generate PPT interface with one click | POST | Stable | View Details | |
Document Details ** Price: 0.07PTC/call ** Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonsubjectstringRequired PPT theme, which can coexist with dataUrl dataUrlstringRequired File data url, returned through the parsing file content interface (can exist at the same time as subject) streambooleanOptional Whether to return streaming templateIdstringOptional Template id, use random templates without passing pptxPropertybooleanOptional Whether to return detailed PPT data structure lengthstringOptional The length of the article, short/medium/long, the default medium, corresponds to: pages 10-15/pages 20-30/pages 25-35 langstringOptional language promptstringOptional User-defined requirements | ||||
File parsing | POST | Stable | View Details | |
Document Details The generated file link is only effective on the same day Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body multipart/form-datafilestringOptional contentstringOptional fileUrlstringOptional websitestringOptional websearchstringOptional | ||||
Generate an outline | POST | Stable | View Details | |
Document Details Price: Free Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonstreambooleanOptional Whether to return streaming lengthstringOptional The length of the article, short/medium/long, the default medium, corresponds to: pages 10-15/pages 20-30/pages 25-35 langstringOptional language, zh/zh-Hant/en/ja/ko/ar/de/fr/it/pt/es/ru promptstringOptional User-defined requirements subjectstringRequired Document theme, can exist at the same time as dataUrl dataUrlstringOptional File data url, returned through the parsing file content interface (can exist at the same time as subject) | ||||
Generate outline content | POST | Stable | View Details | |
Document Details When selecting synchronously to generate PPT, there is no deduction for this interface. Only when synchronously generate PPT interface will the deduction trigger. Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonoutlineMarkdownstringRequired Outline markdown text, supporting four-level title structure streambooleanOptional Whether to return streaming asyncGenPptxbooleanOptional Whether to generate synchronously. If you choose synchronous generation, you need to call the generated PPT interface manually to obtain PPT data. langstringOptional language promptstringOptional User-defined requirements dataUrlstringOptional File data URL, obtained through file parsing interface | ||||
Get template options | GET | Stable | View Details | |
Document Details Price: Free Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}} | ||||
Generate PPT interface (synchronous interface) | POST | Stable | View Details | |
Document Details Price: 0.07PTC/call Request Parameters Request Body application/jsonoutlineContentMarkdownstringRequired Complete outline Markdown with content structure (supports level 4 titles and lists) templateIdstringOptional Template id, you can use random templates without passing. pptxPropertybooleanOptional Whether to return detailed PPT structure data (default not returned) notesarray[string]Optional PPT page notes, array format, up to 200 words per item | ||||
Load PPT data | GET | Stable | View Details | |
Document Details Price: Free Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Query ParametersidstringOptional | ||||
Generate PPT interface (asynchronous interface) | POST | Stable | View Details | |
Document Details When asyncGenPptx=true is requested to generate outline content, PPT will be generated asynchronously. At this time, there is no need to call the generated PPT interface again. Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonoutlineMarkdownstringRequired Complete outline Markdown with content structure (supports level 4 titles and lists) streambooleanOptional Whether to return streaming asyncGenPptxbooleanRequired Whether to generate synchronously. If you choose synchronous generation, you need to call the generated PPT interface manually to obtain PPT data. langstringOptional language promptstringOptional User-defined requirements dataUrlstringOptional File data URL, obtained through file parsing interface | ||||
Asynchronous query generates PPT status | POST | Stable | View Details | |
Document Details Note: This interface can only query data (temporary cache data) during streaming generation. The data will fail after 30 seconds of the response. Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Query ParameterspptIdstringOptional | ||||
Download PPT | POST | Stable | View Details | |
Document Details Price: Free Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonidstringRequired generateContent interface streaming pptId refreshbooleanOptional | ||||
Add/update custom PPT templates | POST | Stable | View Details | |
Document Details The uploaded template will be isolated according to the apikey. When querying the custom template, only the template data uploaded by the corresponding apikey will be returned. Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body multipart/form-datafilestringRequired File (only support pptx, slide size 960x540) templateIdstringOptional Template ID (not passing is a new template, and passing value is overriding the update template) | ||||
Pagination query PPT template | POST | Stable | View Details | |
Document Details Price: Free Request Parameters Header ParametersAuthorizationstringOptional Example Value: Bearer {{YOUR_API_KEY}}Request Body application/jsonpageintegerOptional Page number of pages sizeintegerOptional Maximum data per page filtersobjectRequired typeenum<integer>Required Template type Enum Value: 14categorystringOptional Category filtering, get the parameter enum value from the obtain template filtering interface stylestringOptional Style filtering, get the parameter enum value from the template filtering interface themeColorstringOptional Theme color filtering, get the parameter enum value from the obtain template filter interface | ||||
API Pricing
| Model | Description | 302.AI Price |
|---|
Generate PPT interface with one click | - |
|