> ## 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.

# Google AI 모드 API: 답변, Markdown, 출처

> Google AI 모드에 질문하고 답변을 텍스트와 Markdown으로, 출처, 상품, 인용 칩과 함께 받습니다.

`AIMODE`는 Google AI 모드에 묻고, 답변을 항상 Markdown과 함께, 그 근거가 된 출처와 함께 반환합니다.

| | |
| - | - |
| taskType | `AIMODE` |
| 별칭 | `GOOGLE_AIMODE` |
| 읽는 필드 | `query` (없으면 `prompt`) |
| 크레딧 | 1.25 |
| 국가 | 선택, 기본값 `US`. `CN`은 AI 개요처럼 미국 시장으로 바꾸지 않고 Google 중국 시장에 그대로 묻습니다. |
| 위치 | `payload.location`을 받습니다. [지역과 위치](/ko/engines/capacity.md)를 참고하세요. |

## 요청

```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": "AIMODE", "payload": { "query": "best CRM for a small team", "country": "US" } }'
```

## 응답

[Google AI 개요](/ko/engines/google-ai-overviews.md)와 달리 AI 모드는 결과 페이지 봉투 없이 답변만 반환합니다.

| 필드 | 타입 | 설명 |
| - | - | - |
| `text` | string | 답변. 항상 있습니다. |
| `markdown` | string | Markdown 답변. 플래그 없이 반환됩니다. |
| `sources` | array | `position`, `url`, `label`, `description`. |
| `shoppingCards`, `inlineProducts` | array | 답변에 나온 상품. 필드는 AI 개요와 같습니다. |
| `citationPills` | array | 인용 칩마다 그 뒤의 출처. 필드는 AI 개요와 같습니다. |
| `videos` | array | 답변에 나온 동영상. |
| `rawContent` | string | 렌더링된 페이지 HTML. `include.rawResponse`일 때만. |

상품, 칩, 동영상 필드는 답변에 나올 때만 실립니다.

예시:

```json theme={"theme":"css-variables"}
{
  "text": "For a small team, start with HubSpot CRM or Pipedrive ...",
  "markdown": "For a small team, start with **HubSpot CRM** or **Pipedrive** ...",
  "sources": [{ "position": 1, "url": "https://www.example.com/crm-guide", "label": "CRM guide for small teams" }]
}
```

Google이 페이지는 열었지만 새 세션 두 번에서 모두 답변을 돌려주지 않으면, 태스크는 기다리지 않고 `ENGINE_NO_RESULT`로 실패합니다.

## include 플래그

| 플래그 | 효과 |
| - | - |
| `rawResponse` | `rawContent`를 추가합니다. |
| `html` | Google이 보여 준 페이지인 `html`을 추가합니다. [HTML 페이지](/ko/engines/html-pages.md)를 참고하세요. |
| `analysis` | `analysis`를 추가합니다. 1크레딧. [답변 분석](/ko/engines/answer-analysis.md)을 참고하세요. |
| `citationAnalysis` | 답변에 [Citation Analysis](/ko/research/citation-analysis.md)를 실행합니다. |

`markdown`은 플래그가 필요 없습니다. `searchQueries`, `ads`, `shopping`은 효과가 없습니다. [Markdown과 원본 응답](/ko/engines/response-options.md)을 참고하세요.

## 관련 문서

* [Google AI 모드 제품 페이지](https://querying.ai/ko/engines/google-ai-mode)
* [엔진 개요](/ko/engines/overview.md)


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