# PHP

Each snippet mirrors a [explainer video scenario recipe](/quick-start/explainer-videos/explainer-video-examples.md). Review the [PHP overview](/code-samples/language-quickstarts/php.md) for setup tips before running them.

## Recipes

* [🌐 Set Explainer Video Language](/code-samples/explainer-videos/php/set-language.md)
* [🎬 Choose Explainer Video Format](/code-samples/explainer-videos/php/set-duration.md)
* [🎙️ Set Explainer Video Style](/code-samples/explainer-videos/php/set-style.md)
* [🏷️ Guide Titles, Descriptions, and Artwork](/code-samples/explainer-videos/php/set-titles-and-images.md)
* [🏢 Apply Brand Logo with `projectId`](/code-samples/explainer-videos/php/brand-with-project-id.md)
* [🔗 Create from a Website](/code-samples/explainer-videos/php/from-website.md)
* [▶️ Create from a YouTube Video](/code-samples/explainer-videos/php/from-youtube.md)
* [📝 Create from Raw Text](/code-samples/explainer-videos/php/from-text.md)
* [📄 Create from a PDF Upload](/code-samples/explainer-videos/php/from-pdf.md)
* [💡 Create from a Topic Prompt](/code-samples/explainer-videos/php/from-topic.md)
* [📜 Create from a Custom Script](/code-samples/explainer-videos/php/from-custom-script.md)
* [📰 Create from Saved Feeds](/code-samples/explainer-videos/php/from-feeds.md)
* [🔬 Create from Deep Research Results](/code-samples/explainer-videos/php/from-research.md)

Need plain HTTP instead? The [quick-start cURL samples](/quick-start/explainer-videos/explainer-video-examples.md) are ready to go.


---

# 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/explainer-videos/php.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.
