# 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#](https://docs.autocontentapi.com/code-samples/infographics/csharp/from-topic)
* [Node.js](https://docs.autocontentapi.com/code-samples/infographics/nodejs/from-topic)
* [Java](https://docs.autocontentapi.com/code-samples/infographics/java/from-topic)
* [PHP](https://docs.autocontentapi.com/code-samples/infographics/php/from-topic)
* [Python](https://docs.autocontentapi.com/code-samples/infographics/python/from-topic)
