> 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/infographics/from-topic.md).

# Create an Infographic from a Topic Prompt

Skip sourcing links and let the service research a topic for you. Provide a `topic` and optional `text` to define the angle, then set layout knobs if needed.

```bash
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "infographic",
    "topic": "How electric vehicle charging networks are expanding in cities",
    "text": "Keep it friendly for city planners and show two key stats plus one map-style callout.",
    "infographicOrientation": "portrait",
    "infographicDetail": "standard"
  }'
```

**Tips**

* Add `infographicOrientation` (`portrait`, `landscape`, `square`) to match where you will embed the asset.
* Use `infographicDetail` (`concise`, `standard`, `detailed`) to adjust depth.
* Pair `text` with your intended audience or CTA to steer tone.

## Try it in code

* [C#](/code-samples/infographics/csharp/from-topic.md)
* [Node.js](/code-samples/infographics/nodejs/from-topic.md)
* [Java](/code-samples/infographics/java/from-topic.md)
* [PHP](/code-samples/infographics/php/from-topic.md)
* [Python](/code-samples/infographics/python/from-topic.md)
