Slide Generator
Slide Generator · Ações GPT
Slides generation
Generate slides based on users several markdown content
GET /api/create_slides_file_idCreateSlidesFileIdCreate the file id for a new slides
PUT /api/save_title_and_subtitleSaveTitleAndSubtitleSave title and subtitle to a slide
PUT /api/save_sectionSaveSectionSave one section. Note that , every subsection should contains `paragraphs` and cannot be empty list.
POST /api/merge_part_slidesMergePartSlidesMerge all part content into one slides file
Esquema API original
{
"openapi": "3.1.0",
"info": {
"title": "Slides generation",
"description": "Generate slides based on users several markdown content",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://awesomegpt.ai"
}
],
"paths": {
"/api/create_slides_file_id": {
"get": {
"description": "Create the file id for a new slides",
"operationId": "CreateSlidesFileId",
"x-openai-isConsequential": false,
"parameters": [],
"deprecated": false
}
},
"/api/save_title_and_subtitle": {
"put": {
"description": "Save title and subtitle to a slide",
"operationId": "SaveTitleAndSubtitle",
"x-openai-isConsequential": false,
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/saveTitleSubtitleSchema"
}
}
},
"required": true
},
"deprecated": false
}
},
"/api/save_section": {
"put": {
"description": "Save one section. Note that , every subsection should contains `paragraphs` and cannot be empty list.",
"operationId": "SaveSection",
"x-openai-isConsequential": false,
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/sectionSchema"
}
}
},
"required": true
},
"deprecated": false
}
},
"/api/merge_part_slides": {
"post": {
"description": "Merge all part content into one slides file",
"operationId": "MergePartSlides",
"x-openai-isConsequential": false,
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/mergePartContentRequestSchema"
}
}
},
"required": true
},
"deprecated": false
}
}
},
"components": {
"schemas": {
"saveTitleSubtitleSchema": {
"properties": {
"title": {
"type": "string",
"title": "title",
"description": "The title of this presentation"
},
"subtitle": {
"type": "string",
"title": "subtitle",
"description": "The subtitle of this presentation"
},
"slides_file_id": {
"type": "string",
"title": "slides_file_id",
"description": "The file id of the slides to save the part content"
}
},
"type": "object",
"required": [
"part_markdown_content",
"slides_file_id"
],
"title": "part content schema"
},
"sectionSchema": {
"properties": {
"subsections": {
"items": {
"type": "object",
"title": "subsection",
"description": "Subsection object, contains subsection title and multiple paragraph",
"properties": {
"title": {
"type": "string",
"title": "title",
"description": "The title of this subsection"
},
"paragraphs": {
"items": {
"type": "string",
"title": "paragraph",
"description": "The paragraph content, starting with summary word or summary phrase and colon."
},
"type": "array",
"title": "paragraphs"
}
}
},
"type": "array",
"title": "subsections"
},
"section_title": {
"type": "string",
"title": "section_title",
"description": "The title of this section"
},
"slides_file_id": {
"type": "string",
"title": "slides_file_id",
"description": "The file id of the slides to save the part content"
}
},
"type": "object",
"required": [
"part_markdown_content",
"slides_file_id"
],
"title": "part content schema"
},
"mergePartContentRequestSchema": {
"properties": {
"slides_file_id": {
"type": "string",
"title": "slides_file_id",
"description": "The file id of the slides to merge all parts"
}
},
"type": "object",
"required": [
"slides_file_id"
],
"title": "part content schema"
},
"mergeResponseSchema": {
"properties": {
"download_url": {
"type": "string",
"title": "download_url",
"description": "The url of the created slides"
}
},
"type": "object",
"required": [
"download_url"
],
"title": "merge response schema"
}
}
}
}