# Java

Compile and run these Java snippets to mirror the [podcast scenario recipes](/quick-start/podcasts/podcast-examples.md). See the [Java guide](https://github.com/miguelpieras/autocontentapi-docs/blob/main/code-samples/java.md) for project setup notes.

## Recipes

* [🌐 Set Podcast Language](/code-samples/podcasts/java/set-language.md)
* [⏱️ Set Podcast Duration](/code-samples/podcasts/java/set-duration.md)
* [🎙️ Set Podcast Style](/code-samples/podcasts/java/set-style.md)
* [🎤 Use One Custom Voice](/code-samples/podcasts/java/single-custom-voice.md)
* [🔗 Create from a Website](/code-samples/podcasts/java/from-website.md)
* [▶️ Create from a YouTube Video](/code-samples/podcasts/java/from-youtube.md)
* [📝 Create from Raw Text](/code-samples/podcasts/java/from-text.md)
* [📄 Create from a PDF Upload](/code-samples/podcasts/java/from-pdf.md)
* [💡 Create from a Topic Prompt](/code-samples/podcasts/java/from-topic.md)
* [📜 Create from a Custom Script](/code-samples/podcasts/java/from-custom-script.md)
* [📰 Create from Saved Feeds](/code-samples/podcasts/java/from-feeds.md)
* [🔬 Create from Deep Research Results](/code-samples/podcasts/java/from-research.md)

For a quick HTTP refresher, compare with the [cURL quick-start](/quick-start/podcasts/podcast-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/podcasts/java.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.
