Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Naver AI Mode

Docs da API
https://api.sandbase.ai/v1/api/naver/ai-mode

Get Naver's AI-generated answer for a query with the answer text, cited sources and follow-up token for continuing the conversation.

Preço
$0.01USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 3 opcionais

Playground

Entrada
Parameter defines the query you want to search. You can use anything that you would use in a regular Naver AI Mode search.
Set parameter to `true` to make the conversation continuable. It defaults to `false`. When set to `true`, the API will return a `subsequent_request_token` in the response which can be used to continue the conversation with a follow-up question that includes the prior exchange as context (multi-turn).
Parameter defines the token used to continue a Naver AI Mode conversation. Pass this token to send a follow-up question that includes the prior exchange as context (multi-turn). The token is returned by the API from your previous request using our Naver AI Mode API. When using this token, include a new `query` for your follow-up prompt.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

Naver AI Mode

Get Naver's AI-generated answer for a query with the answer text, cited sources and follow-up token for continuing the conversation.

Request

curl -X POST "https://api.sandbase.ai/v1/api/naver/ai-mode" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "서울 맛집 추천"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
querystringYesParameter defines the query you want to search. You can use anything that you would use in a regular Naver AI Mode search.
continuablestringNoSet parameter to true to make the conversation continuable. It defaults to false. When set to true, the API will return a subsequent_request_token in the response which can be used to continue the conversation with a follow-up quest
subsequent_request_tokenstringNoParameter defines the token used to continue a Naver AI Mode conversation. Pass this token to send a follow-up question that includes the prior exchange as context (multi-turn). The token is returned by the API from your previous request us
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
Naver$0.01 por chamadaJSON
Naver$0.015 por chamadaJSON
NaverA partir de $0.032 por chamadaJSON
Naver$0.01 por chamadaJSON
Naver$0.01 por chamadaJSON

Perguntas

FAQ

Como eu uso a API Naver AI Mode?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/naver/ai-mode com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Naver AI Mode?

$0.01 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Naver AI Mode aceita?

Obrigatórios: query (string). Opcionais: continuable (string), subsequent_request_token (string) e json_restrictor (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Naver AI Mode retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).

Preciso de uma conta de desenvolvedor Naver ou de uma chave de API?

Não. Naver AI Mode funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Naver separadamente.