# Node.js

Node.js snippets that match the [slide deck scenario recipes](/quick-start/slide-decks/slide-deck-examples.md). Review the [Node.js guide](https://github.com/miguelpieras/autocontentapi-docs/blob/main/code-samples/nodejs.md) if you need setup steps.

## Recipes

* [📝 Create a Slide Deck from Text](/code-samples/slide-decks/nodejs/from-text.md)
* [🔗 Create a Slide Deck from a Website](/code-samples/slide-decks/nodejs/from-website.md)
* [🎤 Presenter Notes Format](/code-samples/slide-decks/nodejs/set-presenter-format.md)
* [💡 Create a Slide Deck from a Topic Prompt](/code-samples/slide-decks/nodejs/from-topic.md)
* [🏢 Apply Brand Logo with `projectId`](/code-samples/slide-decks/nodejs/brand-with-project-id.md)

For cURL equivalents, head back to the [quick-start examples](/quick-start/slide-decks/slide-deck-examples.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.autocontentapi.com/code-samples/slide-decks/nodejs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
