Update using-presenton-api.mdx

This commit is contained in:
Suraj Jha 2025-07-03 16:33:01 +05:45 committed by GitHub
parent db4ac743af
commit ee68a3d6db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,12 +17,12 @@ Use this endpoint to generate a presentation from a prompt, outline, or uploaded
| Field | Type | Required | Description |
| ----------- | -------- | -------- | --------------------------------------------------------------------- |
| `prompt` | `string` | Yes | The main topic or subject for the presentation |
| `n_slides` | `int` | No | Number of slides (default: 8, min: 5, max: 15) |
| `language` | `string` | No | Language of the presentation (default: `English`) |
| `theme` | `string` | No | Theme of the presentation (e.g., `light`, `dark`, `royal_blue`, etc.) |
| `documents` | `file[]` | No | Optional files (PDF, PPTX, DOCX, TXT) to include |
| `export_as` | `string` | No | Export format: `pptx` or `pdf` (default: `pptx`) |
| `prompt` | `string` | Yes | The main topic or subject for the presentation |
| `n_slides` | `int` | No | Number of slides (default: 8, min: 5, max: 15) |
| `language` | `string` | No | Language of the presentation (default: `English`) |
| `theme` | `string` | No | Theme of the presentation (e.g., `light`, `dark`, `royal_blue`, etc.) |
| `documents` | `file[]` | No | Optional files (PDF, PPTX, DOCX, TXT) to include |
| `export_as` | `string` | No | Export format: `pptx` or `pdf` (default: `pptx`) |
### 📤 Example Request
@ -103,4 +103,4 @@ axios.post("http://localhost:5000/api/v1/ppt/generate/presentation", form, {
- `royal_blue`
- `faint_yellow`
- `light_red`
- `dark_pink`
- `dark_pink`