Endpoint
POST /v3/universal-ai (sync)
Model string pattern: text/topic_extraction/{provider}[/{model}]
Input
| Field | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | Text to analyze for topics |
| language | string | No | ISO 639-1 language code |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| items | array[object] | No | |
| category | string | Yes | |
| importance | float | Yes |
Available Providers
| Provider | Model String | Price |
|---|---|---|
text/topic_extraction/google | $0.6 per 1,000,000 chars | |
| openai | text/topic_extraction/openai | $10 per 1,000,000 tokens |
| openai (gpt-4o) | text/topic_extraction/openai/gpt-4o | $10 per 1,000,000 tokens |
| tenstorrent | text/topic_extraction/tenstorrent | $2 per 1,000,000 chars |