Slideshows

Add a photo or video to a slideshow

Adds a photo or video as a slide, shown exactly as it is; nothing checks what the picture says. It is also the way to add a slide the layouts of POST /v1/slideshows/{id}/slides/design cannot make: design the slide as an image and add it here. Send exactly one of mediaUrl (downloaded and stored) or mediaAssetId (from POST /v1/media), plus optional durationSeconds and position (zero-based; appended when omitted): {"mediaUrl": "https://example.com/poster.jpg", "durationSeconds": 10, "position": 0}. A video plays its own length. An aspect-ratio mismatch attaches an AspectMismatch warning rather than failing. Queues a re-render. To have the picture turned into a designed slide instead, use POST /v1/slideshows/{id}/slides/ai.

post/v1/slideshows/{id}/slides

Request

  • Base URL: https://infoslides.app
  • URL: https://infoslides.app/v1/slideshows/{id}/slides
  • Auth: none declared

Path parameters

idstring uuid required

Headers

Idempotency-Keystring

Client-generated key (max 128 chars). Repeating a request with the same key within 24 hours replays the original response and sets Idempotent-Replay: true instead of re-executing.

Request body

mediaUrlstring nullable
mediaAssetIdstring uuid nullable
durationSecondsnumber double nullable
positioninteger nullable

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.