# Create an Infographic from Text

Combine a text resource with clear layout guidance to produce a clean visual summary.

```bash
curl -X POST "https://api.autocontentapi.com/content/Create" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "outputType": "infographic",
    "resources": [
      { "type": "text", "content": "Three key takeaways about electric vehicle adoption and charging growth." }
    ],
    "text": "Create a single-page infographic with bold section headers, a concise stat block, and one chart-ready callout.",
    "infographicOrientation": "portrait",
    "infographicDetail": "detailed"
  }'
```

**Tips**

* Keep the `text` instructions punchy so the infographic layout stays focused.
* Switch `infographicOrientation` between `landscape`, `portrait`, and `square` to match your destination.
* Use `infographicDetail` (`concise`, `standard`, `detailed`) to balance brevity versus depth.


---

# 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/quick-start/infographics/from-text.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.
