Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

DataForSEO Gemini LLM Response

Dokumentacja API
https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/gemini/llm_responses/live

Ask Gemini a prompt and get its answer with token usage, for AI visibility checks.

Cena
Od $0.001105USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 5 opcjonalnych

Playground

Wejście
The prompt to send.
Model name from the vendor's model list.
Optional cap on answer length; longer answers cost more.
Optional system instruction.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

DataForSEO Gemini LLM Response API

Ask Gemini a prompt and get its answer with token usage, for AI visibility checks.

Request fields follow the official DataForSEO /v3/ai_optimization/gemini/llm_responses/live task schema (one task per call). The response is DataForSEO's original JSON; results are in tasks[].result.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/gemini/llm_responses/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_prompt": "best running shoes 2026", "model_name": "gemini-2.5-flash", "max_output_tokens": 200}'

Parameters

The JSON body is forwarded to the upstream endpoint. Main fields:

NameDescription
user_promptThe prompt to send.
model_nameModel name from the vendor's model list.
max_output_tokensOptional cap on answer length; longer answers cost more.
system_messageOptional system instruction.
web_searchOptional: let the model search the web (where supported).

Reference

Pricing

Billed at the actual cost of each call, about $0.001105 for the request above. The cost grows with the number of rows, targets or tokens a call returns. Failed calls are not charged. Searches with no results are billed at their actual cost.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
DataForSEOOd $0.001105 za wywołanieJSON
DataForSEOOd $0.0102 za wywołanieJSON
DataForSEOOd $0.000724 za wywołanieJSON
DataForSEO$0.004 za wywołanieJSON
DataForSEOOd $0.00162 za wywołanieJSON
DataForSEO$0.004 za wywołanieJSON

Pytania

FAQ

Jak używać API DataForSEO Gemini LLM Response?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/dataforseo/v3/ai_optimization/gemini/llm_responses/live z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API DataForSEO Gemini LLM Response?

Od $0.001105 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API DataForSEO Gemini LLM Response?

Nie są wymagane żadne parametry. Opcjonalne: user_prompt (string), model_name (string), max_output_tokens (integer), system_message (string) i web_search (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API DataForSEO Gemini LLM Response?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego DataForSEO lub klucza API?

Nie. DataForSEO Gemini LLM Response działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API DataForSEO.