> ## Documentation Index
> Fetch the complete documentation index at: https://www.edenai.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# First Expert Model call

> Get started with Eden AI's Universal AI endpoint for expert models (OCR, image analysis, text processing, and more).

export const TechArticleSchema = ({title, description, path, articleSection, about, proficiencyLevel = "Beginner", dependencies, keywords = [], datePublished, dateModified, image, inLanguage = "en"}) => {
  const baseUrl = "https://www.edenai.co/docs";
  const canonicalUrl = `${baseUrl}/${path}`.replace(/\/+$/, "");
  const ogParams = new URLSearchParams({
    division: articleSection || "",
    title: title || "",
    description: description || ""
  });
  const resolvedImage = image || `https://edenai.mintlify.app/_mintlify/api/og?${ogParams.toString()}`;
  const data = {
    "@context": "https://schema.org",
    "@type": "TechArticle",
    "@id": `${canonicalUrl}#techarticle`,
    mainEntityOfPage: {
      "@type": "WebPage",
      "@id": canonicalUrl
    },
    headline: title,
    name: title,
    description: description,
    url: canonicalUrl,
    inLanguage: inLanguage,
    isPartOf: {
      "@type": "WebSite",
      name: "Eden AI Documentation",
      url: baseUrl
    },
    author: [{
      "@type": "Organization",
      name: "Eden AI",
      url: "https://www.edenai.co/"
    }],
    publisher: {
      "@type": "Organization",
      name: "Eden AI",
      url: "https://www.edenai.co/",
      logo: {
        "@type": "ImageObject",
        url: "https://www.edenai.co/assets/logo.png"
      }
    }
  };
  if (articleSection) data.articleSection = articleSection;
  if (about) data.about = {
    "@type": "Thing",
    name: about
  };
  if (proficiencyLevel) data.proficiencyLevel = proficiencyLevel;
  if (dependencies) data.dependencies = dependencies;
  if (keywords && keywords.length) data.keywords = keywords;
  if (datePublished) data.datePublished = datePublished;
  if (dateModified) data.dateModified = dateModified;
  data.image = Array.isArray(resolvedImage) ? resolvedImage : [resolvedImage];
  const json = JSON.stringify(data);
  const schemaId = `techarticle-${canonicalUrl}`;
  React.useEffect(() => {
    if (typeof document === "undefined") return;
    document.querySelectorAll(`script[data-schema-id="${schemaId}"]`).forEach(n => n.remove());
    const script = document.createElement("script");
    script.type = "application/ld+json";
    script.dataset.schemaId = schemaId;
    script.textContent = json;
    document.head.appendChild(script);
    return () => script.remove();
  }, [json, schemaId]);
  return null;
};

<TechArticleSchema title={"First Expert Model call"} description={"Get started with Eden AI's Universal AI endpoint for expert models (OCR, image analysis, text processing, and more)."} path="v3/quickstart/first-expert-model-call" articleSection="Quickstart" about={"LLM API Integration"} proficiencyLevel="Beginner" keywords={["Eden AI", "AI API", "quickstart", "first API call"]} datePublished="2026-05-06T00:00:00Z" dateModified="2026-05-07T00:00:00Z" />

Get started with Eden AI's Universal AI endpoint for expert models (OCR, image analysis, text processing, and more).

## Prerequisites

1. **API Token** - Get your token from the [Eden AI dashboard](https://app.edenai.run/)
2. **Credits** - Ensure your account has sufficient credits (or use a [sandbox token](/v3/general/sandbox) to test for free)

## Make Your First Call

The Universal AI endpoint handles all non-LLM features (OCR, image analysis, text processing, etc.) through a single endpoint.

<CodeGroup>
  ```python Python theme={null}
  import requests

  url = "https://api.edenai.run/v3/universal-ai"
  headers = {
      "Authorization": "Bearer YOUR_API_KEY",
      "Content-Type": "application/json"
  }

  payload = {
      "model": "text/moderation/google",
      "input": {
          "text": "This is a sample text to moderate for harmful content."
      }
  }

  response = requests.post(url, headers=headers, json=payload)
  result = response.json()
  print(result)
  ```

  ```bash cURL theme={null}
  curl -X POST https://api.edenai.run/v3/universal-ai \
    -H "Authorization: Bearer YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "model": "text/moderation/google",
      "input": {
        "text": "This is a sample text to moderate for harmful content."
      }
    }'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.edenai.run/v3/universal-ai', {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      model: 'text/moderation/google',
      input: { text: 'This is a sample text to moderate for harmful content.' }
    })
  });

  const result = await response.json();
  console.log(result);
  ```
</CodeGroup>

## Response

```json theme={null}
{
  "status": "success",
  "cost": 0.0001,
  "provider": "google",
  "feature": "text",
  "subfeature": "moderation",
  "output": {
    "nsfw_likelihood": 1,
    "items": [
      {"label": "Toxic", "likelihood": 1, "likelihood_score": 0.0908}
    ],
    "nsfw_likelihood_score": 0.0908
  }
}
```

## Model Format

Use the format `feature/subfeature/provider[/model]`:

```
feature/subfeature/provider[/model]
```

**Examples:**

* `text/moderation/google` - Content moderation
* `ocr/financial_parser/google` - Invoice/receipt parsing
* `image/generation/openai/dall-e-3` - Image generation
* `image/object_detection/amazon` - Object detection

## Available Features

| Feature         | Description                       | Example Models                     |
| --------------- | --------------------------------- | ---------------------------------- |
| **Text**        | Moderation, AI detection, NER     | `text/moderation/openai`           |
| **OCR**         | Document parsing, text extraction | `ocr/financial_parser/google`      |
| **Image**       | Generation, detection, analysis   | `image/generation/openai/dall-e-3` |
| **Audio**       | Speech-to-text, text-to-speech    | `audio/tts/google`                 |
| **Translation** | Document translation              | `translation/document/google`      |

<Card title="List all available models" icon="list" href="/v3/expert-models/listing-models">
  Discover all expert models available through Eden AI.
</Card>

## Next Steps

<CardGroup cols={2}>
  <Card title="Audio Features" icon="volume-high" href="/v3/expert-models/features/audio/tts">
    Speech-to-text transcription and text-to-speech synthesis
  </Card>

  <Card title="OCR Features" icon="file-lines" href="/v3/expert-models/features/ocr/ocr">
    Document parsing and text extraction
  </Card>

  <Card title="Image Features" icon="image" href="/v3/expert-models/features/image/generation">
    Image generation and analysis
  </Card>

  <Card title="List All Models" icon="list" href="/v3/expert-models/listing-models">
    Browse all expert model features
  </Card>
</CardGroup>
