Skip to main content
POST
/
api
/
v1
/
ppt
/
slide
/
edit
Edit Slide
curl --request POST \
  --url https://api.presenton.ai/api/v1/ppt/slide/edit \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "path": "<string>",
  "edit_path": "<string>",
  "credits_consumed": 123
}

Headers

Authorization
string
required

Bearer JWT or API Key

Body

application/json
prompt
string
required

The prompt to edit the slide

id
string<uuid> | null

The id of the slide to edit

presentation_id
string<uuid> | null

The id of the presentation to edit

slide_index
integer | null

The index of the slide to edit

export_as
enum<string> | null
default:pptx

The format to export the presentation as

Available options:
pptx,
pdf

Response

Successful Response

presentation_id
string<uuid>
required
path
string
required
edit_path
string
required
credits_consumed
number
required