Topic Extraction

text/topic_extraction/google by Google Cloud
Topic ExtractionProvider default · Sync · Text input
Price from
$0.6 / 1M characters
Tasks
1
Topic Extraction
Regions
Mode
sync
Input
Text
Output
items

About Google Cloud Topic Extraction

Topic analysis is a Natural Language Processing (NLP) technique that allows us to automatically extract meaning from text by identifying recurrent themes or topics.

Google Cloud Topic Extraction is Google Cloud's default model for Topic Extraction available on Eden AI for Topic Extraction, from $0.6 / 1M characters. Call it with the same API key as every other Eden AI model by sending its model string to the Universal AI endpoint.

Learn more about Topic Extraction APIs on Eden AI

Tasks and prices

Google Cloud Topic Extraction is available on Eden AI for 1 tasks. Each task has its own model string and price: send that string to the Universal AI endpoint to use the model for that task.

Task
Price
Regions
Mode
Docs
Playground
Topic Extractiontext/topic_extraction/google
$0.6 / 1M characters
sync

Parameters

What you send and what you get back when you call Google Cloud Topic Extraction through Eden AI. The same fields work with every model of the same task, so you can switch model without changing your code.

Input

  • text (required): text. Text to analyze for topics
  • language: text. ISO 639-1 language code

Response

  • items

Estimate your monthly cost

Enter your monthly volume for Topic Extraction to compare Google Cloud Topic Extraction with its cheapest alternatives.

Call Google Cloud Topic Extraction with Eden AI

Send the model string to the Universal AI endpoint. To use another model, copy its string from the table above.

import requests

response = requests.post(
    "https://api.edenai.run/v3/universal-ai",
    headers={"Authorization": "Bearer YOUR_EDENAI_API_KEY"},
    json={
        "model": "text/topic_extraction/google",
        "input": {"text": "Eden AI gives you access to the best AI models through one API."},
    },
)
print(response.json())

Questions about Google Cloud Topic Extraction

On Eden AI, Google Cloud Topic Extraction costs $0.6 / 1M characters for Topic Extraction. The Tasks and prices table lists the price for each task, and you only pay for what you use.

On Eden AI, Google Cloud Topic Extraction is available for: Topic Extraction. Input: Text. Output: items.

Eden AI offers Topic Extraction from 2 providers, all callable with the same API key. The cheapest models are compared just below.

More from Google Cloud

Other Google Cloud models on Eden AI, for every task.