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

# Gemini-API: Antworten, Grounding-Quellen und Produktkarten

> Stellen Sie Google Gemini eine Frage und erhalten Sie die Antwort, Grounding-Quellen, Produkte, Orte und Videos.

`GEMINI` fragt Google Gemini und liefert die Antwort mit den Quellen, auf die sie sich stützt.

| | |
| - | - |
| taskType | `GEMINI` |
| Liest | `prompt` (greift auf `query` zurück) |
| Credits | 1,25 |
| Land | Optional, Standard `US`. `CN` wird über einen US-Ausgang mit einem Gerätestandort in Peking gefragt. |
| Standort | Akzeptiert `payload.location`. Siehe [Regionen und Standort](/de/engines/capacity.md). |

## Anfrage

```bash theme={"theme":"css-variables"}
curl -X POST https://api.querying.ai/v1/async/task \
  -H "Authorization: Bearer $QUERYING_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskType": "GEMINI", "payload": { "prompt": "best CRM for a small team", "country": "US" } }'
```

## Antwort

| Feld | Typ | Beschreibung |
| - | - | - |
| `text` | string | Die Antwort. Immer vorhanden. |
| `sources` | array | Grounding-Quellen: `position`, `url`, `label`, `description` und `confidence_level` (0-100). Immer vorhanden. |
| `model` | string | Das Modell, mit dem Gemini geantwortet hat, sofern bekannt. |
| `markdown` | string | Die Antwort als Markdown. Nur mit `include.markdown`. |
| `shoppingCards` | array | In der Antwort gezeichnete Produktkarten: `title`, `position`, `price` (`value`, `currency`, `raw`), `store`, `rating`, `reviews`, `thumbnail`, `productLink`. |
| `inlineProducts` | array | In der Antwort verlinkte Produktnamen: `title`, `position`, `productLink`. |
| `map` | array | Orte in der Antwort: `name`, `position`, `placeId`, `location`, `phoneNumber`, `url`, `mapsUrl`, `reviews`, `category`. |
| `videos` | array | YouTube-Karten: `title`, `url`, `medium`, `thumbnail`, `source`, `duration`. |
| `images` | array | Bilder, die mit der Antwort gezeigt werden. |
| `weather` | object | Geminis Wetter-Widget, wenn die Antwort eines zeigt. |
| `rawResponse` | array | Stream-Frames. Nur mit `include.rawResponse`. |

Produkt-, Orts-, Video- und Wetterfelder erscheinen nur, wenn die Antwort sie zeigt.

Zum Beispiel:

```json theme={"theme":"css-variables"}
{
  "text": "For a small team, HubSpot CRM and Pipedrive are strong choices ...",
  "sources": [
    { "position": 1, "url": "https://www.example.com/crm-guide", "label": "CRM guide for small teams", "confidence_level": 87 }
  ],
  "model": "...",
  "shoppingCards": [
    {
      "title": "Acme Desk Phone",
      "position": 1,
      "price": { "value": 249.99, "currency": "$", "raw": "$249.99" },
      "store": "Northwind Electronics",
      "rating": 4.7,
      "reviews": "14292",
      "thumbnail": "https://...",
      "productLink": "https://google.com/search?...&ibp=oshop..."
    }
  ]
}
```

Kartennamen bleiben in `text`, und Produktlinks im Text zeigen auf Googles Produktseite. Eine YouTube-Karte erscheint in `text` und `markdown` als verlinktes Vorschaubild an der Stelle, an der Gemini sie zeichnet. Wenn Gemini Code ausführt, um eine Berechnung zu lösen, ist die Antwort das angegebene Ergebnis; Code und Ausgabe fehlen.

## Include-Flags

| Flag | Wirkung |
| - | - |
| `markdown` | Fügt `markdown` hinzu. |
| `rawResponse` | Fügt `rawResponse` hinzu. |
| `html` | Fügt `html` hinzu, den Bildschirm, den Gemini gezeigt hat. Siehe [HTML-Seiten](/de/engines/html-pages.md). |
| `analysis` | Fügt `analysis` hinzu, 1 Credit. Siehe [Antwortanalyse](/de/engines/answer-analysis.md). |
| `citationAnalysis` | Führt eine [Citation Analysis](/de/research/citation-analysis.md) der Antwort aus. |

`searchQueries`, `ads` und `shopping` haben keine Wirkung. Siehe [Markdown und Rohantworten](/de/engines/response-options.md).

## Verwandte Seiten

* [Gemini-Produktseite](https://querying.ai/de/engines/gemini)
* [Engine-Überblick](/de/engines/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.