cURL
curl --request POST \ --url https://app.demand-iq.com/api/decks/{deckId}/generate \ --header 'Content-Type: multipart/form-data' \ --cookie session= \ --form 'images=<string>' \ --form images.items='@example-file'
{ "jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Accepts uploaded slide images, runs them through GPT-4o Vision to extract content, generates narration scripts, and synthesizes audio. Returns a job ID — poll /api/decks/{deckId}/generate/status for progress.
/api/decks/{deckId}/generate/status
Session cookie obtained from POST /api/auth/login.
POST /api/auth/login
UUID of the deck
Slide images (PNG, JPG, or WebP; max 10 MB each)
Job accepted