Create Outline
create_outlineGenerate a presentation outline from a prompt or extracted files, with optional slide count, language, and detail level, without persisting a deck or session.
Instructions
Generate a stateless outline from a prompt and/or extracted files.
No deck, session, or generation request is persisted. Referenced files must belong to the caller's workspace and have completed extraction before this request.
Bills the outline's slides at the Standard rate (10 credits per slide), once, before it is
returned; an empty balance is a 402. Send an Idempotency-Key to retry safely: a key that
already paid is a 409.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | Topic and instructions for the presentation, or pasted content to build from. | |
| sources | No | Inline text and/or references to files uploaded through POST /files. | |
| language | No | Output language as an English name (e.g. `French`); `auto` follows the language of the prompt and sources. | English |
| slide_count | No | Slides including the cover, each number 1-50: `N` exact, `N-M` a range, `N+` at least N, `auto` or omitted lets the writer decide. | |
| Idempotency-Key | No | ||
| accept-language | No | ||
| level_of_detail | No | Text density per content item, case-insensitive. Omitted: adapted to the topic and content. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outline | Yes | Generated outline; edit it and pass it as `outline` to `POST /decks`. |