> For the complete documentation index, see [llms.txt](https://docs.autocontentapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autocontentapi.com/quick-start/explainer-videos/set-language.md).

# Set Explainer Video Language

Target your audience with the right script and narration language. Use the exact, case-sensitive value from the supported languages list. Voice IDs only select speakers; they do not set or translate the language.

```bash
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "accept: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "video",
    "format": "short",
    "resources": [
      { "type": "website", "content": "https://example.com/ai-trends" }
    ],
    "text": "Fassen Sie die drei wichtigsten Handlungsempfehlungen zusammen.",
    "language": "Deutsch"
  }'
```

**Key fields**

* `language`: Exact, case-sensitive value from the [supported languages list](/languages.md), such as `Deutsch`.
* `resources`: Refer to any mix of source materials to ground the script.
* `text`: Give context or instructions to shape the video.

To use the 50-credit `explainer` or `short` base price, omit `voice1` and `voice2`. Supplying either voice field adds 200 credits once per video request, including for a global voice returned by `/content/GetVoices`.

## Try it in code

* [C#](/code-samples/explainer-videos/csharp/set-language.md)
* [Node.js](/code-samples/explainer-videos/nodejs/set-language.md)
* [Java](/code-samples/explainer-videos/java/set-language.md)
* [PHP](/code-samples/explainer-videos/php/set-language.md)
* [Python](/code-samples/explainer-videos/python/set-language.md)
