InitiatePptCreationV2
Starts a task to create a presentation.
Try it now
You can call this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
RAM authorization
No authorization information is exposed for this API.
Request syntax
POST HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | No | The ID of the workspace. | llm-2setzb9x4ewsd |
| TaskId | string | Yes | The ID of the task. | 8a7dfece-f204-4380-a7d0-a13d37de3924 |
| ProcessType | integer | No | The type of process to initiate. | 1 |
| PptTemplateType | integer | No | The template type. The default value is 1. 1: system template, 2: enterprise template | 1 |
| PptTemplateId | integer | No | The ID of the PPT template. | 500 |
| PptTitle | string | No | The Charm of Chinese Traditional Culture and Art | |
| Outline | string | No | The presentation outline, formatted in Markdown. | # The Charm of Chinese Traditional Culture and Art ## 1. The Long History of Traditional Culture and Art ### 1.1 The Development of Ancient Chinese Art #### 1.1.1 The Evolution of Ancient Painting - From painted pottery of the Neolithic Age to the emergence of silk painting in the Eastern Han Dynasty, painting forms continuously diversified, reflecting the ancients' unique pursuit of beauty. Tang Dynasty painting featured diverse styles; Wu Daozi's "Portrait of the Heavenly King Sending His Son" combined flowing lines with vibrant colors, exemplifying the superb techniques of Tang painting. #### 1.1.2 The Inheritance and Innovation of Calligraphy - From oracle bone script to regular, running, and cursive scripts, calligraphy evolved over thousands of years, bearing the profound essence of Chinese culture. Wang Xizhi's "Lanting Xu (Preface to the Orchid Pavilion)" is hailed as "the finest running script in the world," its brushwork exquisite and structure rigorous, representing the pinnacle of calligraphic art. |
| ExternalUserId | string | No | The unique ID of the external user. | abc |
| IsMobile | boolean | No | Specifies whether the request originates from a mobile client. | true |
Response elements
Element | Type | Description | Example |
|---|---|---|---|
object | Schema of Response | ||
| RequestId | string | The request ID. | xxxxx |
| Success | boolean | Indicates whether the request was successful. | true |
| Code | string | The error code. | DataNotExists |
| Message | string | The error message. | Error message |
| HttpStatusCode | integer | The HTTP status code. | 400 |
| Data | object | The returned data. | |
| AppKey | string | The AppKey for initializing the front-end component. | S1X5ecouBztZelaQ |
| Signature | string | The signature for initializing the front-end component. | YOUR_SIGNATURE |
| PptProcessId | string | The process ID for creating the PPT, used to initialize the front-end component for artifact creation. | 8485143 |
| PptArtifactId | string | The artifact ID. Use this ID to edit the artifact. | 53059801 |
| PptArtifactCover | string | The URL of the artifact cover. | |
| ExportTaskId | string | The ID of the export task. | 66b25058-d735-47e5-a534-5da93453d3df |
| Alert | string | The monthly quota included in your current edition has been exhausted. Additional usage will be billed on a pay-as-you-go basis. The monthly quota will be refreshed next month. Please be aware. |
Examples
Success response
JSON format
{
"RequestId": "xxxxx",
"Success": true,
"Code": "DataNotExists",
"Message": "Error message",
"HttpStatusCode": 400,
"Data": {
"AppKey": "S1X5ecouBztZelaQ",
"Signature": "YOUR_SIGNATURE",
"PptProcessId": "8485143",
"PptArtifactId": "53059801",
"PptArtifactCover": "http://a.com/xxx.png",
"ExportTaskId": "66b25058-d735-47e5-a534-5da93453d3df",
"Alert": "The monthly quota included in your current edition has been exhausted. Additional usage will be billed on a pay-as-you-go basis. The monthly quota will be refreshed next month. Please be aware."
}
}
Error codes
Visit the Error Center to view more error codes.
Release notes
For more information, see Change Details.