> For the complete documentation index, see [llms.txt](https://docs.meganova.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meganova.ai/character-studio/advanced.md).

# Advanced Topics

> **Note:** This section covers technical details for advanced users, including character specifications, API integration, prompt engineering, and token management.

## Overview

Advanced topics include:

| Topic                                                                  | Description                         |
| ---------------------------------------------------------------------- | ----------------------------------- |
| [Character Specs](/character-studio/advanced/character-specs.md)       | CCv2 and CCv3 format specifications |
| [API Integration](/character-studio/advanced/api-integration.md)       | Using the Character Studio API      |
| [Prompt Engineering](/character-studio/advanced/prompt-engineering.md) | Writing effective prompts           |
| [Token Management](/character-studio/advanced/token-management.md)     | Understanding context limits        |

## Who Is This For?

These pages are for users who:

* Want to understand technical details
* Need to integrate with external systems
* Want to optimize character performance
* Build advanced workflows

## Quick Links

### Technical Reference

* [**Character Specs**](/character-studio/advanced/character-specs.md) — JSON formats for character data
* [**API Integration**](/character-studio/advanced/api-integration.md) — REST API usage

### Optimization

* [**Prompt Engineering**](/character-studio/advanced/prompt-engineering.md) — Crafting better prompts
* [**Token Management**](/character-studio/advanced/token-management.md) — Context window optimization

## Technical Overview

### Character Data Flow

```
Character Definition
       ↓
   JSON/CCv3 Format
       ↓
   System Prompt Generation
       ↓
   API Request to AI Model
       ↓
   Streamed Response
```

### Key Concepts

| Concept            | Description                     |
| ------------------ | ------------------------------- |
| **Tokens**         | Units of text for AI processing |
| **Context Window** | Total tokens AI can consider    |
| **System Prompt**  | Instructions to the AI          |
| **Temperature**    | Response creativity level       |

## See Also

* [Advanced Settings](/character-studio/character-features/advanced-settings.md) — Configuration options
* [Benchmark Arena](/character-studio/testing-quality/benchmark-arena.md) — Quality testing
* [API Reference](/api-reference.md) — Full API docs
